Plugin Author
berkux
(@berkux)
Hi,
add “debugmode=10 urlgettimeout=20” to the shortcode. This will show you some info and extends the timeout for the API-request.
It seems that the API needs more time…
Bernhard
PS: Feeld free to vote for my plugin
Thread Starter
pwicky
(@pwicky)
Hi,
error report in the html-code:
Something went wrong fetching URL with JSON-data: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes receivederror: get of json-data failed – plugin aborted: check url of json-feed<hr>neither object nor array? not implemented yet
<hr>problems with JSON-structure: check basenode-param<hr>
Plugin Author
berkux
(@berkux)
Something went wrong fetching URL with JSON-data: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes receivederror: get of json-data failed – plugin aborted: check url of json-feed<hr>neither object nor array? not implemented yet
So add debugmode=10 urlgettimeout=20 to the Shortcode to increase the timeout and get some more info about whats happening
Thread Starter
pwicky
(@pwicky)
I added debugmode, but it doesn’t show all results:
http://sgsw.de/test/
Maybe the JSON isn’t correct?
Plugin Author
berkux
(@berkux)
this gives me all itemas:
[jsoncontentimporter debugmode=10 urlgettimeout=20 url=https://h4a.it4sport.de/spo/spo-proxy_public.php?cmd=data&lvTypeNext=team&lvIDNext=397978 basenode=dataList]
{subloop-array:dataList:-1}
<tr style=”border-bottom: 1px solid #999999;”>
<td>{gDate}<br>
<small>{gTime} Uhr</small></td>
<td>{gHomeTeam}</td>
<td>-</td>
<td>{gGuestTeam}</td>
<td><b>{gHomeGoals:ifNotEmptyAdd::}{gGuestGoals} </b>
<small>{gHomeGoals_1:ifNotEmptyAdd::}{gGuestGoals_1} {gComment}</small></td>
<td>{gGymnasiumName}<br>
<small>{gGymnasiumStreet:ifNotEmptyAdd:,} {gGymnasiumPostal} {gGymnasiumTown}</small></td>
</tr>
{/subloop-array:dataList}
[/jsoncontentimporter]
Bernhard