DISQUS

Java Rants: Using Google App Engine to Extend Yahoo! Pipes

  • weboo · 1 year ago
    Nice article.

    By the way, can't you include simplejson using
    "from django.utils import simplejson"?
  • Peter Yared · 1 year ago
    Very cool!
  • sam · 1 year ago

    Nice article.


    By the way, can’t you include simplejson using

    “from django.utils import simplejson”?




    You sure can. I didn't know that was in there. Thanks!
  • edward · 1 year ago
    Nice article. Oh for 'http://javarants.appspot.com/mirror'.
  • Dharmendra · 1 year ago
    This article is real cool and practical.Keep goin!!
  • stevenmartinez · 11 months ago
    I agree with you! This was actually what I was looking for all over the net, and I am glad that I finally stumbled into your article! I love your blog and cool design you have
  • Allan · 10 months ago
    Nice article
  • Brian · 10 months ago
    Thanks for the article. Great information!

    I copied your example and python code and uploaded it but I keep getting an error in my pipe saying * Web service failure:
    An Error Occurred
    405 Method Not Allowed

    Do you have any idea why?
  • Svrist · 9 months ago
    How do you ensure that the pipe gets run with all the feed content?
    If you dont access the pipe, it looks like nothing gets passed to the webservice.
  • spullara · 9 months ago
    You need to either call the pipe on demand when you want the web service to be executed or you can subscribe to the pipe in an RSS reader like My Yahoo, Google Reader, Bloglines or something similar that will poll it periodically.
  • Bo · 8 months ago
    Does this still function. Wrote it quickly and never had it work then went to your appspot and had blank screen as well. What am I doing wrong?
  • spullara · 8 months ago
    I just tested the pipe that uses it at:

    http://pipes.yahoo.com/spullara/mirror

    And that Pipe seems to mirror the RSS feed just fine. What kind of error are you seeing?
  • Bo · 8 months ago
    so if i go to http://javarant.appspot.com/mirror - - - what should be seen? I got nada. Blank. Which is the same I get with my own. What am I missing?
  • Bo · 8 months ago
  • spullara · 8 months ago
    That link only accepts JSON POSTs so nothing really should come from it at all unless you POST JSON to it and then it will return what you post. Maybe you expected something else? You can test it out by cloning the pipe above and changing the input feed.
  • Bo · 8 months ago
    Ok. So, lets pretend I'm 5. So, I copied your pipes and the GAE Code placed it on my appspot.com location. so i've got app.yaml, and the xyz.py What would I need to do - to view the pipe JSON on my appspot.com site? Assumption is a wee bit of javascript on a page. Correct? Meaning, i need to write a little page that takes the post and makes it visible - yes? I'm very bright. If your in a cave with no light, and blind. I'm the sun.
  • spullara · 8 months ago
    Ah, maybe we are talking past one another. The code on this page is used to make call outs in the middle of a pipe execution in order to change the final result, not actually display those results on an html page. To do that I suggest you just use the code in the badges that Yahoo! Pipes gives you when you choose "Get Pipe as Badge" on a Pipe's homepage. Here is an example:

    <script src="http://pipes.yahoo.com/js/imagebadge.js">{"pipe_id":"ZKJobpaj3BGZOew9G8evXg","_btype":"image","pipe_params":{"ticker":"YHOO,GOOG,AMTD,ETFC,V,MA,VMW,EMC,C"}}</script>

    That HTML should be enough to show that pipe on your page. If I'm still confused about what you are trying to accomplish, please tell me the end result you are looking for.
  • nodaddy__com · 5 months ago
    Seems like you have everything you need to share an article on using pipes and GAE to collect RSS(es) and email them daily instead of relying upon google feedburner :)
  • Chanel purses · 5 months ago
    i read Rael Dornfest,Paul Bausch & Tara Calishain writeln's Book "Google Hacks",they are code with google API,but your code is well like they
  • Tane Piper · 2 months ago
    Thanks very much - this really helped out!