Badge Any Feed with Yahoo! Pipes .:. kentbrewster.com

Terribly sorry about this, but the Badger died with Yahoo! Pipes. If you need to see something that used to be on this page, feel free to view source.

Comments from before Disqus:

Kent Brewster .:. 2010-04-22 20:17:28
Sure, Thomas. All my code is CC-attributed, so knock yourself out.
Thomas .:. 2010-04-22 02:45:03
Is it ok for me to edit this a wee bit, i can keep any signature in the comments if you wish?
Holly Cairns .:. 2010-03-25 07:06:26
Hi, regarding the wrap, I did figure it out (for me anyway). I took out overflow:hidden and added overflow:auto and instead of white-space:nowrap it's white-space:wrap . Seems to work.
Hey Kent .:. 2010-03-25 06:37:50
Thanks a million for the badge. I love it! Is there a way to wrap text so there is no overflow (that is hidden)? I'd appreciate the code.
Soccer .:. 2010-03-02 09:51:51
Really great idea but am having a little trouble implementing it for my world cup news feed. Will give it another try though, in any case, thanks for making it available.
Drew .:. 2010-02-14 10:30:19
Hey Kent,

I can't get anything to work for me. I think I've tried a lot of the suggestions already, e.g. Stephanie and Paul, but no go.

I'm trying to make a javascript widget for my eBay listings. The eBay feed (with photos) is


http://shop.ebay.com/beyondelite/m.html?_ipg=200&_rss=1&_sc=1&_sop=1

I also made a simple pipe with the feed. The pipe's rss feed is

http://pipes.yahoo.com/pipes/pipe.run?_id=507d02fcfecc2570bafc6179a13db685&_render=rss

Basically my feed doesn't come through in the widget.

I also tried using the json output & ping solution. no go.

Help?
tommy .:. 2010-01-04 13:28:54
I just tried to use this script and it didn't work for me -- is this still working or is there a newer version? Thanks.
Kent Brewster .:. 2009-12-09 08:28:49
Ramon: sure, go for it. Please cite me in the source code, like this:

Based on Kent Brewster's "Badge Any Feed With Yahoo! Pipes" script, at htttp://kentbrewster.com/badger

Have fun, and please post a link back here when you have something running.
Ramon1982 .:. 2009-12-07 07:20:33
Hey Kent, nice code. Do you allow any editing on the code itself and consider it being freeware. I´m not going to butcher it and ill give credit to the original author. I just want to test it for some other purpose and see if it works. So do you allow editing of the code? :) thanks
JohnV .:. 2009-11-23 03:39:35
I have used Yahoo Pipe for RSS indexing- I put all my backlink RSS feeds in the Yahoo Pipe and then ping it and I have seen some great results.
David .:. 2009-11-06 03:38:14
I have a question that I havent found a good answer for and this is when I put all my backlink websites in the yahoo pipe, is it a good way to index all the links if I ping my pipe or isnt that the best way?
David .:. 2009-10-18 12:14:35
I just found Yahoo pipes and I am really interested in it, I am trying to learn how to use it very soon and find out the main power behind yahoo pipes, this post helped me a lot, thanks.
Kurt Helf .:. 2009-08-25 09:56:54
Kent
Is it possible to post multiple badges on one page? Also, the Technorati search via Yahoo! Pipes: is it possible to convert that for use with other feeds?
Debbie .:. 2009-07-10 13:14:32
Hi,
I can't get my feed to pull in any output. I tried the code you suggested for Stephanie and Paul; I get output with that -- but it's not coming from my Pipes feed. Please help.
Thanks.
Brossia .:. 2009-04-13 18:43:48
Thank you for the wonderful badge maker it sure makes things easier when posting my blog to my site. I have a question though, is there a way to limit the number of viewable links from the blog? Say I want only 5 of the latest topics to show? Also I can't seem to get the expand feature to work not sure what I missed any help would be appreciated-Brossia
Rajaram S .:. 2009-03-10 11:55:45
hi Kent ..I see that you have answered a similar query regarding using custom pipes on your badger, but i couldnt understand the part "wrap it in a callback,".
What i did ( as per --change the last line-- instruction)
I changed ""

to



I am sure I am doing something wrong ..can upl point it out for me ..thx a lot
Rajaram S .:. 2009-03-10 11:25:24
hi kent ..your badge works great for simgle feeds, but i am not able to get it working for the rss generated from the yahoo pipes site. For eg:, I added 3 feeds to one pipe and then generated the rss for it. The rss is http://pipes.yahoo.com/pipes/pipe.run?_id=LKvpUYwN3hGqSPncPm7D0g&_render=rss . When i input this in your badge, i dont get any output. Am i doing something wrong ?
thx in advance for your time
edhombre .:. 2009-02-19 08:50:01
Hiya Kent!

Little bit new to all of this having real trouble making this work with the output of a yahoo pipe... I'm sure that this is just a simple error on my part but the badge just shows no content when I enter a yahoo pipes url whilst sevices like friendfeed pick up the content just fine...

e.g. http://pipes.yahoo.com/pipes/pipe.run?_id=dhdte0m92xGtm1PZlfXiAA&_render=rss

Help!
Eric Harding .:. 2009-02-02 11:49:44
I tried cloning your pipe (http://pipes.yahoo.com/badger/cc702611d7151d38f860106f67f05ff5) but when I try to use cc702611d7151d38f860106f67f05ff5 instead of the default on line 4 I get a syntax error.


Eric
dude .:. 2009-01-23 22:28:39
Thanks for this cool badge Kent =) Can I include more than 2 instances of this badge on the same (one)page? I tried but doesn't work... have a nice day!
hellmont .:. 2008-12-07 17:58:48
Oh nevermind, I just did it, thank you anyways!
hellmont .:. 2008-12-07 17:47:37
Hey kent, nice work, I wanted to know if it's possible to start the badge as closed? Thanks!
Mike Barnard .:. 2008-04-06 09:36:10
Hi and thanks for a great looking and useful technology. If I can get it to work! :)

I was passed the link to your site by someone on usenet, alt.html. I'm new to this so I need a little bit of hand holding. The bit I don't understand at the moment is the URL's.

I have logged on to Yahoo, made a pipe and pressed the 'publish' button and I can see a good feed. But, copying the pipes url doesn't seem to do anything on your 'badge'.

http://pipes.yahoo.com/firenews/8GbP6_wD3RGDXk_VjUnRlg seems to be the pipe I created on Yahoo under my login. (However I don't see anywhere on Yahoo that one can go to to see peoples 'published' pipes so I don't know if this URL is private or public.)

http://newsapi.bbc.co.uk/feeds/search/news+sport/fire
This is the URL of the BBC feed I am using.

And my website url is www.thermachek.com. I would like to put this feed in all my right hand columns which are created from a PHP include. How deep a URL do you need for that?

Hoping you can explain a little more please. Mike.

Kent Brewster .:. 2008-03-12 09:58:57
Typesetter: right, this isn't going to help jump up your search engine rankings. You could do the exact same thing with PHP and inline the results; they would show in your source code, and would be seen by search engines. (Personally I'd work on creating compelling original content instead of figuring out better ways to leech from others ... but that's just me.)

LuckyCharms and Stobe: can you point me at an URL?

SeaBird: sure, you can use multiple feeds. Open up the pipe, drag in another Get Feed module, and use the Union module to join them both up into one feed.
Typesetter Maven .:. 2008-03-12 08:18:50
AFAIK the javascript isn't search engine friendly so doesn't serve the purpose of keeping my index page fresh. Is this true? And if so is there an alternative or workaround that makes this SEO friendly?

Cheers - JoC
LuckyCharms72 .:. 2008-03-07 20:12:56
I've made a pipe but am completely confused about how to get it on my website.
The pipe URL is http://pipes.yahoo.com/pipes/pipe.info?_id=b690845a99a7325384b72e75b666e2b8
I've tried creating a badge with this as the Page URL and Feed URL but I am obviously doing something wrong. Just the banner shows up. Any help for a newbie is appreciated. Thanks.
SeaBird .:. 2008-03-07 13:32:57
This is awesome! A couple of questions - is there anyway to incporate feeds from more than one site? And can i chagne the appearance of the font in the feed? Thanks!!
stobe .:. 2008-03-03 12:10:49
the last line of original generated code again: http://pipes.yahoo.com/pipes/Bu8sIkUH3BGA6wD_CB2yXQ/run?_render=json&_callback=KENTBREW_08bc.badger.pingFeed&s=...
stobe .:. 2008-03-03 12:08:41
This badge is great! My blog just will not show the feed items. I'm trying to get my private for:stobe del.icio.us links to show in the sidebar of my blog. I cloned your pipe and it works in yahoo.pipes: http://pipes.yahoo.com/pipes/pipe.info?_id=44cccb9fc79b85bb1610fb8ed4067348

I changed the id I got from your generator to match my clones (longer)id. Here's the last line of the generated code:
Kent Brewster .:. 2008-01-15 08:37:53
Cool, you're welcome. Can I see where you're using it, please? Always curious....
Wolf .:. 2008-01-14 21:25:06
WOW! Thanks you saved my day!
Kent Brewster .:. 2008-01-07 18:12:43
Stephanie: doesn't it? Good for you!

Paul: okay, I see your pipe. It's got quite a few sources, so it took a long time to run the first time I tried it; you might want to cut it down a bit. If I have time in the near future I will pull together a quick tutorial for using the Badger with custom pipes; the exact same advice I gave Stephanie should work for you in the meantime, however.

Instead of calling Pipes twice, take your custom pipe, tell it you want JSON instead of RSS, wrap it in a callback, and send the result straight back to your badge. To do this, change the script source on the very last line, so it looks like this:

http://pipes.yahoo.com/pipes/pipe.run?
_id=OHNs7xT82xGj4FoLlfXiAA
&_render=json
&_callback=KENTBREW_ABCD.badger.pingFeed

IMPORTANT: all of this has to go on ONE LINE with NO SPACES, and you MUST change the four letters after KENTBREW_ -- which are currently set to KENTBREW_ABCD -- to match the four characters that the Badger gave you for your main object when you created your badge.

Paul Kelly .:. 2008-01-04 02:14:39
Hi Kent
Pipe URL: http://pipes.yahoo.com/pipes/pipe.info?_id=OHNs7xT82xGj4FoLlfXiAA
I don't have a website running right now, but I've setup up a site in dreamweaver called www.paul12.com At the moment I don't have an ftp server setup for that site. I take it that I would need one, and if so, which server technology should I use to make use of RSS feeds? I hope to use mashed up RSS feeds in my news website that link directly the articles on other news websites.
Stephanie .:. 2008-01-03 15:10:08
Wait, I figured it out!! YAY!! It feels so good when you figure something out. :)
Stephanie .:. 2008-01-03 14:52:29
Thanks Kent. I realize I'm moving to the varsity level now, lol. I'm still a but lost, and that is frustrating me to no end! Where do I put the code you listed below?
Kent Brewster .:. 2008-01-02 11:05:53
Hi, Paul. May I have an URL, please? Can't tell what's going on if I can't see it. :)

Two recommendations: ditch Dreamweaver and use a text editor--such as TextPad--for your development needs. And as I said to Stephanie below, you should paste the page you want your users to see into Page URL, not your Pipes page.
Paul Kelly .:. 2008-01-01 05:37:21
Hi Kent, i pasted the badge into dreamweaver. When i test it the badge is visible,and the heading is "SA NEWS". When I click on that it links me back to Yahoo Pipes where the custom feed is. I was expecting, correct if I'm wrong, but for the feeds to appear in Dreamweaver automatically under the heading of SA NEWS, so if I clicked on it, or rolled over, the feeds would appear on my website, and link directly to the articles on those websites. Very new to this, any help would be much appreciated. Just so you know Im testing the waters to develop a South African news website, very RSS reliant, hopefully via Yahoo Pipes and RSS Dreamfeeder.
Kent Brewster .:. 2007-12-31 08:37:31
Hi, Stephanie. You're building a custom pipe to power your badge, which is what the karate instructors call "an advanced move." :)

Instead of calling Pipes twice, take your custom pipe, tell it you want JSON instead of RSS, wrap it in a callback, and send the result straight back to your badge. To do this, change the script source on the very last line, so it looks like this:

http://pipes.yahoo.com/pipes/pipe.run?
_id=mi5Npzm33BGDpy_tAsqenA
&_render=json
&_callback=KENTBREW_ABCD.badger.pingFeed

IMPORTANT: all of this has to go on ONE LINE with NO SPACES, and you MUST change the four letters after KENTBREW_ -- which are currently set to KENTBREW_ABCD -- to match the four characters that the Badger gave you for your main object when you created your badge.

Also a suggestion: Unless I'm missing something, you want them to come to your page--not the Pipes editor--when they click your headline. In the Page URL blank, put http://www.flourishbaby.com, not the link to your pipe.

Really great to see the Badger working some custom pipes! Carry on!
Stephanie .:. 2007-12-30 17:41:20
What am I doing wrong? I'm inserting the pipe page URL (http://pipes.yahoo.com/pipes/pipe.edit?_id=mi5Npzm33BGDpy_tAsqenA) and the RSS feed url (http://pipes.yahoo.com/pipes/pipe.run?_id=mi5Npzm33BGDpy_tAsqenA&_render=rss) and it's not working?
Kent Brewster .:. 2007-12-26 14:31:09
Sorry, took a couple days off for solstice-related activities ... instead of _render=rss, you need _render=json, and you will also need _callback=KENTBREW_abcd.badger.pingFeed, or whatever your callback function is named. The badge won't work if the return from Pipes isn't in JSON format, wrapped in a callback function.

If you just want to change feeds, why not start from scratch with the form on this page? This worked for me.
Dennis .:. 2007-12-23 13:33:45
http://pipes.yahoo.com/pipes/pipe.run?_id=6d903d30d7bb6be166530342c294221d&_render=rss&s=http%3A%2F%2Fpipes.yahoo.com%2Fpipes%2Fpipe.run%3F_id%3De581a1f0f42aabfc46cc8e5377ebf21a%26_render%3Drss

This is the feed address as saved in my browser as a feed. The last link came from the pipes page.
Dennis .:. 2007-12-23 13:11:25
http://pipes.yahoo.com/dbsnova/6d903d30d7bb6be166530342c294221d

Still having ID problems. It looks like they changed the ID method. Not sure. How do I use this, or what part of it belongs in your code? I changed websites and feeds.
Dennis .:. 2007-12-23 11:45:05
Thank You, I really like your work. I'm still having issues with ID numbers. Some are more than 22 characters and they don't seem to work. There must be a secret here. please share. I am trying to modify the badge to a different site. I noticed that your code has JSON in the final URL. My new site has RSS, XML. Could that be the problem?
Kent Brewster .:. 2007-12-22 19:05:38
Looks great, Dennis. I like the way you centered up the post titles!
Dennis .:. 2007-12-22 12:10:21
I think I got it...
Dennis .:. 2007-12-21 16:53:01
Coolest Badge ever, Yhank you. ??? I know this is begginer stuff but where do I find the yahoo pipe ID? I'm using the blog URL (http://jewelsofawe.ning.com/profiles/blog/show?id=1772423%3ABlogPost%3A353) and it works but I would like to complete the task and put in the correct ID. The ID shown in the URL is more than 22 characters.
Thanks
Kent Brewster .:. 2007-12-11 17:40:17
Hi, Shane. Sorry, looks like my quasi-broken post form has (again) misbehaved. Yes, once you get your badge working, you should substitute your new pipe's URL for the default pipe. Mine looks like this:

http://pipes.yahoo.com/pipes/Bu8sIkUH3BGA6wD_CB2yXQ/

Yours will have a different stream of gibberish after the "pipes" portion of the URL. This is your pipe's unique ID, which you should use.
shane o .:. 2007-12-11 17:22:49
Hi Kent,

Great Pipe. I have got it working with your pipe but when i clone it and try to get it working with my cloned pipe i get a blank list. When you say change the pipe id i assume your taking about the pipe url id here "
humanform .:. 2007-12-11 16:44:17
Worked great. Thanks again, Kent!
Kent Brewster .:. 2007-12-04 15:28:15
Aha. My bad; the silly post form was swallowing the plus-signs. Let's try this again:

Where you see this:

for (var i = 0; i < feed.value.items.length; i++ )

substitute this:

var myCount = feed.value.items.length;
if (myCount > 5) { myCount = 5; }
for (var i = 0; i < myCount; i++ )

Sorry about that!
humanform .:. 2007-12-03 09:08:32
Thanks for your quick response Kent. When I substitute the code you gave, the progress indicator keeps spinning and never loads. Here's a section of the code--am I missing a bracket or parenthesis somewhere?:

if(feed.value.items.length)var myCount = feed.value.items.length;
if (myCount > 5) { myCount = 5; }
for (var i = 0; i < myCount; i ){var li=document.createElement("li");

Thanks!
Kent Brewster .:. 2007-11-30 14:10:56
Rawbs: please try editing your HTML with textpad, or some other plain text editor. I've had very bad luck with Dreamweaver; it tries to "do what I mean" and fails. Are you using Firefox? If so, are you using Firebug? If so, are you seeing any JavaScript errors go by?

Humanform: thanks for the nice words. Yes, you can change the number of items displayed. Where you see this:

for (var i = 0; i < feed.value.items.length; i )

substitute this:

var myCount = feed.value.items.length;
if (myCount > 5) { myCount = 5; }
for (var i = 0; i < myCount; i )

This will check to be sure you have at least five items, cut it off at five if so, and show all of them if not. Hope this helps; thanks again for using the Badger!
humanform .:. 2007-11-30 06:46:10
Hi Kent,
Your badger is great. I would like to know if there is a way to limit the number of news feeds it pulls. For instance, I would like my badger to display only the first five 5 articles from a page that has 20.
Thanks for your help.
rawbs .:. 2007-11-26 09:15:09
Hey there..... Last night I put the badger feed code into dreamweaver and it was working perfectly in Firefox. Today I opened my index page in firefox and safari and the feed wasnt producing any results both in the technorati search engine and my html page. The rss window still shows up but doesnt produce any link results, and last night it was working perfectly....please help :-(
Kent Brewster .:. 2007-11-26 09:15:09
Sorry, I'd need to see the code to figure it out. Could you please copy and paste the link that shows under "get this for your page" into another comment?
Rawbs .:. 2007-11-26 09:15:09
get this for your page (this is one of my six links not working)
Kent Brewster .:. 2007-11-26 09:15:09
Okay, here's what Pipes is giving back for your query:

KENTBREW.badger.pingFeed( {
"count":0,
"value": {
"title":"Badger2: http:\/\/kentbrewster.com\/badger",
"description":"Pipes output",
"link":"http:\/\/pipes.yahoo.com\/pipes\/pipe.info?_id=Bu8sIkUH3BGA6wD_CB2yXQ",
"pubDate":"Thu, 27 Sep 2007 19:53:28 PDT",
"generator":"http:\/\/pipes.yahoo.com\/pipes\/",
"callback":"KENTBREW.badger.pingFeed",
"items":[]
}
})

Since the items[] object is empty, this says to me that the problem is with your pipe, not your badge. If this is your query:

http://feeds.technorati.com/search/evermore/band/language=x3den

... please take a look at it. I'm not seeing any results.
Rawbs .:. 2007-11-26 09:15:09
The feed is coming from technorati, the search engine is producing the results I want in technorati but as soon as I paste the url and feed link into badger and badgify....the feed returns nothing.....there is something blocking the feed coming from technorati. I managed to get it right the other night and it was working fine but the next day the feed wasnt coming through. When I click on the header in my badge "evermore hot list" it takes me to the very feed I am looking for in a new window in technorati. I have tried to recopy and repaste the url and rss link from technorati but it shows nothing in the badge. I tried another site www.topix.com and it worked perfectly when I badgify....thanks for your time
Rawbs .:. 2007-11-26 09:15:09
In my Igoogle page I added the feed but it says "information temporarily unavailable"
Kent Brewster .:. 2007-11-26 09:15:09
Yes, agreed: sounds like something's up with the feed. Exactly what are you searching for, please?
Rawbs .:. 2007-11-26 09:15:09
I am searching for information on 6 rock bands......gig guides, and any other information relating to them. The bands are Evermore, Powderfinger, goo goo dolls, Eskimo Joe, Snow Patrol and Prime Circle - (Prime Circle is a South African band.) Its a pity....technorati supplied good information.....frustrating the feed is not working :-(
Kent Brewster .:. 2007-11-26 09:15:09
Sounds like you want to build a custom pipe. Here's a start:

http://pipes.yahoo.com/pipes/pipe.run?_id=Ej__pt9t3BGKfcRJ8ivLAg

It needs another union for the sixth band. Also, the searches aren't totally solid, especially the one for Evermore, which I've tried to restrict to entertainment sources from New Zealand.

Once you're happy that the pipe works, you ought to be able to drop the id (Ej__pt9t3BGKfcRJ8ivLAg) into your badge's source and have it run. If you publish this in public, please remove the "get this" link, or change it to a page on your domain explaining how you did it.
Rawbs .:. 2007-11-26 09:15:09
Please advise to the below comment......I dont fully understand the process.....I am pretty new at this :-/

Thanks
Kent Brewster .:. 2007-11-26 09:15:09
In your page source, substitute this:

Ej__pt9t3BGKfcRJ8ivLAg

... for your current pipe ID. Run it, and see if it works.
Kent Brewster .:. 2007-11-15 12:54:03
Joe: looks like Feedfire isn't being refreshed. The feed Pipes is grabbing:

http://www.feedfire.com/site/rss.cgi?ChanContentId=023135

... does not match the current output here:

http://backwebs.homenetinc.com/breseechevrolet/browse2.asp?param_new-used=used

Joe .:. 2007-11-15 11:55:33
Kent,
I see that the output: http://www.new-traffic.com/rssfeed.htm is not current. The source page is: http://backwebs.homenetinc.com/breseechevrolet/browse2.asp?param_new-used=used

It looks as if the The output page captured the source page once and does not refresh.

Clueless in Syracuse,
Joe
Joe .:. 2007-11-15 11:28:23
Yes Kent, after my post I split up the code (as per your instructions above) and it worked wonderfully!

Many thnx!
Joe
Kent Brewster .:. 2007-11-08 22:37:46
Thanks for the kind words, Joe. Both URLs you posted seems to be working ... are you seeing this too?
Joe .:. 2007-11-08 11:02:17
Hi Kent,
Love your work.
I made a blog for my fiancee' and would love to use your badge to automatically feed inventory to it.

I got it to work on a blank page: http://www.new-traffic.com/rssfeed.htm

But, when I post it to her Blog: http://usedcarqueen.com/new-arrivals/ it looks like it stalls and can't connect to pipes.

I believe the solution is in your description "... If you leave the script blocks in the middle of your page, it may hang up waiting for the content to come down from Pipes."

If this is the problem, where do you think I should drop the script ? Into the footer.php, the style.css?

Thnx,
Joe
Kent Brewster .:. 2007-11-08 08:13:56
Glad to hear it, Becky. Please let me know if it breaks again.
Becky .:. 2007-11-07 17:07:55
Thank you for looking into it. It seems to be working now so maybe I prematurely posted the problem or the authorities fixed whatever it was they weren't liking.

Love the badge! It's a great addition to my site...
Kent Brewster .:. 2007-11-07 11:09:33
Okay, that's officially weird. Pipes doesn't seem to like your feed for some reason; everything else I've checked seems to work fine. I've alerted the proper authorities ... if they can't figure out what's up with Pipes, I'll look into your output again and see if I can't do a one-off badge for you. Sorry for the trouble!