Wednesday 30 May 2007 7:06:00 am
Hi, Just writing to share some notes on a method I've successfully used for XML output of EZ content. Perhaps I've missed something, but while RSS export is easy enough, getting other data out seems difficult. The method I've used is to avoid EZ entirely. I had to create specifically-formatted XML files based on up-to-date EZ content.
So, very briefly, what I've done is:
1) Create a basic PHP script to access the EZ database for my site;
2) Using debug mode, I selected "SQL Debug Output" (admin interface quick settings). This shows the queries for drawing out EZ nodes and content.
3) Analyse the sql debug output and adapt it to collect the data needed and produce an XML file as output. 4) (I've created a cronjob so that this php script runs automatically). Yeah, okay, there's a fair amount of work in step 3, but I got what I needed in under a day. The fact that EZ shows the queries it's using is a great help. Anyway, for anyone stuck getting XML output, I hope this helps. - Paul
|