Community Documentation

Aggregating video feeds with FeedAPI Mapper

Last updated April 3, 2009. Created by jbrown on April 3, 2009.
Log in to edit this page.

Feed Element Mapper is an add-on module for FeedAPI that maps a feed's elements such as tags or (in this case) videos to taxonomy or CCK fields on your site.

This enables your site to aggregate videos from other sites.

The following instructions assume that you have already setup a content type with a op_video field and that your site has been configured to transcode. Your php installation needs to have cURL support.

  1. Install feedapi and feedapi_mapper on your site.
  2. Download SimplePie and copy the file simplepie.inc from the archive to feedapi/parser_simplepie. It is necessary to use SimplePie parser, as Common syndication parser does not support enclosures.
  3. Enable the following modules:
    • FeedAPI Mapper
    • FeedAPI Node Views
    • FeedAPI
    • FeedAPI Node
    • SimplePie parser
  4. Check admin/logs/status to ensure that SimplePie has been installed correctly.
  5. Go to node/add/feedapi-node. Scroll down and enter your video feed url, e.g. http://www.lullabot.com/videocast/feed.
  6. Do not select 'Update existing feed items' as this will cause all the videos in the feed to be retranscoded every time the feed changes.
  7. Click on 'Processors' and select your node type that has an op_video field.
  8. Click 'Submit' and then click on the 'Map' tab.
  9. Scroll down to 'options->enclosures->video' and select the op_video option.
  10. Scroll down to the bottom and click 'Update', then click the 'Refresh' tab.
  11. Click on the 'Feed items' link - the videos have not yet been transcoded.
  12. Run cron.php / wait for it to run and the videos will appear.

Page status

Needs updating

Log in to edit this page

About this page

Drupal version
Drupal 5.x
Audience
Site administrators

Site Building Guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here