Show HN: Sitemap2Feed – Convert an online sitemap to Atom, RSS and JSON feeds
github.com
github.com
Here is the code. It's pretty impressive how simple it is. It uses a library to read in the sitemap and loop through each link, and map the content and output a feed entry.
Would this run on a server and fetch the sitemap? Or could this be implemented into an RSS reader?
Something like:
go run main.go -sitemap=https://example.com/sitemap.xml -output=~/some/folder
Also I'd print out the file paths of the newly created files as they get saved for better user feedback.Edit: OP is probably planning on adding that. Same time as updating the README. It's fairly simple how it is right now, to just edit the literals in the code and run it.