Posted by seaneffel on April 19, 2008 at 12:44am
The blog post on Drupaltherapy
Hosted on Blip
Here is a quick recipe that uses Drupal's Feed API, Feed Element Mapper, CCK and the Embedded Media Field to create independent embedded video nodes on your Drupal site by RSS. This is my first screencast and first contribution to the Drupal Dojo, I followed the specs on the other discussions as best I could, consider adding this to the Dojo video pool.
Comments
Can you have different feeds create the same node type with...
In this this set up creating nodes from a Blip RSS feed, can you have different feeds create the same node type with a different taxonomy term?
For example:
Kittens RSS feed -> Video node with Kittens taxonomy term
Dogs RSS feed -> Video node with Dogs taxonomy term selected.
you get the idea.
Then views can be created based upon the taxonomy term and possible an exposed filter.
Any thoughts.
BTW, great post.
Rich
Not necessary...
If I'm understanding you correctly, taxonomy is probably not the best way to go about this. FeedAPI comes packaged with a "filter by parent (nid)", and my partner Jody recently submitted a patch that allows you to "filter by parent node (title)". So, in order to change the filter term, just change the title of your feed node. If you check out the Drupal Video Planet I put up on my site you can see this in action.
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
But on a broader scale?
I didn't see this feature while making the screenie, is this "filter by parent node" function exposed to Views? I think what RL wants in the end is to get tactility in custom views.
Arguments...
Actually, I misspoke in my last post- while there are filters for FeedAPI, this actually requires an argument. Jody submitted the argument I mention above as a patch to feedapi, but it hasn't been reviewed by anyone else and has not been added to the dev release of feedapi yet, so you'll need to patch feedapi before you can use this method.
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology
Kittens minus puppies
RL, thanks for the note.
I don't see any reason why you couldn't. In the context of this example, tags stamped on to your feed node will carry across to the child movie nodes. You could make two separately tagged feed nodes, one "kittens" and one "puppies", configure the Feed API settings to create movie nodes with each feed item and carry over taxonomy terms, and end up with a large pool of cat and dog movie nodes that are appropriately tagged on your own site.
But, how will you prevent duplicates? What if some fool (damn fool) has tagged a video with both kittens AND puppies? Then you've got the same node created twice on your site.
With some of these video services you can make up some good tag searches, like "kittens -puppies" (kittens minus puppies) to cut back on dupes. Or just pull one feed with both terms in the search.
There are a lot of places in this recipe where you can experiment to get what you need.
You can also use
You can also use relationships :)
Good Video Tutorial
Thank you very much for presentation. It saved so much of my time. I like the way you presented the recipe in small window while you are talking ..how did you got this.....may be off the topic but could you point me to some links or information on how to create video with tool tips etc in between ...
Yea thank you for all of your tutorials....
Hey I was just wondering if anyone might know why my Edit section in the Feed Element Mapper doesn't populate? Plus when I installed Feed API it doesn't populate an automatic Feed Content Type either. Does anyone else have these problems. Can anyone help me out this combo install is quite difficult and I am pretty new at Drupal. Any assistance would be greatly appreciated.
Thanks...
Feeds (and not Feed_API) + Emfield ? ny thots?
Sean thanks for the amazing screencast . Just wanted to knw if same can be done with the latest replacement of feed_api module FEEDS.
Any suggestions on this would be deeply appreciated.. Thanks.
Bhambry