Hi, im writing a script that will accept content from a web form and add it to an xml file. This will make up an RSS feed so I need to be able to add articles to a certain positiion in the document based on tags. In RSS each article is enclosed within <item> tags and the items are preceeded by some header information. Using php, how can i search (for tags) for the correct location in the file where I can add the new content?
I know this is possible using XML DOM and functions like appendChild but I am not sure how this would be done in PHP.
Thanks
I know this is possible using XML DOM and functions like appendChild but I am not sure how this would be done in PHP.
Thanks