Bugzilla – Bug 2355
RssNews - adding file: urls
Last modified: 2008-09-15 14:39:24 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.
Created attachment 937 [details] Patch to add file:// url functionality to RssNews
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).
Let's get this in the 6.5/trunk.
done at change 4946, trunk only. will be available in the 6.5 nightlies as of Oct 31