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

Similar threads

MP1 MP2 MP2 - V2.4 Some ideas and questions? DE
Hi, must be really a while, cuz I can not remember any post from you ;) But might be also that I joined the team too late. Yes, there will be many things. Main reason is simply, that MP2 is not developed based on MP1. I for example never used MP1. I tried it lately to test voice control and was shocked about many inconsistancies in...
Hi, must be really a while, cuz I can not remember any post from you ;) But might be also that I joined the team too late. Yes...
It´s been a while... :) Well, simply the reason is cause MP1 was working so well... :) Now I decided to upgrade my old servers and...
Replies
1
Views
1K
Then you didn’t use Nereus Skin in MP2. tMM does a great job in combination with MP2 it’s the best, if you ask me.
Then you didn’t use Nereus Skin in MP2. tMM does a great job in combination with MP2 it’s the best, if you ask me.
I have been a relatively happy user of MP1 for quite a while. My setup is a dedicated HTPC connected to my TV, a TV capture device...
Replies
8
Views
2K
  • Sticky
MP1 MP2 MP2 - V2.5 TVMosaic Provider for MP2 DE
This point of the list is still open (others too). The next user reports a black screen in Live-TV with TVMosaic in the German thread.
This point of the list is still open (others too). The next user reports a black screen in Live-TV with TVMosaic in the German thread.
The current TV engine (TVE3) for Media Portal 1 and 2 was developed long time before and is not state of the art any more...
Replies
330
Views
41K
OK, this is specifically for people in Belgium (Vlaanderen) who are using Telenet Cable with MediaPortal 2. Next year (Edit: this year, in march 2020) the Telenet provider will stop broadcasting Analog TV and Radio signals on their cable, and make the switch to Digital (DVB-C). The radio signals will disappear completely, so you'll...
OK, this is specifically for people in Belgium (Vlaanderen) who are using Telenet Cable with MediaPortal 2. Next year (Edit: this...
OK, this is specifically for people in Belgium (Vlaanderen) who are using Telenet Cable with MediaPortal 2. Next year (Edit: this...
Replies
0
Views
2K
So the GT 1030 is ~AU$120 and the GTX 1650 ~AU$260 (based on my local store). Which, surprisingly for Australia, is just about bang-on the conversion rate. :) Cheers.
So the GT 1030 is ~AU$120 and the GTX 1650 ~AU$260 (based on my local store). Which, surprisingly for Australia, is just about...
So I'm not sure what is going on. For the record I am using MediaPortal 1.22 with MP-TVSeries and MovingPicture. 6+ months ago, I...
Replies
14
Views
4K
Top Bottom