A base class for JSON feeds...It's set to system == TRUE so it won't show up in the e-parser wizard but it really could work in many cases on its own (without an extending class). You might want to change it to system == FALSE.
One thing this class does that other eparser plugin types don't is that it loops through all fields and sets them even if they aren't part of a specification like "title" and "description" fields are in RSS.
It tries to autodetect guid elements and the itemlist with a list of possible names. I'm not sure what you think about this. It probably could be added to the XML plugin type too if you like it.
Theres a patch and a plugin file attached because I don't have cvs fakeadd installed.
| Comment | File | Size | Author |
|---|---|---|---|
| FeedapiEparserTypeJSON.inc_.txt | 2.8 KB | andrewlevine | |
| eparser_json.patch | 953 bytes | andrewlevine |
Comments
Comment #1
neclimdullooks very cool. looking forward to taking a closer look and adding it.
Comment #2
neclimdulcommitted.