Aug 5th, 2011, 9:13 AM
Hi Ben - the script you've provided me with is working brilliantly - many, many thanks. It's spitting the page out as expected.
The only problem at the moment is that I seem to be getting a somewhat malformed XML page out of the template. The very top of what's returned, along with the first submission, looks like this:
I've tried experimenting with the smarty template, but with no XML doctype appearing at the top of the source code I presume something isn't being pulled in correctly?
If you'd like to look at the live feed, I'll PM you the output itself.
You've already done too much to help me with this but if you've time to look then I'd certainly appreciate it.
Off to donate $25 to the cause now
The only problem at the moment is that I seem to be getting a somewhat malformed XML page out of the template. The very top of what's returned, along with the first submission, looks like this:
Code:
<export>
<export_datetime>2011-08-05.18-06-51</export_datetime>
<export_unixtime>1312564011</export_unixtime>
<form_info>
<form_id>1</form_id>
<form_name><![CDATA[Contact Form]]></form_name>
<form_url>http://www.blah.co.uk/contact.php</form_url>
</form_info>
<view_info>
<view_id>1</view_id>
<view_name><![CDATA[All submissions]]></view_name>
</view_info>
<submissions>
<submission>
<submission_id><![CDATA[18]]></submission_id>
<col_1><![CDATA[Blah Houghton]]></col_1>
<col_2><![CDATA[blah@gmail.com]]></col_2>
<col_3><![CDATA[07970268436]]></col_3>
<col_4><![CDATA[Hello, blah blah blah]]></col_4>
<col_5><![CDATA[Submit]]></col_5>
<submission_date><![CDATA[]]></submission_date>
<last_modified_date><![CDATA[]]></last_modified_date>
<ip_address><![CDATA[18.109.21.148]]></ip_address>
</submission>
I've tried experimenting with the smarty template, but with no XML doctype appearing at the top of the source code I presume something isn't being pulled in correctly?
If you'd like to look at the live feed, I'll PM you the output itself.
You've already done too much to help me with this but if you've time to look then I'd certainly appreciate it.
Off to donate $25 to the cause now
