Jump to content

post news with xml?


Steven

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...