-
Notifications
You must be signed in to change notification settings - Fork 4
RSS stands for really simple syndication, a way of letting others get updates from your site without having to actually visit the site itself. Epitomized by the now defunct Google Reader, it is still used by many people (especially scientists) to keep up with changes to a site.
Samatha
includes the ability to easily create both a general RSS feed for your site, as well as tag specific feeds that allow followers to receive updates on only a specific topic. Below we outline the steps necessary to generate RSS feeds for your site.
The main place to start is by adding an RSS section to your config.R
file in template -> config
At a minimum, you will need to set the rss.title
, rss.description
, and domain
:
rss.title <- "Title of your blog"
rss.description <- "description of your blog"
domain <- "url of your blog"
If you want to have a feed generated for a specific tag (see how to add tags to your posts), you will need to add:
rss.category.feeds <- c("tag1", "tag2")
When you run samatha
, make sure to set the rss
option to TRUE
to have RSS feeds generated.
Your main feed will be at urlOfSite/rss.xml
. Tag specific feeds will be at urlOfSite/tags/tag1.xml
, and urlOfSite/tags/tag2.xml
following the example above.
- If you don't understand something, please email me