New filetypes
Malcolm Hussain-Gambles (1596) 811 posts |
I’m developing an application for RISC OS for offline RSS reading (as a start) and I was wondering what to do when I save the file. |
Martin Avison (27) 1494 posts |
See allocate |
Rick Murray (539) 13851 posts |
You too huh? ;-) Still, I’ve not worked on my RSS reader in a month of Sundays. I don’t use RSS so much any more, given Android has no default simple client (my Moto phone did and it was dead useful for updates on the stuff you actually look at!). Strange omission, but nevermind… As Martin says, you’ll want to use !Allocate to define what your application is called, path variables, filetypes, etc. When you get a filetype allocated, please let me know so I can use it too. No point claiming another for the same thing! Will you be supporting straight RSS or RSS and Atom ? RSS is described at http://cyber.law.harvard.edu/rss/rss.html and Atom at http://www.ietf.org/rfc/rfc4287 – they are both basically XML files with variations on how things are implemented. It shouldn’t be too problematic to design your parser to sniff which is which for knowing how to interpret the contents of the XML fields. |
Malcolm Hussain-Gambles (1596) 811 posts |
Martin: Thanks! |
Robert Hampton (1923) 57 posts |
There is already a RISC OS filetype for XML (&F80). I think previous RSS readers, such as Justin Fletcher’s effort circa 2003 (sadly no longer available), have used that. |
Chris Gransden (337) 1207 posts |
For anyone that is interested in doing some testing. I’ve made some changes to the !Sargasso RSS feed reader. It now works on armv7 hardware and runs a bit faster too. I’ve fixed a few bugs and probably added a few too. It can be downloaded from here. |
Malcolm Hussain-Gambles (1596) 811 posts |
Hi Chris, great to get RSS working again, excellent work! Seems totally stable for me (Pandaboard ES), have you thought about submitting it to !Store or !Packman? |
Chris Gransden (337) 1207 posts |
Thanks. I use the GCCSDK autobuilder to build most things which generates packages automatically. Most get uploaded to riscos.info so will ultimately appear in !PackMan. |
Rick Murray (539) 13851 posts |
XML is not RSS. One could argue that later versions of HTML are practically XML (at least, when written correctly) which is something that likely formed from the XHTML spec – which is why we nowadays write stuff like So if there’s a vote for an RSS file being something other than XML, put my name to that. XML is too generic, it’s like “picture” (instead of JPEG, BMP, Sprite…). |