Add RSS feed to blog
Not sure if this is the right place, but it would be great to have an RSS feed or similar for the Fable blog.
The blog is published from fable-compiler.github.io so probably it should be done there. Anyways, I have no idea about how to make the RSS feed so this feature should come through a PR (in a way that updates are done automatically) :)
Ok, I don't know either, so I'll leave this for someone else. :)
By the way, I think you can move issues between repos now. Should be a "Transfer issue (beta)" link at the bottom of the right sidebar. So you can move it to the correct repo if you want.
I cloned the repo to look at this the other day, but didn't make any progress... now I'm not the only one needing this I might take another look tonight
That'd be awesome @xdaDaveShaw. I do need to automatize a bit more the blogs (e.g. the index is still updated manually) so let me know if you need something and I can add it to the build script: https://github.com/fable-compiler/fable-compiler.github.io/blob/a048a88765e776dba10918083b9bc4a7223b3095/src/Main.fs#L102-L124
Thanks, I'm starting from there...
It still needs a bit of work, I need to refactor the code a little, and I can't get the dates in the right format. I might do another PR to update the latest version to see if there's help there.
Current WIP is here: https://github.com/xdaDaveShaw/fable-compiler.github.io/tree/feed
I was trying to do it in a way to not alter your workflow of publishing posts.
Once I get it finished a send a PR, and we can iterate on the workflow
It looks like I need to add RFC-1123 formatting (DateTime.ToString("r")) to Fable to get this to work - I'm sure there's a workaround, but it eludes me at the moment - How do I call date.toUtcString on an object?
I'll create a PR for the Fable changes to get this added, and then I'll have to update this Repo to Fable 2.2.* as part of this work (or would a separate PR be better?)
OK, I'm really struggling with Dates...
JavaScript has .toUTCString but that converts from your current local to UTC, so calling that on my +0100 machine, means I get a date for yesterday.
I think we might need to change the workflow to enable an RSS Feed.
Maybe using a format like Jekyll does at the top of the posts with the date it was published in UTC Format, instead of/as well as typing it into the Index.md
Or a real poor mans version is just to manually update a feed.xml file :)