Steven Posted June 2, 2008 Share Posted June 2, 2008 It seems possible, but I don't know how one would go about doing this. Can you use xml to publish new content to a webpage? What I'm thinking, is having an xml document with tags such as <title>, <date>, <author>, <post>, etc., and have this xml parsed and published on say index.php, and have the news author simply add new lines for each new news item to the xml file. And eventually, if that is possible... would it then be possible to have a php page with forms made to submit new data to the xml file, updating said xml file, in turn updating the index.php page.Thoughts, help, or relavent tutorial links much appreciated! Link to comment Share on other sites More sharing options...
Ingolme Posted June 2, 2008 Share Posted June 2, 2008 You can do it, but you really should use databases instead.PHP databases tutorial: http://w3schools.com/php/php_mysql_intro.aspXML DOM tutorial: http://w3schools.com/dom/default.aspPHP XML DOM: http://w3schools.com/php/php_xml_dom.asp Link to comment Share on other sites More sharing options...
Synook Posted June 3, 2008 Share Posted June 3, 2008 If you are thinking of syndication you can have XML files dynamically generated by PHP scripts that take data from the database. Link to comment Share on other sites More sharing options...
Steven Posted June 3, 2008 Author Share Posted June 3, 2008 Okay, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.