Question
RSS feeds
Hi all,
I'm trying to get create our podcast rss dynamically, and as such my code loops over a query to populate th <item> sectiosn fo the feed. If I output the 'theXml' variable on the page i created the code, the RSS feed is correct. However, when i write the file to a different location (newapod.xml) for some reason the </channel> and </rss> tags (last two lines of the file) vanish.
Can anyone suggest why this might be happening? Im Stuck!
Katie
I'm trying to get create our podcast rss dynamically, and as such my code loops over a query to populate th <item> sectiosn fo the feed. If I output the 'theXml' variable on the page i created the code, the RSS feed is correct. However, when i write the file to a different location (newapod.xml) for some reason the </channel> and </rss> tags (last two lines of the file) vanish.
Can anyone suggest why this might be happening? Im Stuck!
Katie