Bug 2355 - RssNews - adding file: urls
: RssNews - adding file: urls
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugin
: unspecified
: All All
: P3 enhancement (vote)
: ---
Assigned To: Blackketter Dean
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-24 14:15 UTC by slimdevices
Modified: 2008-09-15 14:39 UTC (History)
0 users

See Also:
Category: ---


Attachments
Patch to add file:// url functionality to RssNews (1.44 KB, patch)
2005-10-24 14:15 UTC, slimdevices
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description slimdevices 2005-10-24 14:15:02 UTC
I fiddled with the RssNews Plugin to allow it to load file:// urls as well as
http ones. It's two changed lines in updateFeedNames, and an addition of an 'if'
block in getFeedXml. The patch attached was created via 'svn diff RssNews.pm'
against the trunk. I'm assuming that's the correct way to do it.

The background behind this is that I create my own XML feed, and didn't want to
run a web server process or scp it out to my hosting server. Primarily I'm doing
it so I can use the BBC News feed and replace the title header with my own
custom header.

ex. 'BBC News - World Edition' ===> 'BBC News - World - 58(F) - 10% precip', so
I can see the current weather conditions/rain forecast easily when the news
ticker is on.
Comment 1 slimdevices 2005-10-24 14:15:50 UTC
Created attachment 937 [details]
Patch to add file:// url functionality to RssNews
Comment 2 Hans Palm 2005-10-27 04:57:02 UTC
Interesting. This makes it possible to use the RssNews Plugin for other tasks 
than News, e.g. display of indoors/outdoors temperature if a sensor is attached 
to the computer. All sorts of data can be grabbed, mail info, web info etc and 
converted to an XML news feed (I guess, I'm not familiar with the format).
Comment 3 Blackketter Dean 2005-10-30 10:35:51 UTC
Let's get this in the 6.5/trunk.
Comment 4 KDF 2005-10-30 11:05:51 UTC
done at change 4946, trunk only.  will be available in the 6.5 nightlies as of
Oct 31