Hi there. I'm trying to get image enclosures on a RSS 2.0 feed to show up as image node. The items on the feed show up as feed items, but the image enclosures are not becoming a image nodes.

Here's what I've done.

Installed drupal 5.7 on a server running:
* PHP Version 5.2.5
* cURL support: enabled
* cURL Information: libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6

Installed the Aggregation 5.x-4.4 module.
Activiated the Aggreatation module.

Created a new feed via Create content > Feed
On the "Submit feed" form I submitted the following:
Feed name: "Test feed"
Categories > Aggregation Feed Types: RSS20
Description: "Test description"
Original Author: "feedauthor"
Feed URL: the url to the rss 2.0 feed.
Authentication Settings: not needed
Refresh Interval: 15
Title as GUID interval: 0
Options > Enabled ON
Options > Published items ON
Options > Aggregate categories ON
Options > Display links to original URLs: Don't display
Options > Add aggregated items to moderation queue: OFF
Options > Sticky items: OFF
Options > Aggregated article comments: OFF
Options > Update existing aggregation items: OFF
Options > Display links to original comments: OFF
Options > Aggregate image enclosures as image nodes: ON
Options > Aggregated images' comments: OFF
Promote to frontpage: 0
Time to live: 0
Item Taxonomies: - None -
Log message: none

I clicked "submit" to those settings.

I ran cron manually at Administer > Logs > Status Report

Got a message saying, "Cron ran successfully"

Went to Administer › Content management to see what was added. A bunch of feed items were added. But the image enclosures inside each of those were not made into image nodes.

Am i missing something?

CommentFileSizeAuthor
#6 RSS20.inc_.patch584 bytesaaron1234nz

Comments

spudart’s picture

Oh i forgot to mention when i installed Aggregation, I also installed the module, image-5.x-1.9. After seeing that image enclosures weren't being pulled out, I tested the image module by uploading an image to my site, and that managed to work, but the Aggregation module still is not able to pull the image enclosure into an image node.

aaron1234nz’s picture

I've got the same set up and the same problem.

Ashraf Amayreh’s picture

Could you point me to the feed URL that you're trying to aggregate from?

If it's not public, just save it and attach it so I can examine it.

Ashraf Amayreh’s picture

Priority: Normal » Minor
Status: Active » Postponed

The RSS handler currently works with image enclosures only, the feeds you pointed me to do not contain enclosures but other tags for the image.

Correcting this is very simple but is not of very high priority to me now.

aaron1234nz’s picture

Component: Miscellaneous » Code
Status: Postponed » Needs review
StatusFileSize
new584 bytes

Thanks for looking into that for me. I ended up making it work myself (as I needed the functionality). Attached is the the patch file.

PS great module.

Ashraf Amayreh’s picture

Status: Needs review » Closed (fixed)

Seem to be working well. Great work :)

You'll see it in 6.x-1.1 version