Skip to content

Instantly share code, notes, and snippets.

View julien51's full-sized avatar

Julien Genestoux julien51

View GitHub Profile
1)
'HubbubController extart_hubs_uri_for_feed_uri when the feed doesn't have any hub should return an empty array' FAILED
expected: [],
got: [] (using ==)
<iq type="set" to="[email protected]/skates_client_2522939" id="pub-481">
<feed id="">
<url>http://news.google.com/news?ned=us&amp;hl=en&amp;q=UC+Irvine&amp;output=atom</url>
<http_code>200</http_code>
<etag></etag>
<number_of_new_entries>10</number_of_new_entries>
<last_error_message>34621 bytes fetched in 0.540405s</last_error_message>
<last_fetch>2009-11-22T05:38:04Z</last_fetch>
<last_parse>2009-11-22T05:38:04Z</last_parse>
<feed_size>10</feed_size>
buildNode = function(tag, attrs){
var node = document.createElement(tag);
for(var k in attrs) {
node.setAttribute(k, attrs[k])
}
return node;
};
text = function(text) {
return document.createTextNode(text);
# Allow the metal piece to run in isolation
require(File.dirname(__FILE__) + "/../../config/environment") unless defined?(Rails)
class ExtractHubVerifyParams
def self.call(env)
request = Rack::Request.new(env)
params = request.params
if hub_verify = env["rack.input"].read.match(/hub.verify=(.*)&hub.verify=(.*)/)
params['hub.verify'] = ""
params['hub.verify'] = "#{hub_verify[1]},#{hub_verify[2]}"
<entry xmlns='http://www.w3.org/2005/Atom'>
<title>Yahoo Is Looking For A Few Good Yodelers (Or Really, Any Good Ones)</title>
<summary>&lt;img src=&quot;http://www.techcrunch.com/wp-content/uploads/2009/10/Screen-shot-2009-10-13-at-2.15.17-AM-215x184.png&quot; width=&quot;215&quot; height=&quot;184&quot; /&gt;Do you like sounding like an idiot? Does the thought of doing so in front of millions of people appeal to you? Then Yahoo has just the thing for you (or, rather, Y!ou).
Yahoo has just launched &lt;a href=&quot;http://yodelstudio.yahoo.com/us/index.php&quot;&gt;Yodel Studio&lt;/a&gt;, a site for you to yes, record yourself yodeling. The idea is for Yahoo users to remix the service&apos;s signature sound for a chance at recognition, most notably, on Yahoo&apos;s homepage which is visited by tens of millions of people each month. Yahoo is also &lt;a href=&quot;http://ycorpblog.com/2009/10/13/yodel-like-you-mean-it/&quot;&gt;pledging&lt;/a&gt; up to $130,000 for local and global charities on behalf of
pluto:superfeedr_to_blog.gae julien$ dev_appserver.rb .
=> Booting DevAppServer
=> Press Ctrl-C to shutdown server
2009-09-23 22:25:42.839 java[25315:a0b] [Java CocoaComponent compatibility mode]: Enabled
2009-09-23 22:25:42.841 java[25315:a0b] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
The server is running at http://localhost:8080/
Sep 24, 2009 5:27:15 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet
WARNING: No file found for: /index.html
#<URI::HTTP:0x2c URL:http://superfeedrdemo:[email protected]/xmlrpc.php>
Sep 24, 2009 5:27:16 AM com.google.appengine.tools.development.ApiProxyLocalImpl log
require 'rubygems'
require 'sinatra'
require 'atom'
require 'xmlrpc/client'
require 'uri'
# Make sure our template can use <%=h
helpers do
include Rack::Utils
alias_method :h, :escape_html
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>TechCrunch</title>
<atom:link href="http://feedproxy.google.com/TechCrunch" rel="self" type="application/rss+xml" />
<link>http://www.techcrunch.com</link>
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>TechCrunch</title>
<atom:link href="http://feedproxy.google.com/TechCrunch" rel="self" type="application/rss+xml" />
<link>http://www.techcrunch.com</link>
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>TechCrunch</title>
<atom:link href="http://feedproxy.google.com/TechCrunch" rel="self" type="application/rss+xml" />
<link>http://www.techcrunch.com</link>