开发者 |
fseonline
freemius |
---|---|
更新时间 | 2020年10月22日 08:51 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 4.9.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Settings -> WordPress Expert Agent XML Feed
menu to manage settings for fetching the XML feed.properties.xml
, as well as your FTP Username and Password.After you’ve specified your FTP server and login details which Expert Agent will have provided for you, you will have to click the button ‘Fetch XML File’. Afterwards, a successful notice should appear, and will mention if the file download is successful.
Unfortunately not yet, but we are working with Expert Agent to make sure that this plugin is kept robust.
These are the FTP details given to you by Expert Agent. You will need to create a Log Ticket through the Expert Agent Management system, informing them that you would like to ask for the XML feed FTP login details. You can also email them at support@expertagent.co.uk
Unfortunately this plugin does not provide extracting the data. It is up to you or your developer to extract the data, e.g. using PHP through simpleXML.
This is the proper place for a plugin to generate its files.
It is up to you or your developer to extract the data, e.g. using PHP through simpleXML. For example, let us get the ‘Property of the Week’: ` branches->branch->properties; $property = $properties->property; // Let's get the first 'propertyofweek' we can find... // Then break apart once we find it! for ($i=0; $i < sizeof($property); $i++) { if( $property[$i]->propertyofweek == 'Yes' ) { $propertyofweek_price_text = $property[$i]->price_text; $propertyofweek_advert_heading = $property[$i]->advert_heading; $propertyofweek_main_advert = $property[$i]->main_advert; $propertyofweek_web_link = $property[$i]->web_link; $propertyofweek_picture_filename = $property[$i]->pictures->picture->filename; break; } } ?> `
It’s your web server’s built-in scheduler, so that you can action code depending on the time. WordPress has wp-cron.php which integrates WordPress with your server’s cron system.
You don’t need to, as we have specified this for you as ftp.expertagent.co.uk
.