Local RSS feed (1 Viewer)

A

Anonymous

Guest
hi,
First of all, MediaPortal rulez a lot! Found it a week ago, and I think I'm an addict right now...
This being said I have a question/request.
Since www.vrtnieuws.net is a very complete news site in Belgium, but doesn't has RSS feed I made a little program that gets the news from the website and stores it in a local RSS file. But when I add a news source "c:\vrtnieuws.rss" MediaPortal is looking for "http://c:\vrtnieuws.net". I tried to add "file://" but no success. It seems impossible to get news from local files.
I don't think it's that hard to implement this (a little bit more easy than adding a webserver to my proggy) and I'm sure there are other people that will like this feature.

ciao,
F.
 

Smirnuff

Portal Pro
December 7, 2004
630
3
United Kingdom
I made changes to support local feeds earlier in the week, in addition to a couple of other improvements (mainly the ability to click on a news item to get a larger popup view of the text). I will continue to test these over the weekend and will submit the patch to SF on Monday or Tuesday.

The My News plugin uses RSS.NET which contains a bug in the local file handling code. The crux of the problem is that it passes a URI to File.GetLastWriteTime which doesn't support URI formats. The Uri object exposes a property called LocalPath which should be used instead, then it'll all work fine and dandy. I will be submitting a patch to the RSS.NET project too.

* edit *

Also, the current implementation adds 'http://' to the beginning of the URI if it doesn't already start with 'http://'. I'll submit the relevant patch to SF shortly and can then continue to test my popup mods in my own time.
 
A

Anonymous

Guest
great to hear you're already working on it!

I haven't tried it with with IIS or something else yet, but this evening when I'm home, I'll let my program save the file on the webserver on my LAN and that will probably work (it must...).

but still, if MP will support local files that will be much easier.

thx for the fast replies!

ciao,
F.
 

Smirnuff

Portal Pro
December 7, 2004
630
3
United Kingdom
The patch to allow local files has now been submitted to SF. Note, you do have to specify file:/// in your paths for it to work correctly but that's nothing compared to how much more responsive My News is when using local feeds.
 

Users who are viewing this thread

Top Bottom