Generating Threaded RSS / ATOM Feeds - rss

I want to generate a RSS feed that can be displayed threaded in RSS-Clients.
So if the feed describes something like comments or changes to one and the same entity, i want these to be visually grouped.
Is this possible in Java?

There are ATOM Threading Extensions that will do the job. Atom Feeds will be displayed threaded in Thunderbird / Outlook when those are used.
They should be pretty simple to implement for any RSS-Library. For rome i published a rome-module that can be used.

Related

Using Feeds (module) how to attach more than one feed per node?

I'm using the Feeds module, but I am looiking for the functionality the Feedfield module provides: declare multiple feeds on a single node, and have a parser generate the nodes from the feeds. Problem is Feedfield uses the core Aggregator, and I need Feeds functionality.
Can I reproduce such a behaviour with Feeds and any addon? How?
No, it can't be done right now. There is a issue that will eventually lead to development of such functionality, but right now, no can do.

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 sites?
2) Which is most suitable to be build from by adding my own tags?
Update:
So RSS is most used, but I should pick Atom since I need to make my own tweaks on a feed? If RSS is more popular, why not pick that? Why didn't Google pick that?
There was a day when I was really interested in syndication and publishing formats. I knew all the quirks of RSS 0.91/1.0/2.0 and Atom 1.0 (and the 0.3 version). Atom was basically born to create something more complete out of the RSS experience which consisted roughly only on the very specifications of Dave Winer's and Netscape's (now only the RSS 2.0 makes practical sense and its specification is here: http://cyber.law.harvard.edu/rss/rss.html). Atom was started by Sam Ruby, then was adopted and developed by a committee of savvy people and it resulted in two things: an XML based syndication format and a publishing protocol. Since 2005 Atom is an IETF standard and in my opinion more complete and better specified than RSS.
As of adoption I think that in raw numbers RSS is still in advantage. A lot of sites decided to stick with the version they already had in place (RSS) and podcasting is usually done on RSS too. There a ton of websites offering both by the way.
As of expanding the format, your second question, Atom has been created with this in mind so you should go down that route. Google GData format is basically an extension of the Atom format: https://developers.google.com/gdata/docs/1.0/elements
Atom is absolutely the standard to go for.
I presume you're using the standard to share (or move) information - so it's like a pipe that your information is padding along. By adopting Atom you can be confident that both ends of the pipe are in agreement about what's in there. It's more hit & miss with RSS.

reading rss feeds in applescript

how do I read RSS feeds in apple script? I want it to pick and speakout latest news along with reading weather info
The easiest way would be to script an rss reader like NetNewsWire or even Safari. The second easiest way is to write it in Ruby or Python and call Applescript stuff using Appscript. Python has robust rss reading and parsing routines. Dealing with a lot of text processing in Applescript is painful. The third choice is to use an rss OSAX. There was one at http://osaxen.com but it appears down right now.
Satimage has a free osax (scripting addition) with xml capability. That would be a way to go.

How can I convert an RSS feed to Atom, inline?

I admit to being a bit behind the times when it comes to understanding RSS/Atom feed issues.
All I know is, I want to have an Atom feed converted to an RSS feed inline. Meaning that I want to specify an option somewhere that says use this xsl or whatever to convert the Atom feed to an RSS feed.
Is there some way to accomplish this that doesn't require running a separate listener on my local box to do the translation? I.e. Instead of directly asking for the Atom feed, I get my 'service' to get the feed, transform it and give it to the real subscriber?
Sorry for the (probably) dumb question. Somehow I never got the memo on this stuff.
Thanks - Jon
Similar to Paul's answer... we use Feedburner for feeds - it's trivial to have it convert one type of feed to another.
Atom to RSS on the fly
Sounds like a Yahoo Pipes job to me..
http://pipes.yahoo.com/pipes/pipe.info?_id=Aj_YHfi62xGuBj4KkAtvUw
If you want to write your own, using C#. You would download the Atom and save it as RSS using the SyndicationFeed class. It's about 4 lines of code.

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 listings or current inventory, or maybe dates of training lessons?
Or am I thinking in a wrong way of use cases for RSS/Atom feeds anyway?
edit #abyx has a really good example of a somewhat unexpected use of RSS as a way to get debug information from program transactions. I like the idea of this process. This is the type of use I was thinking of - besides publishing search results or last changes (like mediawiki)
Some of my team's new systems generate RSS feeds that the developers syndicate.
These feeds push out events that interest the developers at certain times and the information is controlled using different loggers. Thus when debugging you can get the debugging feed, when you want to see completed transactions you go to the transactions feeds etc.
This allows all the developers to get the information they want in a comfortable way and without any need to mess a lot with configuration. If you don't want to get it there's no need to remove yourself from a mailing list or edit a configuration file - simply remove the feed and be done with it.
Very cool, and the idea was stolen from Pragmatic Project Automation.
Most of the digital libraries uses RSS/ATOM to display their search/results, data update, according to the OAI-PMH protocol
With our internal TRAC server, I'm subscribed to the timeline view for each project that I work on. It's great for keeping track of checkins and bug tickets. This is pretty exclusive to a developer position though.
I also am subscribed to the recent changes for our installation of MediaWiki that we use for our intranet. That way it's easy to see if documents that I need have been changed, or if there's new policies etc.
Our website has a news page that I wrote an RSS feed for as well. While you mentioned that you weren't really interested in recent news, it is nice to keep up with our press releases.
I have seen RSS used to syndicate gas prices from a service for a specific zip code.
there are many examples. Here are a couple.
SharePoint provides RSS feeds from its lists.
Many faceted navigation products allow you to get an RSS feed based on a selected filter. For example, you can navigate to view 24" LCD Monitors on newegg.com and then get an RSS feed of that view.
Mantis bug tracker includes RSS feeds although I wish they were more configurable. Also we use MediaWiki for documentation which has all sorts of RSS Feeds including a per page watch, and recent changes.
I just added RSS feeds to the ticketing system I use at work (TicketDesk) and that feature should be in the next release of the product.
It's nice because it basically provides me a custom search view of outstanding trouble tickets or work requests that comes to me rather then me having to go to the application. It also allows users to get feeds of issues they may be interested in, but not require them to get emails on each update.
I'm looking at implementing an RSS feed for calls for service that our agency takes, to provide the administrators a quick and easy way to see what has been going on.
Atom feed documents and Atom entry documents are used as the representation format for RESTful web services that follow the Atom Publication Protocol (AtomPub).
I personally have used syndication feeds to expose a sub-set of the Windows Event Log information so that I could subscribe and be notified of critical events on a server.
immobilienscout24
they use RSS feeds for updates on your search.

Resources