Welcome To Snipplr


Everyone's Recent Snippets Tagged google



1 ... 4 5 6 7 8
0 365 posted 13 years ago by sspitler01
0 330 posted 13 years ago by almazom
Must be inside <body> tag
0 501 posted 13 years ago by crs
XHTML 1.0 Strict deprecates the use of iframes in favor of objects. While this has gotten a lot of flack, iframes were never truly a part of HTML, just a proprietary element in Internet Explorer that eventually got universal support. Objects are a mo...
0 564 posted 13 years ago by chrisdpratt
Below are two functions I've been using to make event tracking a little easier in CodeIgniter. Two functions are available, google_analytics() & track_event(). google_analytics() takes one argument and uses it as the UA code for your tracking p...
5 901 posted 13 years ago by brettbergeron
Make sure you change the variable v_ga_track near the end of the script.
0 411 posted 13 years ago by chrisjlee
Detects all external/outgoing links, adds class, & adds target = _blank. When using a strict doctype, this method is valid when using target manipulation.
1 389 posted 13 years ago by dsntos
Include this in any page you want to track for Google bot crawls. Adapt it to your needs (eg: MySQL log instead of e-mail announcement, etc).
9 460 posted 13 years ago by NyX
lookup the google page rank of a website from python. Uses the same interface that the Google Toolbar uses to get the value.
0 661 posted 13 years ago by halotis
0 404 posted 13 years ago by erichus
returns URL that's an I'm feeling lucky search on wikipedia. Handy when paired with a database of names of things.
2 370 posted 13 years ago by mocha0range
This is to prevent duplicate content when your provider directs your http://domain.com to the same place as http://www.domain.com
1 443 posted 13 years ago by zartgesotten
1 395 posted 13 years ago by kokikr
Use inType=0 and feed in a specific Google Maps URL to parse out the GeoCoords from the URL e.g. http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=53154&sll=37.0625,-95.677068&sspn=52.505328,80.507812&ie=UTF8&ll=42.858224,-88.000832&spn=0....
4 1933 posted 13 years ago by blackf0rk
1 497 posted 13 years ago by kokikr
I convert the google pr fetch code from php to actionscript.
2 489 posted 13 years ago by zhengrenchi
3 437 posted 13 years ago by petterdr
This function will parse out the Google Maps coordinates from a Google Maps link url like this one: http://maps.google.com/?ie=UTF8&ll=43.068888,-87.978516&spn=23.565589,33.925781&t=h&z=5. The coordinates in this URL are 43.068888,-87.978516.
0 650 posted 13 years ago by blackf0rk
1 ... 4 5 6 7 8