PDA

View Full Version : Renaming RSS feeds in Slimserver



jonolumb
2005-09-02, 01:25
Hi there.
After deleting many of the RSS feeds I did not like in the slimserver plugins section, I proceded to add the google news feed (http://news.google.co.uk/nwshp?hl=en&tab=wn&q=&output=rss). However, there is no input available to give this a name (such as Google news). This means that it is called http://news.google.co.uk/nwshp?hl=en&tab=wn&q=&output=rss and thus when I go to the plugins section on my squeezebox it has (BBC News World Edition) on the first option but when I scroll down I see an ugly (http://news.google.co.uk/nwshp?hl=en&tab=wn&q=&output=rss). Is there any way I can modify the slimservers database (which file in that case?) so that I can name the google feed in a similar way to the BBC Feed.
Hope that wasn't too confusing
Thanks
Jono

jonolumb
2005-09-02, 01:50
AHA I've sorted it.
First turn off slimserver (just in case).
Then go to the slimserver.pref file in:
C:/Program Files/slimserver/server/slimserver.pref
Open it in notepad and search for the google address.

(http://news.google.co.uk/nwshp?hl=en&tab=wn&q=&output=rss)

The following entry turns up.

plugin_RssNews_feeds1 = http://news.google.co.uk/nwshp?hl=en&tab=wn&q=&output=rss

That is the web address field. Next you need to find the name field so click find next to get the next entry with the google address. This entry turns up.

plugin_RssNews_names1 = http://news.google.co.uk/nwshp?hl=en&tab=wn&q=&output=rss

Rename it to this

plugin_RssNews_names1 = Google News

The numbers of each entry should correspond (names1 is the name for feeds1 etc).
Finally close the prefs file, start slimserver and go to the plugins section on your squeezebox2. The plugins section should now contain the new renamed version.

I suggest that slim devices should change their web interface to include a name field for the RSS feed to avoid having to go to the prefs file.

Hope this is useful to someone (I guess most ppl already know how to do this sort of thing :) )
Cheers
Jono

Jimmerz
2005-09-02, 06:01
Don't see why you need to do all that - as far as I can tell the rr plugin automatically picks up the channel name from the <description/> tag in the feed.

Maybe you need to actually open the feed on your slimserver first for it to pick up the correct name..?

radish
2005-09-02, 07:34
Don't see why you need to do all that - as far as I can tell the rr plugin automatically picks up the channel name from the <description/> tag in the feed.

That's certainly how it's supposed to work...and does work for the feeds I use.

In fact I just added the URL given in this post and it picked up the title fine. Weird.

jonolumb
2005-09-02, 09:36
Hi there
Cheers for the suggestion-
I never actualy got round to opening the feed in the player.
I'm sure you guys are right.
How stupid of me
Jono

Philip Meyer
2005-09-06, 13:18
>Don't see why you need to do all that - as far as I can tell the rr
>plugin automatically picks up the channel name from the <description/>
>tag in the feed.
>
I think it would be really nice to be able to amend the name. I renamed my RSS feeds to be shorter so that they actually fit on the top line of the SB display (which doesn't scroll), so that I can actually read the "(n of n)" part at the end!

Most RSS news feed readers allow the name to be changed.

Phil

dean
2005-09-06, 20:27
Please add an enhancement request at http://bugs.slimdevices.com/

Thanks!

On Sep 6, 2005, at 1:18 PM, Philip Meyer wrote:

>> Don't see why you need to do all that - as far as I can tell the rr
>> plugin automatically picks up the channel name from the
>> <description/>
>> tag in the feed.
>>
>>
> I think it would be really nice to be able to amend the name. I
> renamed my RSS feeds to be shorter so that they actually fit on the
> top line of the SB display (which doesn't scroll), so that I can
> actually read the "(n of n)" part at the end!
>
> Most RSS news feed readers allow the name to be changed.
>
> Phil
>

Philip Meyer
2005-09-07, 17:16
>> Most RSS news feed readers allow the name to be changed.
>>
>Please add an enhancement request at http://bugs.slimdevices.com/
>
Enhancement 2096 raised.

Thanks,
Phil

jonolumb
2005-09-22, 06:44
I made the request as some people may not like the default feed names that come built into the xml file.
Personalisation wouldnt be hard to include!
Jono