This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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 ]
 
 
subject: two questions about RSS