Bug 3147 - Feature Request: Change refresh time on RSS feeds for local hosts...
: Feature Request: Change refresh time on RSS feeds for local hosts...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 6.2.1
: PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-12 17:34 UTC by Tom
Modified: 2008-09-15 14:39 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2006-03-12 17:34:35 UTC
I understand and fully appreciate the need to refresh external RSS 
feeds at a sensible interval.

However, I have a number of local RSS feeds on my servers that could
do with being refreshed as soon as possible - i.e. with refresh_secs 
set to zero or the must_get_now flag set to 1 in the file RssNews.pm.

The only sensible way I can think of doing this is to check to see if 
the domain name of the feed URL is on the local network or if the 
feed url is on the same subnet as the server?  That may be easier 
said than done?
Comment 1 Blackketter Dean 2006-04-22 19:49:34 UTC
Andy's adding caching to the rss reader (as it gets moved to using the async http library.   In that case you should be able to use an http directive to control the caching.  (you can also use file: URLs which shouldn't be cached at all...)
Comment 2 Chris Owens 2006-08-16 17:20:57 UTC
In the meeting we discussed making sure there was no caching for file: links as a solution
Comment 3 Andy Grundman 2006-08-16 17:45:00 UTC
Fixed in change 8991.

The following resources will no longer be cached at all:

file:// URLs
URLs with a hostname that does not contain a dot (http://lanserver/foo.xml)
URLs with a dotted IP hostname that is a private IP address (http://10.0.0.1/foo.xml)