Skip to main content

Home/ javascript/ Group items tagged yql

Rss Feed Group items tagged

Mike Chelen

Data scraping with YQL and jQuery | kelvinluck.com - 0 views

  • need a list of all the US National Parks in XML format
  • grab the data from this list on Wikipedia
  • navigating a HTML DOM
  • ...9 more annotations...
  • jQuery to parse the data
  • XPath to your YQL
  • relevant table from the Wikipedia document
  • SELECT * FROM html WHERE url="http://en.wikipedia.org/wiki/List_of_United_States_National_Parks_by_state" AND xpath="//table[@class='wikitable sortable']"
  • XML or JSON
  • creating an XML document
  • AJAX call from jQuery and then loop over the JSON
  • documentation could maybe be clearer
  • CSS style selection engine as well as the XPath one
1 - 1 of 1
Showing 20 items per page