Feed API + Emfield Screencast

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 our first screencast and first contribution to the Drupal Dojo, hopefully you will find this interesting and try it out yourself. As usual, feedback is greatly appreciated.

Comments

very useful! dkz

thank you, thank you, thank you!
very useful!

Yeah! This combo works Great!!! I use it to augment my news website!!! Check it out to see what you can do with Youtube.

Sure would be nice to see more videos about what else I can do with all the rest of these cck fields and element mapper.

Video News  - Good Times Society

When I follow these steps in a clean install of drupal 6.12, it works. However, if I do exactly the same thing in my existing drupal sites, it doesn't work. Please suggest why this is happening.

I couldn't say without knowing the story on your existing sites. You would have to tell me what happens on your existing sites when you try it, where does it break, what results you get. Also check your versions on Drupal and the modules.

Sean,

Back for another question.

Are you able to use the custom URL feature and have the videos display? I've tried a variety of combinations without success. They end up like feed items without the mapping to emfield.

Thanks,

Jerry

PS - What's the scoop on moving to the Media Module?

Which custom url feature? Do you mean the one built in to core called "Path" where nodes can have custom urls set by users, or do you mean the custom url as a method for hotlinking hosted video files into emfield? I need more info to help you with either case.

Yeah pretty vague. Sorry about that.

I am referring to the selection custom URL configuration as a provider in the embedded media field configuration.

I have selected allow content from custom URL and it does pull the feed and create nodes but without the actual video. Similar result as the section of your instruction before mapping is done.

I'm afraid that I couldn't help you with that one. Once you step into the custom URL area of emfield, you are there because you are working with video providers that no one has a method for yet. Unfortunately it would be up to you to suss it out, and I would probably start by getting in touch directly with the people who publish the source of your RSS feed. Maybe they can tell you more about it that would lead to a solution.

I enjoyed the screencast, but I can't get it working since it's not possible to find FeedAPI Node Views for Drupal 6.

Could you remake this screencast for D6 users?

Thanks.

Sean,

Your excellent instruction is providing great new content for my readers. Thanks.

I have an editing question. Is it possible to edit the bar below the emfield? The bar displays add comment, feed:whatever, original article.

My readers are constantly clicking on the Feed:whatever link which sends them to an access denied screen. I would like to kill the link or remove this from view, only I can't find where this can be done. Any ideas?

Thanks,
--Jerry

You could hide the link with CSS, since it's such a small operation. A little {display: none;} property would do it. On a heftier level, you should create custom theme tpl.php files to override the output of that node type and display the links however you like. Good luck.

thank you very much this is chat sites..

Excellent!!
Many thanks, indeed.

Hi its good video but i have problem in emfiled i have created a content type video with embeded video filed and created a content with it the problem is the check box in "promoted to front page" if i have not checked it , the content is still displaying in front page and if i edited the same content again with uncheck the same check box it still getting the same problem it defaultly check the box but i dont to display it to front page what should i do pls help me in this issue i will be gratefull

Hi
I got it u have to name the filed same as "emfield" otherwise it will not get effected pls try this one

this is great. i tried to replicate in D6, but cant seem to get the feed to display the embeds. any links where this process is documented for D6. i understand how its all working, but something is up. thanks!

this old dog finds it easy to learn new tricks with such a clear and concise tutorial. thanks

thanks for all the great insights. . . wonder if u have had success with the emfield & feed api solution with archive.org video's?

Hi Sean, I'm trying to use feedapi to pull content from another drupal site, only nodes with some cck text fields, nothing fancy. I built a rss view on the source site with the nodes I want to share and then add the rss with feedapi on the target site, the problem is that I can't map the cck values into another cck fields.

How can I map content from other drupal sites?

Thanks

Another great screencast! thanks Sean, I managed it to work in D6, just can't do it using youtube as source, is there something diferent with it?

Thanks again!

Great Video. I've been thinking about this concept for a while, but didn't realize that modules for it already exist. Now I'm going to go off an test it out a bit.

By the way, what video creation/capture software do you use?

I got the feedapi working, but the node created by feedapi not show up on my latest video block, which is created using Views for the same content type, but I manually create the nodes)? Is there anyway to do that?

Thank you for the great video. It is very easy to understand, and help me make my site.

Thanks a lot for the video. I had some problems getting FeedAPI to work. After watching the video everything was clear and I got things working in 15 minutes.

Sean,

Using 6.x I was able to create a few nice feeds with embedded video. Thanks.

My shortcoming is displaying the content the way I would like. I'm giving it all a try but struggle finding the solution. Lacking a good understanding of CCK, URL aliases, taxonomy isn't helping. Then trying to get views to build a page from the messes I create is overwhelming. Can you answer me this. How do you create a new path? I want to use views to show all nodes in a path named /video. My attempts have failed using limited knowledge of the above. Frankly there lacks good instruction about using Drupal and what you have here is easily understood.

Thanks,

Jerry

Hi Sean,

View Bonus pack is not available for Drupal 6.X. Would this be possible without that module?

Ashish

I was using the Views Bonus Pack because I wanted to show a cool grid style display in Drupal 5. A grid style display is already built into Views for Drupal 6. Mind you, the configuration for this recipe in D6 will look quite a bit different even if the principles and approach are the same - Views for D6 was overhauled.

Can you check with blip.tv and find out why this video in the series is only playing once. If play again, or just again, is selected the video never loads. Loading in different format does not help.

Thanks

Thank you very much for this useful article and the comments. Great tutorial Sean. Introduced me to a couple modules to look chat into and you explained how they interact really well. Thanks!

Thank you for this tutorial. I want to create a node that has a video thumbnail and two links. One to my quicktime server and the other to my windows server. What's your advice?

Excuse my poor english and my ignorance.

Thank you, this tutorial was helpful and got right to the heart of the problem I was trying to solve.

Cool. Tried it and works great. Clear and accurate. Thanks!

thx man, nice screencast. It worked fine for me and i learned something.
thx

Great tutorial Sean. Introduced me to a couple modules to look into and you explained how they interact really well. Thanks!

Nice one. Is there any way we can assign taxonomy terms to feed nodes imported automattically?

FeedAPI mapper itself allows assignment of taxonomy terms based on elements from the feed that you can map to a vocabulary as demonstrated in this screencast:
http://www.developmentseed.org/blog/2007/oct/30/pick-it-feed-stick-it-node

thanks for information...

I believe this is possible. There is a feed taxonomy module, and you would assign feed content types with taxonomy of your choice and then configure the resulting movie nodes to inherit the taxonomy on creation.

Thanks, Sean. I've just enjoyed your screencasts and they rock! Very straight to the point, for common tasks whose fulfillment isn't trivial. Very helpful!

Thank you very much Sean. It's really upto the point and very very helpful !

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options