2013-05-18, 10:37:32
Look at our source code, its on github linked from download page.
We use simplexml, with extended cdata support.
Look at changedata.php for how we save page files.
Or settings for saving website.xml
We use simplexml, with extended cdata support.
Look at changedata.php for how we save page files.
Or settings for saving website.xml
PHP Code:
$getdata = getXml(GSDATAOTHERPATH. $file . '.xml');
echo $getdata->node;
$xml = new SimpleXMLExtended('<?xml version="1.0" encoding="UTF-8"?><item></item>');
$node = $xml->addChild('node');
$node->addCData("blahblah");
XMLsave($xml, GSDATAOTHERPATH.$file.'.xml');