atom-feed

policy for polling rss

与世无争的帅哥 提交于 2019-11-30 10:11:29
问题 I have an application that polls several rss sources on the web. What is the etiquette when polling other's web servers. How frequently to poll, etc? What are the best practices? 回答1: Make use of HTTP cache. Send Etag and LastModified headers. Recognize 304 Not modified response. This way you can save a lot of bandwidth. Additionally some scripts recognize the LastModified header and return only partial contents (ie. only the two or three newest items instead of all 30 or so). Don’t poll RSS

Google Reader API?

爱⌒轻易说出口 提交于 2019-11-30 06:49:15
问题 Is there any Google Reader API that I can plug in to? I building a clean RSS/Atom reader in PHP and would love to get all the goodies from Google Reader like the history of a feed, able to add comments to each feed item, etc. 回答1: I've built some google reader integration in python but I can share some of the api knowledge so you can get started. output=json is also available for all. Login: https www.google.com/accounts/ClientLogin POST &email=email&passwd=password&service=reader&source

Reading Atom feed of gmail account from C#

旧街凉风 提交于 2019-11-30 05:33:42
I have a project that will send an email with certain data to a gmail account. I think that it will probably be easier to read the Atom feed rather than connect through POP. The url that I should be using according to Google is: https://gmail.google.com/gmail/feed/atom The question/problem is: how do I authenticate the email account I want to see? If I do it in Firefox, it uses the cookies. I'm also uncertain how exactly to "download" the XML file that this request should return (I believe the proper term is stream). Edit 1: I am using .Net 3.5. This is what I used in Vb.net: objClient

Parsing Atom & RSS in Ruby/Rails?

雨燕双飞 提交于 2019-11-30 01:29:45
I'm looking for something that will let me parse Atom and RSS in Ruby and Rails. I've looked at the standard RSS library, but is there one library that will auto-detect whatever type of feed it is and parse it for me? Feedzirra is one of the better options: http://www.pauldix.net/2009/02/feedzirra-a-ruby-feed-library-built-for-speed.html Of course, I'm biased since I wrote it. :) Googleage reveals some things. Were they not acceptable? Simple RSS Ruby-Feedparser require 'simple-rss' require 'open-uri' rss = SimpleRSS.parse open('http://slashdot.org/index.rdf') rss.channel.title # => "Slashdot"

policy for polling rss

百般思念 提交于 2019-11-29 19:47:21
I have an application that polls several rss sources on the web. What is the etiquette when polling other's web servers. How frequently to poll, etc? What are the best practices? Maciej Łebkowski Make use of HTTP cache. Send Etag and LastModified headers. Recognize 304 Not modified response. This way you can save a lot of bandwidth. Additionally some scripts recognize the LastModified header and return only partial contents (ie. only the two or three newest items instead of all 30 or so). Don’t poll RSS from services that supports RPC Ping (or other PUSH service, such as PubSubHubbub ). I.e.

Twitter search (atom) API - exclude retweets

别来无恙 提交于 2019-11-29 18:10:05
问题 I am using the Atom search API from Twitter. Now I present all (newest 5) tweets with a certain word. But unfortunately, many people retweet this one post and I get the same post 5 times. Can I exclude retweets? If so, how? 回答1: I've been successfully excluding retweets by adding +exclude:retweets at the end of my search query. 回答2: I've done that and I'll share how you accomplish this. This would be your search query: http://search.twitter.com/search.atom?lang=en&rpp=100&q=[yourpost-value]

Providing RSS and Atom feeds? Do we need both or has RSS won? [closed]

て烟熏妆下的殇ゞ 提交于 2019-11-29 16:57:18
问题 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 6 years ago . I want to provide some RSS feed(s) for my site. Is it worth providing Atom feeds? or is Atom the more common feed? Is there a winner? BTW, this relates to programming because I'm required to program the feed which we will provide (or use some open source code, etc). Update So far it looks like peeps are saying

java library for reading RSS and ATOM feeds [duplicate]

南楼画角 提交于 2019-11-28 22:38:52
This question already has an answer here: How to write an RSS feed with Java? 1 answer I am looking for libraries which can read RSS / ATOM feeds in my J2EE application (based on JBoss Seam). Is Rome the only application there for reading feeds? I am assuming the Seam RSS integration is only for generating RSS feeds and not for reading feeds. Nils Schmidt Have you had a look into the following list? http://java-source.net/open-source/rss-rdf-tools Even though it has been mentioned several times, I would suggest using Rome as well. Rome is a very mature, extremely well java-documented library

Parsing Atom & RSS in Ruby/Rails?

不问归期 提交于 2019-11-28 22:19:25
问题 I'm looking for something that will let me parse Atom and RSS in Ruby and Rails. I've looked at the standard RSS library, but is there one library that will auto-detect whatever type of feed it is and parse it for me? 回答1: Feedzirra is one of the better options: http://www.pauldix.net/2009/02/feedzirra-a-ruby-feed-library-built-for-speed.html Of course, I'm biased since I wrote it. :) 回答2: Googleage reveals some things. Were they not acceptable? Simple RSS Ruby-Feedparser require 'simple-rss'

Google Reader API?

做~自己de王妃 提交于 2019-11-28 22:09:31
Is there any Google Reader API that I can plug in to? I building a clean RSS/Atom reader in PHP and would love to get all the goodies from Google Reader like the history of a feed, able to add comments to each feed item, etc. smilbandit I've built some google reader integration in python but I can share some of the api knowledge so you can get started. output=json is also available for all. Login: https www.google.com/accounts/ClientLogin POST &email=email&passwd=password&service=reader&source=appname&continue=http://www.google.com from the response grab Auth= Next hit: www.google.com/reader