wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes two questions about  RSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "two questions about  RSS" Watch "two questions about  RSS" New topic
Author

two questions about RSS

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
Now RSS is used in podcast which has audio "enclosure". like,

<enclosure url="voice.mp3" length="11111" type="audio/mpeg"/>

My question, may I extend the audio to video ? just like
<enclosure url="movie.avi" length="11111333" type="video/avi"/>

is this allowed ?

Another question, may I define my custom variable in "item" ? If I publish it, the other RSS reader will accept my custom item ?

Thanks.
Rajagopal Manohar
Ranch Hand

Joined: Nov 26, 2004
Posts: 183
Another question, may I define my custom variable in "item" ? If I publish it, the other RSS reader will accept my custom item ?


Most likely not! unless you write the reader yourself
I dont know if it would even qualify to be called RSS then.

But if the Reader does not perform validation then your RSS feed may be accepted. Looking into the src of an OS reader Informa I found that they dont perform validation. I suppose the custom variable will be ignored by it.
[ August 01, 2005: Message edited by: Rajagopal Manohar ]
 
jQuery in Action, 2nd edition
 
subject: two questions about RSS
 
Similar Threads
Soap without web services
Book -- A Media ??
whic tag is right
RSS / JSTL Problem
Need to understand how RSS reader works.