mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/selfhosting-blogposts.git
synced 2025-05-17 04:36:58 +00:00
54 lines
2.5 KiB
Markdown
54 lines
2.5 KiB
Markdown
# rss Setup
|
|
|
|
## **Initial Setup**
|
|
|
|
Let's use this RSS feed generator written in bash: https://github.com/maxhebditch/rss-roller/blob/master/rss-roller
|
|
|
|
|
|
|
|
[ Datura ] [ /dev/pts/11 ] [/srv/blog/rss]
|
|
→ rm -rf /root/.rss-roller.rc
|
|
|
|
[ Datura ] [ /dev/pts/11 ] [/srv/blog/rss]
|
|
→ ./rss-roller.sh
|
|
feed does not exit already, going to make from scratch
|
|
|
|
CONFIGURATION
|
|
=============
|
|
|
|
What is your website called?: (e.g Google) "nowhere.moe Blog"
|
|
What is the link to the website?: (e.g http://google.com) https://blog.nowhere.moe
|
|
Give a brief description of your website: (e.g A search engine) Nihilist`s Technical Blog
|
|
Give the URL to where the rss feed will live: (e.g http://google.com/rssfeed.xml) https://blog.nowhere.moe/rss/feed.xml
|
|
What will be the feed file live on the disk?: (e.g /home/dog/www/rssfeed.xml has to match above) /srv/blog/rss/feed.xml
|
|
Where is the file path for the posts? (leave blank if you are not using auto mode):
|
|
please run rss-roller again with the --auto or --manual flags
|
|
|
|
[ Datura ] [ /dev/pts/11 ] [/srv/blog/rss]
|
|
→ ./rss-roller.sh --manual
|
|
|
|
NEW POST
|
|
=======
|
|
|
|
What is the title of the new update?: Decentralized Finances
|
|
What is the link of the new update?: https://blog.nowhere.moe/servers/finances/index.md
|
|
Provide a description of the new update: Centralised currencies, Decentralised Currencies, and Centralised Exchanges, privacy cryptos and decentralised exchanges
|
|
Provide a unique identifier for the update: 1
|
|
adding the header
|
|
adding the footer
|
|
|
|
[ Datura ] [ /dev/pts/11 ] [/srv/blog/rss]
|
|
→ cat feed.xml
|
|
<****?xml version='1.0' encoding='UTF-8' ?> <****rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom'> <****!-- Made using rss-roller https://github.com/maxhebditch/rss-roller --> <****channel> <****title>nowhere.moe Blog
|
|
<****link>https://blog.nowhere.moe
|
|
<****description>Nihilist`s Technical Blog
|
|
<****atom:link href='https://blog.nowhere.moe/rss/feed.xml' rel='self' type='application/rss+xml' /> <****item> <****title>Decentralized Finances
|
|
<****link>https://blog.nowhere.moe/servers/finances/index.md
|
|
<****guid isPermaLink='false'>1
|
|
<****description>Centralised currencies, Decentralised Currencies, and Centralised Exchanges, privacy cryptos and decentralised exchanges
|
|
<****/item> <****/channel> <****/rss>
|
|
|
|
and then just access it on your website like this:
|
|
|
|

|
|
|