Posted by jbunyan on June 28, 2011 at 8:41pm
Hi,
I am trying to create a view that shows only the title and an image of an RSS feed. I'm trying to make something similar to Linkedin's RSS feed block on the homepage. I am currently using feeds api mapper. There is no source for just the image. I found another module called feeds. I'm not sure if that has a method to solve the problem I am asking. If programming is needed, I am not sure where to start. Any help would greatly be appreciated.
Comments
.
As you use the unreliable Feed API module instead of Feeds, you could try Feed API Scrapper (http://drupal.org/project/feedapi_scraper)
You could get the src part of img tags and map it to a CCK field, etc.
You may also need to use Firefox xPath addon or such tool if you are not familiar with xPath.
image from RSS
Hi,
On easy way to show just an image would be to use the Feeds module and then use Feeds tamper to remove what you do not want. You may also be able to use the plugin Feeds xPath to retrieve just an image and a title from a given rss feed.
Hi, I am trying to use feeds
Hi,
I am trying to use feeds xpath to pull an image from a feed as well. I'm not sure how to pull the information though. The tutorials, http://www.zvon.org/xxl/XPathTutorial/General/examples.html, only show me how choose what tags we want to use. It doesn't show how we can use specific contents within the tags. Also I am not sure how rss feeds work. For example, this is the feed I'm am trying to pull from, http://feeds.feedburner.com/variety/news/frontpage. There are now pictures shown just ads. But when i click on a feed item like this, http://www.variety.com/article/VR1118035893?categoryid=4076&cs=1&cmpid=RSS|News|FrontPage, the description and the image of the article shows up. Does the feed module parse the list of feed items or does it just parse each individual feed item. I am unable to parse the image and description. I notice that when i try to create the feed processor, it says that the title is unable to be pulled from the feed.
Feed API Vs Feeds
Firstly use Feeds (http://drupal.org/project/feeds) instead of Feed API (http://drupal.org/project/feedapi) if possible. Feeds ia the replacement for Feeds API. With the use of Feeds, CCK, FileField, ImageField and Feeds Image Grabber (http://drupal.org/project/feeds_imagegrabber) you can pull an image from the feed.
Check out the Feeds module docs here for Feeds set up guide - http://drupal.org/node/622698
Look at this tutourial for Feeds Image Grabber - http://publicmind.in/blog/tutorial-for-feeds-image-grabber/
Hope that helps.