-
The snow goose need not bathe to make itself white. Neither need you do anything but be yourself.
Lao Tzu Recent Comments
Tags
analytics api bing curl development ga google granny gift shop marketing jquery juust latent semantic indexing links mysql namespaces optimisation pagerank php PIYF plugin robots scrape sem seo seo tips and tricks serp simplexml template tool trackback trends twitter vba vcard widget wordpress xhr xml-rpc
Posts tagged: php
- php
General-purpose server side scripting language that is especially suited for Web development (and Wordpress).
google suggest scraper (php & simplexml)
Today’s goal is a basic php Google Suggest scraper because I wanted traffic data and keywords for free. Before we start : google scraping is bad ! Good People use the Google Adwords API : 25 cents for 1000 units, … Continue reading
bing api with php and simplexml
About scraping results off of Bing : Bing use a set of about eight cookies. You can grab 200 results with php curl, as 20 pages of 10, but after the first 200 the Bing server checks for the cookie … Continue reading
bing
for completeness : php bing serp scraping : $query = 'serp'; $page = 1; $start = ($page-1)*10; $url = 'http://www.bing.com/search?q='.urlencode($query)."&first=".($start+1); $curl_handle = curl_init(); curl_setopt($curl_handle,CURLOPT_URL, $url); curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); $return = curl_exec($curl_handle); curl_close($curl_handle); $parts = split('<h3>', $return); … Continue reading