Can anyone recommend a decent tutorial on manually coding RSS feeds? Trying to add one to my unfinished personal website. Should be easy right? An xml file and a few lines of code in the Index page. So why the hell won’t my feed reader import/display the content of the pages it’s listing? #askfedi #rss #webdev
@ClearMask i don’t think that is a thing feed readers typically do.
you might have read a tutorial that advised you to just link to the blog posts. and that’s how rss started. but most people find that irritating and make feeds that contain the entire content of the posts
@zens Oh... Interesting! Ha. So what I’m used to seeing in my feed reader is encoded in the xml rather than pulled from the url in the link field?.. Hmm... Guess I was doing it right after all then! Thanks.
@ClearMask there are *some* feed readers that will go ahead and pull in the web page, but only after you’ve clicked the link or configured it to , i guess, detect when it’s just a link and automatically assume you’re gonna click it
@ClearMask but the tension there is, then you’re looking at an ordinary web page complete with whatever distracting attention getting bullshit the author has put into their template.
some people who publish RSS feeds have (or had, when i was into RSS) an attitude that they need you to look at their ad bullshit so they can make money off their website, so would only put exerpts in the rss feed.
which, IMO defeats the appeal of RSS: stripping away all the BS and just reading
@zens Agreed. And notifications of course. But yeah. Just need to get back into writing again now so all of this isn’t for nought!
@ClearMask Personally I prefer the "Atom Syndication Format" <https://en.wikipedia.org/wiki/Atom_(Web_standard)#Example_of_an_Atom_1.0_feed>
A Tutorial <https://validator.w3.org/feed/docs/atom.html>
And <https://validator.w3.org/feed/#validate_by_input> could helps you to have well formed syndication feed.
@ClearMask I generate my feed from this template: https://git.larlet.fr/davidbgk/larlet-fr-david/src/branch/master/david/templates/feed.xml
And the Python code to fill it up: https://git.larlet.fr/davidbgk/larlet-fr-david/src/branch/master/site.py#L258-L266
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.