| Version 3.3.6 (Mar 20 2017): Degbug per page, Bugfixes|
Version 3.3.5 (Mar 3 2017): Curl, HTTP-Header, JSON, Cache
- New Shortcode-Parameter:
Prior to version 3.3.6 there was either debug=on or off for the whole page. Now you can set the debugmode at every shortcode by "debugmode=NUMBER". NUMBER=2 shows some debug infos, NUMBER=10 all available debug infos.
When using method=curlget with Pluginoption "Accept-Header" a fatal error resulted. And: Under some circumstances not set parameters caused Wordpress-Notice-Errors.
- Connect API via curl:
This Plugin tries to get JSON-data from an URL / API. The default for doing this is GET or POST done by the functions Wordpress provides. Or by the basic PHP-functions. With this a 5th way comes into the game: curl. With curl you can do several authentication-ways for APIs and much more.
- Try to heal JSON:
Some APIs / URLs deliver invalid JSON (invalid in the sense PHP-libraries can't handle it). This is due to invalid Characters before or after the first square or curled brackets. When setting "trytohealjson=yes" inside [jsoncontentimporter] those Characters are emoved from the JSON before used in the Plugin.
- Caching via Shortcode:
Before Version 3.3.5 all Cache-Settings were in the Plugin-Options and valid for all URLs. Now you can add "cachetime=120" in the [jsoncontentimporter] to set the cachetime for this Shortcode to 120 seconds - regardless of the settings in the plugin-option, even when caching is switched of there.
- [jsoncontentimporterpro] inside a [jsoncontentimporterpro]
Before Version 3.3.5 it was prohibited to use [jsoncontentimporterpro] inside a [jsoncontentimporterpro] to avoid infinite loops right from the start. As some users need this, this is now possible.
more on updates