User Tools

Site Tools


vdb:xml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
vdb:xml [2006/11/13 14:31]
andi old revision restored
vdb:xml [2007/05/08 23:54] (current)
84.9.197.251
Line 1: Line 1:
 +====== XML ======
  
 +[[VideoDB]] offers power data import/​export features using XML data files. Currently all XML features require PHP5.
 +To enable the XML import/ export feature, set the config variable to true (edit config.inc.php):​
 +<code php>
 +$config['​xml'​] = 1;
 +</​code>​
 +
 +===== XML Export =====
 +
 +
 +===== XML Import =====
 +Needs to be in the format:-
 +
 +<code xml>
 +<​item>​
 +<​id>​3</​id>​
 +<​title>​Shrek</​title>​
 +<​language>​Tamil</​language>​
 +<​imdbid>​0126029</​imdbid>​
 +<​year>​2001</​year>​
 +<​imgurl>​http://​ia.imdb.com/​media/​imdb/​01/​I/​52/​77m.jpg</​imgurl>​
 +</​item>​
 +</​code>​
 +
 +hmm I thought this worked but it just doesn'​t provide an error,still doesn'​t import anything. I'm running php 5 on fc4, any ideas?
 +
 +
 +
 +===== RSS Feed =====
 +
 +To enable the RSS news feed feature, set the config variable to true (edit config.inc.php):​
 +
 +<code php>
 +$config['​rss'​] = 1;
 +</​code>​
vdb/xml.txt ยท Last modified: 2007/05/08 23:54 by 84.9.197.251