What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » help with simple RSS feed

help with simple RSS feed
Author: Message:
MC Inferno
Veteran Member
*****

Avatar
www.mcinferno.co.uk

Posts: 1252
Reputation: 17
35 / Male / Flag
Joined: Jan 2004
O.P. help with simple RSS feed
im setting up a RSS feed for a podcast, its my first time, so its not spot on though.

Right my RSS text file is in the ftp folder public_html on my website www.merseystreetzart.co.uk) and the show is called 15th jan.mp3 and is also in the public_html folder.

the validator keeps tellin me ive fucked up the dates, and i cant seem to get em spot on. im not arsed wether its right date or not, i jus ant it so i can upload my new show each week, and it'll automatically do it (i think if i rename the new mp3 file as 15th jan i'll be sound) anyways, can somebody sort the date's out for me, and also chek to see if the links are right please?

quote:
<?xml version="1.0"?>
<rss version="2.0">
<channel>


<title>Street Soundz - MSA Radio</title>
<link>http://www.merseystreetzart.co.uk/msaradio.rss.txt</link>
<description>Liverpool Hip Hop</description>
<language>en-us</language>
<copyright>2006</copyright>
<lastBuildDate>Sat, Jan 18 2006 18:00:00 -0500</lastBuildDate>
<webMaster>i_cant_spell_phuck@hotmail.co.uk</webMaster>
<ttl>1</ttl>
<item>


<title>This Week On Street Soundz</title>
<description>www.merseystreetart.co.uk Liverpool Hip Hop is set to explode on Street Soundz, hosted by MC Inferno</description>
<pubDate>Jan 18 2006 04:36:40 -0500</pubDate>

<enclosure url="http://www.merseystreetzart.co.uk/15th jan.mp3" length="39454093" type="audio/mpeg" />

</item>
</channel>

</rss>

thanx. and be quick, i wanna get this dun tonight, and ive been working for an hour and a half now haha lol
01-18-2006 03:28 AM
Profile PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: help with simple RSS feed
Sat, 18 Jan should work.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
01-18-2006 03:31 AM
Profile PM Web Find Quote Report
MC Inferno
Veteran Member
*****

Avatar
www.mcinferno.co.uk

Posts: 1252
Reputation: 17
35 / Male / Flag
Joined: Jan 2004
O.P. RE: help with simple RSS feed
still doesnt like it, says its not a RFC 822 date :S

(btw. are the links correct?)
01-18-2006 03:34 AM
Profile PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: help with simple RSS feed
<pubDate>Jan 18 2006 04:36:40 -0500</pubDate>

isnt a RFC 822 date.
to create one with php you could use 
strftime('%a, %d %b %Y %H:%M:%S -0500',time());

basicly to make your pubdate work you need to swap the date (18) to before the month
<pubDate>Wed, 18 Jan 2006 04:36:40 -0500</pubDate>

should work.

:P read the rfc next time
http://www.faqs.org/rfcs/rfc822.html

This post was edited on 01-18-2006 at 07:59 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
01-18-2006 07:57 AM
Profile PM Web Find Quote Report
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
RE: help with simple RSS feed
I'm not sure of the exact problem you are having, but I have a few suggestions.

First off, you should serve the feed as RSS, not text, always.

The URI of the show contains a space, this should be represented as %20, (eg http://www.merseystreetzart.co.uk/15th%20jan.mp3)

The date; doesn't exist. January 18 2006 isn't a Saturday, it's a wednesday.

Hopefully this will help.
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
01-18-2006 10:40 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On