Click here to get back home

using xmlreader and xmlwriter to modify and rewrite a feed?

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
using xmlreader and xmlwriter to modify and rewrite a feed? jrd 06-20-2008
Get Chitika Premium
Posted by jrd on June 20, 2008, 2:31 pm
Please log in for more thread options
Hello,

I am very new to PHP. What I need to do is read an XML file (RSS feed)
into memory, iterate through the file changing one particular value
for each entry, and write a new XML file with a different name.

I have a pretty good understanding of how to use xmlreader to read the
XML file and get at the values for each item in the feed. What I'm
wondering is, can I use xmlwriter simultaneously with xmlreader to
modify one of the values (if it's the value that needs modifying), and
rewrite the XML file? It seems as if that would be possible, but I
wonder if there are any examples out there that might help me wrap my
head around it.

TIA,

jen


Similar ThreadsPosted
rewrite the url August 24, 2004, 9:04 pm
Mod Rewrite September 18, 2005, 3:15 pm
mod rewrite May 2, 2007, 11:15 pm
rewrite asp code to php October 11, 2004, 11:16 am
URL rewrite + htaccess May 10, 2005, 1:52 pm
Mod Rewrite and subdomains November 20, 2005, 1:56 pm
Apache Mod Rewrite October 2, 2007, 11:03 am
rule to rewrite October 11, 2007, 9:02 am
Wanted: PHP developer, xml, mod rewrite July 22, 2005, 3:51 pm
Htaccess question w/ mod rewrite February 8, 2006, 7:38 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap