> 
> Anyone have any idea as to how to go about making a plugin for the NPR
> plugin for American Routes?
> 

Have you had any experience with Perl ?

You'll need to create at least two files.
1. opml file with Amercian Routes URL and a hook to a parser file.
2. Parser file which has a subroutine called "parse" and which parses
the American Routes HTML from the URL in opml file and then generates
SC Menus using an opml hash.  The generated opml has will either be
menus or playable items (i.e URLs to a playable item). You must make
sure that the parser does not spend too much time processing (i.e. each
parse routine should only parse one fetched html page at a time) as it
can affect SC performance.

As well as coding you will have to decide on the "best" menu layout.
With  archives this usually means - restricting the possibilities and
also possibly generating menus on the fly rather than having prebuilt. 


For ideas, you can look at the current NPRRadio opml and parsers files
or look at the Addons in AlienBBC which use the same organisation.


-- 
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=51002

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to