XF Page + php

Morgain

Well-known member
I want to put a feed into an XF Page from a site where I hold a bibliography of listings.
But I don't understand how to enter their php snippet under the PHP tab on the XF Page.

The PHP snippet I should enter is:

PHP:
<?php $URL= ‘https://api.zotero.org/groups/mabinogistudy/items?format=bib&style=apa’?>
<?php $var= file_get_contents($URL)?>
<?php echo $var ?>

The URL for my bibliography source is
https://www.zotero.org/groups/mabinogistudy/items/

However I was unable to Copy the php snippet from the instruction as it was an image file.
Here it is.phpzotero.webp
 
Top Bottom