Does the Drupal Aggregator support Atom? According to this thread, it appears that Drupal doesn't yet support Atom. I have several feeds in my aggregator on iaslash.org that are broken because they are solely using Atom. Many blogger feeds only use Atom.

If Drupal doesn't presently support Atom, are there plans to support it for the next release? Are there any patches available to make the current version support Atom?

Thanks for any help.
-Michael

Comments

Irishrover’s picture

have you checked out the Atom module on the downloads page?

IrishRover

jibbajabba’s picture

Yes, I'm talking about the aggregator, not the feed that Drupal produces.

Greg Delisle’s picture

Drupal's aggregator doesn't support Atom. There's an Atom module, but it only exports your content as an Atom feed, it doesn't allow your aggregator to import Atom feeds from elsewhere.

I solved this by using Feedburner (www.feedburner.com) which allows you to give it a source feed and it will convert it very nicely to RSS. So you open an account and stick in your Blogger feeds, export them as RSS, and instead of pointing your aggregator at the source, you point it at the Feedburner feed. When it's time to update, your aggregator hits Feedburner which hits the original source, converts it, and hands you the RSS. Very nice, and currently free of charge.

jibbajabba’s picture

Thanks. The problem I'm having is with reading other people's Atom feeds in my News Aggregator. I don't really intend to put everyone's Atom feeds into feedburner. I'll wait for the next release. Hopefully Atom will be supported then.

philoxenia’s picture

I'm having the same problem. I was a little taken aback when I realized why 40% of my feeds weren't working. Atom support really is vital these days.

Howabout a bounty? I'll offer $10 if someone can do this within the next week. Is that unrealistic?

boris mann’s picture

This is rather a large task (i.e. 10s of developer hours). $250 might be a more appropriate bounty (that's a guess, I haven't vetted it with any developers yet).

And AFAIK, Blogger.com is the only system that supports *only* Atom feeds...everything else spits out a flavour of RSS/RDF as well as Atom (yes, I know that doesn't help if you use a lot of Blogger feeds).

I've re-opened the project issue so that you can track progress.

philoxenia’s picture

I realize $10 is small. I guess I was hoping that others who are equally anxious would chime in so that the pot would quickly grow. I can't afford $250 now, and it's a non-commericial project... with lots of blogger feeds :-(.

Thanks,

John

sixoseven’s picture

Feedburner doesn't seem to do like it might have done in February.

laura s’s picture

I have MSN search pinging my site every few minutes, looking for the atom feeds ... which were available in my 4.5.2 installations thanks to the atom.module. But then it's Microsoft, and part of me says they can go fly a kite.

.:| Laura • pingV |:.

_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet

rcwoolley’s picture

FYI,

I just backported the latest CVS version of aggregator.module (1.260) to Drupal version 4.6.3

I've made the resulting file and the patch available at the following URLs:

http://www.robertwoolley.com/files/aggregator.module
http://www.robertwoolley.com/files/aggregator_atom.patch

To insert the usual disclaimer: I provide this on an as-is basis. I hope it works for you, but can't provide any promises. If you have any problems feel free to get in touch with me via gmail.com (using the same username)

I would also like to acknowledge the Drupal developers in all the hard work to support Atom XML. All I did was change a few return statements and references to drupal_get_form. They've done all the real work.

Magika’s picture

do I apply this patch?

Tips needed, I am really keen to use this

thanks

tropology’s picture

Is this in 4.6.5?

sys6x’s picture

I hope there will be a ATOM feed support in the next release...or that blogger delivers some NORMAL RSS feeds...

I just checked feedburner and it syndicates your stuff and there's pub...nothing really standard!

for the moment I'll just link webpages :/

jivyb’s picture

I just tried the aggregator in 4.7 beta3 and still no go on atom feeds :(

sys6x’s picture

you can publish atom feeds, not 'reading' them, afaik

benwei’s picture

Hello,

I don't know if anyone is still watching this topic, but I recently wanted to do the same thing (allow parsing of atom feeds from the aggregator module). I found this issue, which has since been closed and downloaded and applied the patches there to a default 4.6.5 install.

Anyhow, I made a combined patch from the three that are there that should work out of the box against 4.6.5. If you're a patch newbie like me, here's how to apply it: cd to your modules directory, wget the patch and then do

patch -p0 <aggregator-4.6.5-atom.patch

Cheers,
Ben Weintraub

nunovo’s picture

Thanks Ben, this looks like it might be exactly what I'm looking for. But...

I am using a hosted installation, and have no idea how to do a command line instruction like the one you've shown above. Can you add a bit more explanation so that I can modify the remote installation?

David P
---
new and green, but learning, that's me!

Anonymous’s picture

Hey David,

In case you haven't gotten the patch to run, I've zipped up my patched up aggregator module. Just download it, unzip it, back up your old aggregator module, and upload this one over it. This is for a 4.6 install of Drupal, btw.

Here is the patched aggregator module.

Let me know if you have any questions,

Kambiz
Anthropology.net | Beyond bones & stones

nunovo’s picture

Hi Kambiz,

thank you for that! I'm just checking in for the first time in weeks... will try it and get back to you.

d

---
new and green, but learning, that's me!

nunovo’s picture

Here's what happens when I add a new feed:

warning: fsockopen(): unable to connect to www.geobloggers.blogspot.com:80 in /home/nunovo/public_html/drupal/includes/common.inc on line 268.

warning: Cannot modify header information - headers already sent by (output started at /home/nunovo/public_html/drupal/includes/common.inc:384) in /home/nunovo/public_html/drupal/includes/common.inc on line 192.

And of course I do not understand what's going on... so can you interpret for me?
---
new and green, but learning, that's me!

Anonymous’s picture

Man, that was simple, thanks for doing this for us. I really appreciate it!

Kambiz
Anthropology.net | Beyond bones & stones

shane birley’s picture

A little surprised this hasn't made it into 4.6.6 as it is important. Sorry, Atom isn't going to go away. :)

---
Shane Birley
Vicious Bunny Creative
http://www.vbcreative.com

---
Shane Birley
Left Right Minds
https://www.leftrightminds.com

sepeck’s picture

Because 4.6.x series is feature frozen and no new features will be added to that code base. It's nothing against the atom feed.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

shane birley’s picture

Hmmm. I think there should be a little more flexibility with the core of 4.6 as some functionality should be introduced into core. Of course, determining where the line should be drawn on what functionality will be backported is the hard part.

I don't agree with a "no more additions" code freeze on 4.6 since it is the most commonly installed base right now and many won't upgrade to 4.7 any time soon. But, that is just me. I think introducing some commonly asked for (minor patches) to 4.6 isn't a bad thing.

---
Shane Birley
Vicious Bunny Creative
http://www.vbcreative.com

---
Shane Birley
Left Right Minds
https://www.leftrightminds.com

RobRoy’s picture

May not be totally related, but I was testing the new patch and syndicating http://adoru.blogspot.com/atom.xml but some of the html links in the description don't come across (the "Dynamix" mp3 link at http://adoru.blogspot.com/2006/02/dynamix-ii-silver-beats.html for example).

I've debugged and it and on line 509 of aggregator.module when this is called:

$xml_parser = drupal_xml_parser_create($data);

the $data going in has the html links, but then once it comes back out some of them are stripped. Any thoughts?

Besides that, thanks a lot for the Atom support!

Rob
------------------
Scrapbooking Layouts