zip wrote:Serviio ships with Rome RSS parsing library, so you have that to your disposal. Although if that changed in future your plugin would stop working.

The idea is to join multiple feeds by calling builtInRssPlugin.extractItems() from the plugin for several URLs, and then joining results into one WebResourceContainer and passing back to Serviio.Without writing any code. But it seems that that Rome library would work with just a few lines of code.

And btw., is there any HTML escape/unescape libs included with Serviio? Like org.apache.commons.lang.StringEscapeUtils.

Most of them are returning getClass().getName(). And I can live without a few that aren't. So how would I get these?

And what about the default Serviio's RSS plugin? The one that is called when there are no plugins?Like in the example above. I try to match the extractUrl() by probing against classes extractorMatches(), and if there is one, I pass the URL to that plugin. So how do I pass the URL to the default RSS plugin, when there are no matches.

For example in a feed I have mixed entries, form Youtube, and I forward these to the Youtube plugin, and "normal" ones, that are supported by the built in RSS parser. How would I pass these "normal" entries to the built in parser? Where Serviio passes these when no matching plugin is found?

And I get that it's not possible for the built in plugin to get the link to the media file from the link that is passed to extractUrl(), cause the link to the media file is in the other XML tag. So how would I signal the built in plugin to handle that entry? That shouldn't be too involved, just getting the caller class methods and signaling to handle that entry by itself. So how?

Or at least how would I get the XML or the current item part of the XML or the link to the XML while inside the extractUrl() call?

mqojdn wrote:For example in a feed I have mixed entries, form Youtube, and I forward these to the Youtube plugin, and "normal" ones, that are supported by the built in RSS parser. How would I pass these "normal" entries to the built in parser? Where Serviio passes these when no matching plugin is found?

imho,

RSS plug-in : url is pre-loaded and parsed for items collection by serviio. plug-ih has to return media items from the collection.

Webresource plug-in : url should be loaded and parsed for items collection by plug-in and then it has to return media items from this collection.

miksa wrote:RSS plug-in : url is pre-loaded and parsed for items collection by serviio. plug-ih has to return media items from the collection. Webresource plug-in : url should be loaded and parsed for items collection by plug-in and then it has to return media items from this collection.

And that is exactly what I don't like. I'd prefer to have per item selection instead of per feed.

Either way, got bored waiting for help, and wrote the parser instead. Everything is working nicely, and mixed streams work just fine.

The problems:- May I get that plugin list at last?),- Do not see much use of any other plugins besides YouTube,- Most plugins are written as Web Resources,- Currently it's linked to the Yahoo Pipes URL, but it would work just fine with any RSS you'd throw at it. But if I'll set the URL filter to any then there would be no control of when it should load...