| Home | Notes | Github |
|---|
Creating a RSS feed generator for the website is not super difficult to do. Needs some basic things, but you can steal a lot from a template.
Step one is to ensure your HTML is tight. Luckily I had a couple things working my way:
pandoc so was naturally clean.hxselect) provided some feedback.Main thing is to ensure all tags are shut. Single tag elements (pardon my wording) need a “/>”. For example: Use <br /> not just <br> even though the browser reads it correctly.
date -R works on linux).grep doesn’t do non-greedy stuff. Just use another command1.hxselect can select without the tags, and you can put a custom seperators (i.e. a line break) in.date add the -u so the whole feed doesn’t chance when you switch between summer time and normal.My generator runs off the index.md file of the website so I can easily control dates and
See this article on jazzin’ up your feed. I’ve not bothered (as you can see), but you might want to.
Add a line (as per this spec) to the header of your html for autodescovery.
Its not going to be run often enough / impact the runtime enough to matter.↩︎