Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Json feed might solve some of your problems.

Reference: https://www.jsonfeed.org/

 help



Does it have any advantages over Atom, other than being for people who don’t like XML and like JSON for this use case?

None whatsoever. The reader will either transform it to RSS or to a different intermediate representation and then render the html of the items -> there are the same limitations on how the text will be rendered, on what styling can be provided.

Wait JSON has some advantages in being able to list its own querystring parameters that can be used to modify its contents, right?

At the bottom of one of my pages I have "atom feed: small pics | large pics" - 2 links to two separate feeds. I'd also embed video in both feeds but not sure what the best markup would be for compatibility to all readers, so I leave it out hoping they'll click through. Not a good solution.

Querystring parameters would allow users to find out what works for them. Even a "feed signature" would be a good solution - paste your reader's code into the site, answer some questions, and get the perfect feed url for your reader according to your taste. I actually don't need headlines/titles either. It ends up clutter, with the same time better spent actually looking at the underlying post.


Querystring parameters: I don't think that's part of the spec. If it were, you could bet on Readers ignoring it. That you can serve different feeds for different parameters at the same endpoint, sure, but you could do the same with RSS/Atom :)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: