Re: [Jajuk-dev] Webradios - how is the xml file read?
Your Advanced jukebox
Brought to you by:
bflorat
From: Sylvain G. <sy...@at...> - 2008-05-12 17:28:42
|
Hi Bertrand Bertrand Florat schrieb: > Sylvain Gaudard wrote: >> Hi Bertrand >> >> Attached you will find a draft for reading aTunes radio list. If you >> are interested you will need to adapt download URL and file name (in >> my draft you must manually place the aTunes list and then rename it). >> I'm sorry it is very poorly formated and not sent as patch, but >> Eclipse is fooling around so I used a simple editor. Also, loggers in >> startElement are missing. > Thanks a lot Sylvain, > > We'll bring this code into Jajuk 1.7 Firestarter (follow > https://trac.jajuk.info/ticket/1120 ) and switch to aTunes format so > we can benefit from you list and of course, we'll add new radios > directly to your wiki if required. That would be great > > For online access (list download at first jajuk launch), I wonder if > we'll point directly to your xml file in SVN repository or to ours. > How do you convert the wiki to this file, by simple copy/paste ? how > often do you update the SVN file from the wiki ? do you validate it ? Yes, currently we use simple copy/paste. This allows to make a basic check and see if the stream works at all. We update SVN shortly after we see the Wiki was updated. Regards Sylvain > > - Bertrand > >> >> Regards >> >> Sylvain >> >> Bertrand Florat schrieb: >>> Sylvain Gaudard wrote: >>>> Hi Bertrand >>>> >>>> Thanks, I found this class, but where does it go from there? Is it >>>> the startElement method which is responsible for reading the xml >>>> file? I don't really understand how it works ... >>> >>> Yes, it is SAX-flavor parsing (very fast). Have a look at >>> http://java.developpez.com/faq/xml/?page=sax (for ie). >>> >>>> >>>> Regards >>>> >>>> Sylvain >>>> >>>> Bertrand Florat schrieb: >>>>> Sylvain Gaudard wrote: >>>>>> Hi all >>>>>> >>>>>> What part of the code is responsible for parsing the xml file? I >>>>>> had a look at the Jajuk source code, but I can't see how Jajuk >>>>>> decides how to interpret the file. >>>>>> >>>>> >>>>> Hi Sylvain, >>>>> >>>>> It is the >>>>> /src/main/java/org/jajuk/services/webradio/WebRadioManager.java >>>>> class. >>>>> >>>>> Cheers, >>>>> >>>>> Bertrand >>>>> >>>>> >>>>>> Regards >>>>>> >>>>>> Sylvain >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------- >>>>>> >>>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>>>>> Don't miss this year's exciting event. There's still time to save >>>>>> $100. Use priority code J8TL2D2. >>>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>>>>> >>>>>> _______________________________________________ >>>>>> Jajuk-developers mailing list >>>>>> Jaj...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/jajuk-developers >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Jajuk-developers mailing list >> Jaj...@li... >> https://lists.sourceforge.net/lists/listinfo/jajuk-developers > > |