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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RSS Tag Syntax / Validation

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
Hi,

I've created an RSS feed and was having problems with my XML::RSS PERL module.

to have a referenced link (in this case an MP3) i used <enclosure src="blah blah" />

only the XML::RSS module doesn't see this tag so I can't get to the data.

I did a bit of googling and found an article saying replace <enclosure /> with <enclosure>url to mp3 goes here</enclosure>

this seemed to solve my problem I can now get the data between the <enclosure> tag in my PERL script and it displays fine in AWASU rss reader.

only now the RSS feed won't validate saying
Unexpected Text
with the pointer at the text between the <enclosure> tag.

can someone help as to what the correct tag is and how to use it and validate it.

thanks
1DMF


"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
I am using (so i thought) RSS v2.0, and yes it is dynamically created.

the url is
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top