Trying to grab some specific nodes on my site and move them over to another site via rss

beckyjohnson - May 12, 2009 - 18:27

We have a page on our site http://www.wimaxforum.org/wimaxevents. I need to figure out a way to grab the nodes on this page via an rss feed and transfer them to another site we are working on. Is this possible? I 'm really confused by all the RSS feed modules out there and not sure what would be good to use.

Any feed back would be great.

Becky

_

WorldFallz - May 12, 2009 - 18:36

On the site that has the nodes you want to transfer set up an RSS feed with the views module. Then on the site you want to receive them, install and configure feedapi and feedapi_mapper to consume the feed as desired.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Awesome, thanks I"ll try that

beckyjohnson - May 12, 2009 - 18:49

Awesome, thanks I"ll try that out.

Becky

Did you mean Feed Element

beckyjohnson - May 12, 2009 - 18:51

Did you mean Feed Element Mapper?

_

WorldFallz - May 12, 2009 - 19:11

Yep that's the one!

EDIT: check out this video http://dc2009.drupalcon.org/session/cck-mashup-oh-things-you-can-do

There's a part of it that demonstrates the feedapi and element mapper modules.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Hi I watched the video and it

beckyjohnson - May 13, 2009 - 00:03

Hi I watched the video and it made total sense but here's what happened. I installed Feed API and turned on:
Common syndication parser
FeedAPI Inherit
FeedAPI Mapper
FeedAPI Default
FeedAPI
FeedAPI Node

And in my content type area I clicked on the feed content type and checked:
Is a feed content type
Refresh feed on creation
Update existing feed items

Enabled Common syndication Parser
Enabled Feed API Inherit
Enabled Feed API Node and picked the content type I wanted it to go to.

I went to create content, clicked on feed. entered my url in the feed area (feed://www.wimaxforum.org/wimaxevents/all/feed)

I saved the node and got this error: warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/wimaxtimes.com/httpdocs/sites/all/modules/feedapi/parser_common_syndication/parser_common_syndication.module on line 177.

EDIT: I felt like this was saying that I have php in safe mode but I checked. I do not have it in safe mode.

Also when I opened the node again to look at it, the feed url text area was blank. It looks like it won't keep the url in it.

what should I do?

Becky

I re installed with simple pie parser

beckyjohnson - May 13, 2009 - 01:21

I re installed with simple pie parser and didn't get that error, However, when i hit refresh on the feed, nothing happens. So I clicked on Feed items and it gave me a list of feed items (http://wimaxtimes.com/feed-item/26). But, it's just the titles. Or does the rest of the content show up after I map. This looked so much easier on the video.
This is an example of the mapping example but some fields I do not understand where to match up. For example, I'm using media rss but I can't figure out where the image is in this and I don't see the image CCK field in my mapping area for me to map it properly. Same with expiration dates and to and from dates.....

         [domains] =>
            [tags] => Array
                (
                    [0] => Member Conferences
                )

            [raw] => Array
                (
                    [title] => WiMAX Forum Member Conference Dublin 2009
                    [link] => http://www.wimaxforum.org/wimaxevents/wimax-forum-member-conference-dubl...                    [description] =>
                    [category] => Member Conferences
                    [pubDate] => Sun, 01 Feb 2009 22:51:08 +0000
                    [guid] => 596 at http://www.wimaxforum.org
                    [enclosure] =>
                )

        )

)

Also I just realized that the content that I want to push to another site using rss doesn't use the node body. Someone else developed this content type we are using and it uses a field called field_long_description in place of the body and I can see that it's not showing up in the feed of the wimaxevents url....... Is this a problem? Is it fixable?

UPDATE: I think it's the media rss feed. When I set it to the standard rss feed I get all the dates and info in the Long_description field. But, I really need the images to go over too.......
Becky

 
 

Drupal is a registered trademark of Dries Buytaert.