egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

googlescore

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Thunderdome
Op


Joined: 15 Mar 2005
Posts: 187

PostPosted: Fri Dec 30, 2005 11:19 am    Post subject: googlescore Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Dec 30, 2005 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Dec 31, 2005 12:22 am    Post subject: Reply with quote

this thing must be pretty ancient, requiring 1.1.5 and egghttp... I wonder how did they know about Google, it emerged later Wink
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sat Dec 31, 2005 5:52 am    Post subject: Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Dec 31, 2005 5:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Dec 31, 2005 11:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Jan 01, 2006 5:27 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
thecoollamer
Voice


Joined: 11 Feb 2008
Posts: 1

PostPosted: Mon Feb 11, 2008 9:39 pm    Post subject: googlescore.tcl Reply with quote

In case this wasn't clear from the script description Wink

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber