ginowp
Forum Replies Created
-
Forum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] Values with comms not showingthanks!
so that means that the PRO version can extract the number…Gino
Forum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] Values with comms not showingOk, i understand, problem is we recieve this JSON file and cannot edit it.
Could this be a solution?
– we can axtract the source_id, and that is always LIRIAS########
– the link we need is always https://lirias.kuleuven.be/########
– is there a way we can extract the ######## from the source_id (or elemintte LIRIAS) and add it to https://lirias.kuleuven.be/#########That would be a solution to have the correct link that we need….
**And another question: for formatting a date (20200430) we need the PROversion?
Thanks a lot for the service!
Forum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] ElementorThanks a lot! This works perfect!
‘newbie’ Gino
Forum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] ElementorCorrect, you can put a shortcode in elementor, and i put this into that shortcodeblock. You can also put shortcode in a TEXT-block, there you have a button ‘JSON Content importer’ –
But this is what it looks in both ways:
https://itec.kuleuven-kulak.be/?page_id=2721The shortcode:
[jsoncontentimporter url=https://services.libis.be/search?query=user:U0006844&institution=lirias numberofdisplayeditems=-1 basenode=data urlgettimeout=5 debugmode=10 ]-
{subloop:display:-1}
{subloop:links:-1}{display.creator} –
{display.creationdate} –
<b>{display.title}</b> –
{display.ispartof} –
{display.source_id}
<br>
<b>LINK</b>: {links.backlink}
<br>
{/subloop:links}
{/subloop:display}
<p>
[/jsoncontentimporter]Thanks for the support
Forum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] Values with comms not showingShure – and thanks for looking into this!
– This is the result-page: https://itec.kuleuven-kulak.be/?page_id=2707
As you see, the item LINK is shown (in 1, 3 & 4) and is not shown in the others because there is more than one link in the json ‘baclink’;This is what i put into the Gutenberg block:
API-URL: https://services.libis.be/search?query=user:U0006844&institution=lirias
basenode: data
template:-
{subloop:display:-1}
{subloop:links:-1}{display.creator} –
{display.creationdate} –
<b>{display.title}</b> –
{display.ispartof} –
{display.source_id}
<br>
<b>LINK</b>: {links.backlink}
<br>
{/subloop:links}
{/subloop:display}
<p>And this is the shortcode:
[jsoncontentimporter url=https://services.libis.be/search?query=user:U0006844&institution=lirias numberofdisplayeditems=-1 basenode=data urlgettimeout=5 debugmode=10 ]
-
{subloop:display:-1}
{subloop:links:-1}{display.creator} –
{display.creationdate} –
<b>{display.title}</b> –
{display.ispartof} –
{display.source_id}
<br>
<b>LINK</b>: {links.backlink}
<br>
{/subloop:links}
{/subloop:display}
<p>
[/jsoncontentimporter]
-
{subloop:display:-1}