The Update XML File
Please note that this article is work in progress and may change. The XML update feature is not live yet.
You can remotely keep your listing details up-to-date via a hosted XML file.
1. For each listing place an XML file on your own server with the following structure.
<?xml version="1.0" encoding="UTF-8"?> <jedupdate version="1"> <core_body> test </core_body> <!-- valid links only or leave blank --> <homepage_link>http://yourdomain.com</homepage_link> <download_link>http://yourdomain.com/downloads</download_link> <demo_link>http://demo.yourdomain.com</demo_link> <documentation_link>http://yourdomain.com/forums/index.php?wiki/index/</documentation_link> <support_link>http://yourdomain.com/forums/</support_link> <license_link>http://yourdomain.com</license_link> <version>3.1</version> <compatibility> <version>30</version> </compatibility> </jedupdate>
Here are the comments from the cron job script.
- The XML will be queried once a day by the JED (and when a listings edit page has been saved).
- It will update certain editable fields for the listing. The editable fields which can be
- updated via the XML are:
Support Forum URL
License Page on your Site
Price (2 fields)
The XML will only be checked and will only update the listing after the listing has been approved and published.
The updater will also need to check the fields for valid values before updating the listing information. If the values (including the descriptions) fail for some reason, the listing will not be updated. This will trigger an alert in the listing edit form that notifies the user that there is an issue with the XML file (and what the issue is).