I learned something cool: client-side transclusion
by Sue
I just learned that you can scrape websites with jQuery using .load()
This is called client-side transclusion. I can take content from one page and load it into a container on another using the following:
$(".container").load("contentpage.html ul#idselector", function callback(){ //callback });
The load method calls the page containing the content you want (contentpage.html) and after you can put the selector of the content you want so that you don’t have to load the entire page.
This is rad and I love it.