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?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | RSS20.inc_.patch | 584 bytes | aaron1234nz |
Comments
Comment #1
spudart commentedOh 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.
Comment #2
aaron1234nz commentedI've got the same set up and the same problem.
Comment #3
Ashraf Amayreh commentedCould 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.
Comment #4
aaron1234nz commentedHi,
I have tried these three feeds with no success
http://rss.news.yahoo.com/imgrss/441
http://rss.news.yahoo.com/imgrss/events/pl/081201presidentbush
http://newsrss.bbc.co.uk/rss/newsonline_world_edition/in_pictures/rss.xml
Comment #5
Ashraf Amayreh commentedThe 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.
Comment #6
aaron1234nz commentedThanks 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.
Comment #7
Ashraf Amayreh commentedSeem to be working well. Great work :)
You'll see it in 6.x-1.1 version