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
8
votes
3 answers

Adding HTML to my RSS/Atom feed in Rails

The default rails XML builder escapes all HTML, so something like: atom_feed do |feed| @stories.each do |story| feed.entry story do |entry| entry.title story.title entry.content "foo" end end end will…
Shalmanese
  • 5,254
  • 10
  • 29
  • 41
7
votes
2 answers

rss and atom content type

I have a problem with my feed's content-type: When I set the content-type to "application/rss+xml" or "application/atom+xml" the Firefox will render it current (and displays the default subscribe page), but the Chrome renders it as "text/plain".…
amiry jd
  • 27,021
  • 30
  • 116
  • 215
7
votes
2 answers

No Nodes Selected from Atom XML document using XPath?

I'm trying to parse an Atom feed programmatically. I have the atom XML downloaded as a string. I can load the XML into an XmlDocument. However, I can't traverse the document using XPath. Whenever I try, I get null. I've been using this Atom feed as…
Dan Herbert
  • 99,428
  • 48
  • 189
  • 219
7
votes
2 answers

How to set the default namespace using JAXB

I have a ATOM-XML representation of my data that is returned via a Spring MVC web service. I'm using JAXB to do the serialization, I have a number of namespaces but I want the default namespace set to Atom with no prefix. Here is what I have so far…
user86834
  • 5,357
  • 10
  • 34
  • 47
7
votes
5 answers

how to format atom date time

I'm getting dates from feed in this format: 2009-11-04T19:55:41Z I'm trying to format it using the date() function in PHP, but I get an error saying: date() expects parameter 2 to be long, object given in /bla/bla.php I tried using preg_replace()…
Yaniv Golan
  • 982
  • 5
  • 15
  • 28
7
votes
1 answer

Scala Parsing RSS/Atom feeds

Does anyone know a good library/jar to parse RSS/Atom Feeds? I'd like to stuff a URL in, and want to get the news-items in a homogenous way. (Means: it should not matter whether the Source contains an Atom or RSS feed. I just want "Items" back.)…
Maximilian Stroh
  • 1,086
  • 1
  • 10
  • 26
6
votes
1 answer

Is there a standard way to create Atom-format podcasts?

Searching for "atom podcast" finds me podcasts about atoms, which I'm sure are fascinating but are not what I'm looking for. I've built an RSS feed for a podcast, but I'd like to replace it with Atom, which seems to be better defined and more…
TRiG
  • 10,148
  • 7
  • 57
  • 107
6
votes
6 answers

Recommended Python Atom feed generator?

Which Python library is commonly used today to generate Atom feeds? Note, there exists a very similar question from 2008, but its answers are mostly obsolete. The library atomxlib was recommended, but it apparently is obsolete (also the website does…
alienhard
  • 14,376
  • 9
  • 37
  • 28
6
votes
2 answers

How to get more Feed items?

How would I get the next page or more results for a feed? For example, when I go to Security Now feed page, there is no "next" link of any kind and the url parameter of "page=100" does nothing: http://leoville.tv/podcasts/sn.xml I get only 1 page of…
Andriy Drozdyuk
  • 58,435
  • 50
  • 171
  • 272
6
votes
2 answers

Consuming Atom feeds: how does it work?

I'm sorry if the title is too generic, but I've been browsing the Internet for one hour and I couldn't find any architectural explanation. I'm totally new both to RSS and Atom protocols, as far as I have understood until now is: A server publishes…
Diego Pascotto
  • 329
  • 2
  • 13
6
votes
2 answers

Why is my iOS Newsstand cover not updated by the Atom feed anymore?

I have a couple of Newsstand apps out, with an Atom feed connected in iTunesConnect to update the latest issue metadata (title, cover image, summary). In the last weeks, I experienced problems - iTunesConnect did not update the data from new issues…
thomers
  • 2,603
  • 4
  • 29
  • 50
6
votes
3 answers

Sax parsing and encoding

I have a contact that is experiencing trouble with SAX when parsing RSS and Atom files. According to him, it's as if text coming from the Item elements is truncated at an apostrophe or sometimes an accented character. There seems to be a problem…
James P.
  • 19,313
  • 27
  • 97
  • 155
6
votes
2 answers

Something like pubsubhubbub that does not depend on google app engine

I am looking for something like PubSubHubbub that does not depend on google app engine to run. What I need is a tool that can track for me a big very large number of rss or atom feeds and issue events when they are updated.
flybywire
  • 261,858
  • 191
  • 397
  • 503
6
votes
2 answers

Access to old, no longer available, feed entries

I am working on a project that requires reliable access to historic feed entries which are not necessarily available in the current feed of the website. I have found several ways to access such data, but none of them give me all the characteristics…
Alexandros Marinos
  • 1,396
  • 2
  • 15
  • 25
6
votes
9 answers

RSS/Atom for professional use

I wondered if anyone can give an example of a professional use of RSS/Atom feeds in a company product. Does anyone use feeds for other things than updating news? For example, did you create a product that gives results as RSS/Atom feeds? Like price…
cringe
  • 13,401
  • 15
  • 69
  • 102