File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

two questions about RSS

 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic