Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Podcasting...Creating XML files. 1

Status
Not open for further replies.

dle46163

IS-IT--Management
Jul 9, 2004
81
US
I'm generating XML files with a PHP script. The actual issue is with the XML file itself. When I read the XML file with a program like Ipodder, the content specified in the XML is downloaded with no problem. However, every Podcast receiver I try seems to ignore my date and time stamp. * I think * if the date and time stamp are updated then the Podcast reciever should re-download the content. That's not happening because the Ipodder already finds the file name in the cache. Here is my code. Am I doing something wrong in or not understanding something about Podcast receivers?

<?xml version="1.0" ?>
- <rss version="2.0">
- <channel>
<title> <link> <description>Test Corporate Content Feed</description>
<language>en-us</language>
<copyright>2005</copyright>
<lastBuildDate>Tue, 13 Dec 2005 01:54:37 Central Standard Time</lastBuildDate>
<webMaster>info@test.com</webMaster>
<ttl>1</ttl>
- <item>
<title>test.mp3</title>
<description>test.mp3</description>
<pubDate>Tue, 13 Dec 2005 01:54:37 Central Standard Time</pubDate>
<enclosure url=" length="" type="MP3 Content" />
</item>
</channel>
</rss>
 
Yes you are making a mistake with the time code information.

The rules for the time code are very strict. Any mistakes and it will mess up the Aggregators out there.

From my Tutorial on RSS feeds for podcasts.




<lastBuildDate>Wed, 30 Nov 2005 10:00:00 -0500</lastBuildDate>
<pubDate>Wed, 30 Nov 2005 10:00:00 -0500</pubDate>

we would suggest you just put in the date and time of the last change to your podcasts. The "-0500" is the time referenced to GMT time. We are on East Cost time (PA) so for us it is now a 5 hour difference, That will change in the spring when we "spring forward" one hour. Below is some information for the proper format for Day and Month.

day = "Mon" / "Tue" / "Wed" / "Thu" / "Fri" / "Sat" / "Sun"

month = "Jan" / "Feb" / "Mar" / "Apr"
/ "May" / "Jun" / "Jul" / "Aug"
/ "Sep" / "Oct" / "Nov" / "Dec"

For more information on proper formating of Date and Time specs visit -


see Section 5.



"Listen Different"

Rob @ podCast411

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top