Closed wezm closed 4 years ago
That's a good idea and luckily this is not hard to implement.
Just in case someone else want to tackle this before I'd do it:
BlogApi.createRssFeed
, which utilizes the BlogApi.getAllPosts
for retrieving the data
/pages/rss.re
or (whatever name is the most common)text/xml
, i'd assume there is a way to do thatFor the maximum size of the feed, I'd suggest the last 10 blog posts (ordered by ascending date), like it is done in the pages/blog.re
file.
@wezm just added RSS support. Could you test it with your preferred RSS feed reader and give feedback?
Excellent, thank you. I was able to subscribe in Reeder and it worked although there is no article body present.
the article body is the description meta field within our blog system... articles ported from the different Reason projects don't have that set, unless the editor did some extra writing ... that said, some articles should have a description set.
If you could give me an example of a good looking RSS preview from another RSS feed, I could try to extract some content text from the blog content body if there is no description available!
If you could give me an example of a good looking RSS preview from another RSS feed, I could try to extract some content text from the blog content body if there is no description available!
The best feeds include the whole body of the post in the feed so it's possible to read in the comfort of the feed reader. Failing that some feeds just take an excerpt from the content and you have to visit the page to read the whole post.
On Read Rust, where I share posts related to the Rust programming language I just include an except, since I don't want to copy the original article's content:
John Gruber's Daring Fireball is an example that include the entire post on the feed:
The feed reader pictured is the web version of Feedbin.
Closing as this is now working for me.
It would be great to have an RSS feed for the blog so folks (like me) can discover new posts automatically and read in the comfort of their feed reader if they desire.