Internal.XML feeds

From ISoft Wiki
Revision as of 16:12, 28 September 2021 by Ajohnson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Adding a new XML feed or altering an existing feed

Adding a new XML feed requires the company to have their own php export script in the scripts directory off the main heavytruckparts.net directory.

As each of the yards have different needs for the title, links, description, and other data in the XML file, it is best for each productcode to have their own php file.

I will create a template version of the file with CHANGEME marked areas after I return.

After creating the initial file, notify Brian so he can add the script to the cronjob. Currently we are exporting the files once a week, on Sundays.

The XML files are output to the format www.heavytruckpars.net/xml/[companyname]_GMC_feed_rss.xml