I tried to parse nature magazine’s feed using php and several different rss/atom reader yet I can’t find a proper way of reading them.
Their feed structure is bizzare to me its not RSS for sure but by the help of atom readers I couldn’t get any proper answer too.
Anyone knows what is their feed type and how to parse them?
According to the raw feed itself (http://feeds.nature.com/nphys/rss/current?format=xml) it’s RSS1 format, with a bunch of other tags thrown in via the xmlns: prefix which denominates a particular namespace for those tags (e.g. rdf, prism, feedburner, etc). So if you ignore all the declared namespaces (e.g. everything with a tag starting with
<something:something>or any attribute with a colon in its name, and just parse the tags as you would with RSS1 xml specification, you should be fine…