Feed API + Emfield Recipe Screencast

seaneffel's picture
public
seaneffel - Sat, 2008-04-19 00:44

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.


Can you have different feeds create the same node type with...

rl@drupal.org's picture
rl@drupal.org - Sat, 2008-05-03 02:13

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...

Alex UA's picture
Alex UA - Mon, 2008-05-05 15:54

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


But on a broader scale?

seaneffel's picture
seaneffel - Wed, 2008-05-07 18:46

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...

Alex UA's picture
Alex UA - Wed, 2008-05-07 18:56

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


Kittens minus puppies

seaneffel's picture
seaneffel - Wed, 2008-05-07 18:42

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.


Good Video Tutorial

dotty@drupal.org - Fri, 2008-06-06 21:06

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 ...