Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
Created February 15, 2012 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JakubOboza/1834905 to your computer and use it in GitHub Desktop.
Save JakubOboza/1834905 to your computer and use it in GitHub Desktop.
requester.get("http://pudelek.pl", {}, function(window){
var headings = [];
window.$(".entry").each(function(i, e){
var el = window.$(e).find(".header h3 a");
headings.push({href: el.attr('href'), title: el.text()} );
});
response({data:headings, kuba: "jakub"});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment