| View previous topic :: View next topic |
| Author |
Message |
Thunderdome Op

Joined: 15 Mar 2005 Posts: 187
|
Posted: Fri Dec 30, 2005 11:19 am Post subject: googlescore |
|
|
In the tcl archive I downloaded googlescore.tcl and tried to use it...
It does not give any error, it simply does not display a thing...
Does anybody know if it still works?
Happy New Year |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Dec 30, 2005 7:24 pm Post subject: |
|
|
| Code: | ##
#
# Requirements:
#
# 1) Eggdrop1.1.5-Eggdrop1.6.x
# 2) egghttp.tcl v1.0.0 or higher (loaded before this script,
# can be downloaded from www.TCLScript.com)
#
##
#
# Installation:
#
# Place script in your scripts directory
# Edit the Configuration options below
# Add the line: source scripts/googlescore.tcl to your eggdrop config
# (after the source line containing egghttp.tcl)
# Done.
#
## |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Dec 31, 2005 12:22 am Post subject: |
|
|
this thing must be pretty ancient, requiring 1.1.5 and egghttp... I wonder how did they know about Google, it emerged later  _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sat Dec 31, 2005 5:52 am Post subject: |
|
|
Is not 'they' because is just one guy. The 'last modified' date of that script is 03/16/03, when did google released the googlescore? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Dec 31, 2005 5:40 pm Post subject: |
|
|
what's googlescore? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Dec 31, 2005 11:11 pm Post subject: |
|
|
| demond wrote: | | what's googlescore? |
| Quote: | Script: googlescore.tcl v1.0
Author: strikelight ([sL] @ EFNet)
Requires: eggdrop1.1.5-eggdrop1.6.x
Description: retrieves the google 'score' google has
for a specified site. |
BTW, 'they' = StrikeLight _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jan 01, 2006 5:27 am Post subject: |
|
|
so that so-called "googlescore" is simply the total number of pages Google has referring to the command argument _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
thecoollamer Voice
Joined: 11 Feb 2008 Posts: 1
|
Posted: Mon Feb 11, 2008 9:39 pm Post subject: googlescore.tcl |
|
|
In case this wasn't clear from the script description
This script runs a link:URL search on Google.com and displays the number of pages that link to the URL in the query.
For example, Google search "link:www.vedetta.com" (without the quotes)
http://www.google.com/search?q=link%3Awww.vedetta.com
It is important because it affects the Google Page Rank of the URL, thus its position in Google search results.
How Google Score works is not the point of this post ( although i would be happy to discuss it if you catch me in irc://irc.undernet.org/webmaster ).
On the other hand, how googlescore.tcl works is the point. There is a modification that needs to be made in order for the script to work with the new Google.com page.
Replace this code:
| Code: |
foreach line [split $buffer \n] {
if {[string match "*Results*of about*.*" $line]} {
regexp {of about <b>([^<]*)</b>} $line garb score
break
}
}
|
With this:
| Code: |
foreach line [split $buffer \n] {
if {[string match "*Results*of about*.*" $line]} {
regexp {of about <b>(.*?)</b>} $line garb score
break
}
if {[string match "*Results*of*.*" $line]} {
regexp {of <b>(.*?)</b>} $line garb score
break
}
}
|
The Google Score also varies by country. You would have to replace the Google URL and the string match to reflect the language of the desired country. _________________ The Webmaster Chat Room irc://irc.undernet.org/webmaster
The Webmaster Web Site http://www.vedetta.com |
|
| Back to top |
|
 |
|