The major new feature of OpenPackage Video 5.x-3.8 is integration with Feed Element Mapper (feedapi_mapper).
The development of this functionality was sponsored by Hudson Street Media using our bounty system:
http://openpackage.biz/bounty/15
http://openpackage.biz/bounty/14
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.
I have set up various video feeds on our site as a demonstration. Click on the 'Feed item' links to view the videos.
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.
- Install feedapi and feedapi_mapper on your site.
- 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.
- Enable the following modules:
- FeedAPI Mapper
- FeedAPI Node Views
- FeedAPI
- FeedAPI Node
- SimplePie parser
- Check admin/logs/status to ensure that SimplePie has been installed correctly.
- Go to node/add/feedapi-node. Scroll down and enter your video feed url, e.g. http://www.lullabot.com/videocast/feed.
- 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.
- Click on 'Processors' and select your node type that has an op_video field.
- Click 'Submit' and then click on the 'Map' tab.
- Scroll down to 'options->enclosures->video' and select the op_video option.
- Scroll down to the bottom and click 'Update', then click the 'Refresh' tab.
- Click on the 'Feed items' link - the videos have not yet been transcoded.
- Run cron.php / wait for it to run and the videos will appear.