BobSammers wrote: > So it's working again, which is very good news! It is just a short reprieve.
> When I spoke about the JSON feeds a few posts back, it looked like > everything had been switched off, those included. Now it looks like the > May 2017 date might actually be accurate, hopefully the JSON > continuation will also pan out for the feeds that Extra relies on. Am I > right in thinking that an "ExtraJSONParser.pm" and a change to the URL > extensions in "default.opml" is what is needed to take advantage of this > possibility (and presumably a tweak somewhere to call the JSON parser > rather than the XML one)? I'm assuming(!) that a clone of > "ExtraXMLParser.pm" but with the XML parser replaced with a suitably > wired JSON one from CPAN will be relatively straightforward. If only. If you look at the default.opml file - you'll see that each feed has its own parser - each of the 5 parsers would need to be updated. JSON also has some quirks compared to XML so it is never just a quick change of library call from "XMLin" to "from_json" as there are different ways of handling data structures (arrays vs list), missing items and defaults values. If JSON feeds are only going to work for a short time - is it worth the effort ? It would be better to spend time on a more durable solution. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=72709 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
