Questions tagged [atom-feed]

Atom is an XML based news-feed format. For the text editor from Github, use the [atom-editor] tag.

Atom is an XML-based document format that describes lists of related information known as "feeds". Feeds are composed of a number of items, known as "entries", each with an extensible set of attached metadata. For example, each entry has a title.

The primary use case that Atom addresses is the syndication of Web content such as weblogs and news headlines to Web sites as well as directly to user agents.

689 questions
140
votes
10 answers

Best way to parse RSS/Atom feeds with PHP

I'm currently using Magpie RSS but it sometimes falls over when the RSS or Atom feed isn't well formed. Are there any other options for parsing RSS and Atom feeds with PHP?
carson
  • 5,751
  • 3
  • 24
  • 25
122
votes
2 answers

Setting up a Github Commit RSS feed

I am trying to have my github commits as an RSS feed but so far I have not managed to figure it out. I know that a private feed is available with the following syntax: https://github.com/username.atom?token=token But this the user's activity feed.…
jalagrange
  • 2,291
  • 2
  • 19
  • 24
56
votes
8 answers

How do I parse and convert a DateTime to the RFC 3339 date-time format?

How do I convert a DateTime structure to its equivalent RFC 3339 formatted string representation and/or parse this string representation back to a DateTime structure? The RFC-3339 date-time format is used in a number of specifications such as the…
Oppositional
  • 11,141
  • 6
  • 50
  • 63
40
votes
12 answers

Why Are People Still Creating RSS Feeds?

...instead of using the Atom syndication format? Atom is a well-defined, general-purpose XML syndication format. RSS is fractured into four different versions. All the major feed readers have supported Atom for as long as I can remember, so why…
John Topley
  • 113,588
  • 46
  • 195
  • 237
37
votes
2 answers

Pagination in feeds like ATOM and RSS?

Is this even possible? Perhaps?
Drew
34
votes
8 answers

Policy for polling RSS feeds?

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?
flybywire
  • 261,858
  • 191
  • 397
  • 503
30
votes
6 answers

java library for reading RSS and ATOM feeds

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…
Sam
  • 8,387
  • 19
  • 62
  • 97
29
votes
7 answers

Parsing Atom & RSS in Ruby/Rails?

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?
aronchick
  • 6,786
  • 9
  • 48
  • 75
28
votes
2 answers

'OR' operator in XPath predicate?

What is the XPath expression to select elements with type="application/rss+xml" OR type="application/atom+xml" (RSS and Atom feeds) link[@rel='alternate'][@type='application/rss+xml'] selects RSS…
abernier
  • 27,030
  • 20
  • 83
  • 114
23
votes
2 answers

Which is most used? RSS or Atom? and which one is better to build from?

I am thinking of using either RSS or Atom in my project, but also "enhancing" the feed with some of my own special attributes specifically used by my project. So I have two questions: 1) Which is most used of RSS and Atom on the web and by the big…
corgrath
  • 11,673
  • 15
  • 68
  • 99
23
votes
2 answers

How do you generate a good ID in ATOM documents?

Apparently using the URL is no good - why is this the case, and how do you generate a good one?
Rich Bradshaw
  • 71,795
  • 44
  • 182
  • 241
21
votes
5 answers

The best PHP lib/class to generate RSS/Atom

I have to produce an RSS/Atom feed in various applications, and I want to know a good library or class which is able to produce both, and which already handles all common problems. For example, the one I used for years does not put the right format…
Cédric Girard
  • 3,358
  • 7
  • 37
  • 52
20
votes
4 answers

Good resource for the ATOM and RSS specification?

I've been trying to find the "official" documentation for ATOM and RSS so I can program against it. The problem I'm running into is that there are a lot of places that includes parts but never the whole specification. Does anyone know of a good…
Edward
  • 7,346
  • 8
  • 62
  • 123
20
votes
6 answers

How To Discover RSS Feeds for a given URL

I get a URL from a user. I need to know: a) is the URL a valid RSS feed? b) if not is there a valid feed associated with that URL using PHP/Javascript or something similar (Ex. http://techcrunch.com fails a), but b) would return their RSS feed)
Gilean
  • 14,708
  • 10
  • 45
  • 52
17
votes
2 answers

Is there any defined atom syndication xml schema?

Is there any defined atom syndication xml schema? RFC 4287 only contains a Relax NG compact schema in appendix B.
Ali Ersöz
  • 15,860
  • 11
  • 50
  • 64
1
2 3
45 46