Sonettic Cinema

 
 

Java MRSS playlist generator

Class Build is intended for the generation of Sonettic playlist MRSS feed, that is further used for the playlist formation. Technically the format is a broadening of Yahoo! MRSS (more details can be found on the format description page).

More about Custom MRSS for Sonettic Cinema HD Player.

There are two ways of creating an input data — with generating of an object hierarchy or with listing of separate elemets, which are the nodes of a source document. Let's examine both of them.

For the first variant it is necessary to create an object of MRSSChannel class, where all other data will be located. We are receiving String with ready information applying a method of make MRSSFromChannel of the Build class after a final formation.

You may download all of the source files and examples from our site:

Also you may read Sonettic MRSS Builder JavaDoc

Requirements: Sonettic MRSS feed generator required dom4j library. It can be find on the www.dom4j.org.

For example:

As a result we are getting a XML document with one media item wich have :

 

 

In second way data is formed from the List, where required document nodеs are one by one.

An empty element named as "/" is necessary to be created in the List <MRSSElement> to move to the higher level. You should not use the procedure noted heretofore if putting data within hierarchal order

  
  1.  
  
  
  • Resent Searches
  •  
  •  
  • Clear searches history