rss

W3C validator says 'feed does not validate' 'url must be a full URL'… whats wrong with it?

给你一囗甜甜゛ 提交于 2019-12-03 16:54:09
问题 Validating my feed, it has an enclosure with a URL of https://archive.org/download/NigelFarageAPersonalMessageToNorthernIrelandVoters./Nigel%20Farage,%20a%20personal%20message%20to%20Northern%20Ireland%20voters..mp3 I know it is a bit convoluted... but what is wrong with it? The stop in the directory name? the double dot in the file name? the comma? all of em? I have looked at the RFC on URL's but cant make it out(!). This feed does not validate. line 441, column 2: url must be a full URL:

Refreshing RSS feeds at near-realtime intervals

北城以北 提交于 2019-12-03 16:38:50
I've got a system that fetches a few hundred RSS feeds. Currently they're on a 10 minute refresh cycle, but I'd preferably like to make that faster. What is a strategy to fetch the RSS sources at near-realtime/push intervals? Some solutions I've come across: do a fetch at 1 minute; if no changes, fetch again at 2, then 4, then 8, etc. find the average time-between-updates interval/variance of the RSS feed, and put them in a bucket (this one updates every 3 mins, so do a check every 1 minute; this one updates every week, so do a check every day, etc.) I've used something like you first option.

Fetching videos list from a Youtube playlist through RSS doesn't return more than 15 results

强颜欢笑 提交于 2019-12-03 16:13:31
I'm using the following API to fetch a list of the videos in a playlist: https://www.youtube.com/feeds/videos.xml?playlist_id= The problem is if the playlist has more than 15 videos, the response is only the first 15. I thought there is a paging algorithm, but there is no link rel="next" in the response and appending ?page to the end of the link returns 404. Thanks First, the YouTube Data API v2 call is already deprecated and encourage you to use the YouTube Data API (v3). I found in this thread that https://www.youtube.com/feeds/videos.xml?playlist_id=xxxxx is only limited to 15 videos or

Looking for alternative to Google Reader sync for RSS app

允我心安 提交于 2019-12-03 16:03:29
I'm in the early stages of designing an RSS app, and I'd like to include syncing to an online RSS feed service as a feature. Most such apps make use of Google Reader's feed/syncing features, but Google is now moving sync out of its Reader service, and also its API remains undocumented. Are there any alternatives to Google Reader that offer online syncing of feeds with a desktop client, and which have a documented API? LonelyBob A couple suggestions, the original web RSS Reader BlogLines is still around, though now under new management since MerchantCircle purchased the service late last year.

Images On The Description Of An RSS Item

做~自己de王妃 提交于 2019-12-03 15:28:40
I'm starting with RSS development, for my new site, but I want to know if there is any way to put images on the description of a item, something like this: <item> <title>Image Test</title> <link>http://testin.test</link> <description>Some text... <img src="image.jpg"></description> </item> And if it's possible, which feed readers will be able to visualize it clearly and perfect. You can have a reference to an image inside CDATA (which is typically done). Example: <item><title>June 13 : Cool Clear Waters</title> <link>http://www.whitegrass.com/report.html</link> <description> <![CDATA[<img

Java - Rome rss reader?

笑着哭i 提交于 2019-12-03 15:27:55
I am trying to read rss. I copied the jar file in to my libs folder, and I added the jar file to my eclipse project as a library. In order and export i checked my jar file. Now I am trying to use the rss reader provided by rome import com.sun.syndication.feed.synd.SyndEntry; import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.io.SyndFeedInput; import com.sun.syndication.io.XmlReader; URL url = new URL("http://myUrlGoesHere"); XmlReader reader = new XmlReader(url); SyndFeed feed = new SyndFeedInput().build(reader); I get the following error on the last line: The type org

How to programmatically turn any webpage into an RSS feed? [closed]

女生的网名这么多〃 提交于 2019-12-03 15:17:55
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . There are many websites and blog which provide RSS feeds, but on the other hand there are also many which do not. I want to turn that type of web page into RSS feeds. I found some solutions using through Google like Feed43, Page2rss, Dapper etc, but I want an Open Source project which can perform this task or

Subscribe to an RSS Feed

主宰稳场 提交于 2019-12-03 15:06:51
I am writing a very simple RSS reader - all it needs to do is get the xml doc, and print to the console the title and publish date of every item. I got started using these two questions: How can I get started making a C# RSS Reader? Reading the Stack Overflow RSS feed I'm trying to figure out how to subscribe, and as far as I can figure you do it one of two ways. Send an HTTP request to the feed site so it pushes you updates as they come, or poll the site every X seconds and simply print the new ones. I find it difficult the believe that there is no way to subscribe due to the millions of RSS

Problems doing ajax-requests with a Phonegap application

耗尽温柔 提交于 2019-12-03 13:39:42
I'm trying to create a simple RSS reader with Phonegap and jQuery. I am following this tutorial: http://visualrinse.com/2008/09/24/how-to-build-a-simple-rss-reader-with-jquery/ . I've managed to get this working just fine when I try out the code in my browser. The php-file fetches the feed and outputs it just like I expect it to. But when I run the same file from within my compiled Phonegap application the ajax-request just returns the contents of the php-file (the php-code, not the executed result). I've spent hours Googling this and tried numerous tutorials and tweaks. I found no solutions

All nodeValue fields are None when parsing XML

有些话、适合烂在心里 提交于 2019-12-03 13:37:06
I'm building a simple web-based RSS reader in Python, but I'm having trouble parsing the XML. I started out by trying some stuff in the Python command line. >>> from xml.dom import minidom >>> import urllib2 >>> url ='http://www.digg.com/rss/index.xml' >>> xmldoc = minidom.parse(urllib2.urlopen(url)) >>> channelnode = xmldoc.getElementsByTagName("channel") >>> channelnode = xmldoc.getElementsByTagName("channel") >>> titlenode = channelnode[0].getElementsByTagName("title") >>> print titlenode[0] <DOM Element: title at 0xb37440> >>> print titlenode[0].nodeValue None I played around with this for