Google Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsGoogleGoogle Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old March 4th, 2003, 05:25 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 7
Google Tracker for ASP

Darrin inspired me to write a google tracker for ASP, since I couldn't get the perl to work at my host. Anyone have a need for this or have any feature requests? Currently it just tracks the type of bot (fresh or deep crawl) and the time of the visit, and displays the results in the list. Right now I'm storing the visits in SQL serverver, but could easily adapt it to MS Access or write to a text file.

Also, I'm brand new to seo, and have yet to catch a live freshbot at my site.. What do I do with it once I catch it?

Thanks for the great forum!

Christopher
__________________
commercehelper.com

Reply With Quote
  #2  
Old March 4th, 2003, 06:04 PM
digitalirony's Avatar
digitalirony digitalirony is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: London
Posts: 122 digitalirony User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Quote:
have yet to catch a live freshbot at my site.. What do I do with it once I catch it?

If you catch a live freshbot, weight it, take a photo, and release it so that it can visit other sites (and tell its friends about yours). If your really lucky, the big mama - deepbot - will come along to see what all the fuss has been about

Reply With Quote
  #3  
Old March 4th, 2003, 06:08 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 7
Quote:
If you catch a live freshbot, weight it, take a photo, and release it so that it can visit other sites (and tell its friends about yours).


I hear they're great battered and fried!

Reply With Quote
  #4  
Old March 4th, 2003, 06:42 PM
Darrin Ward's Avatar
Darrin Ward Darrin Ward is offline
Founder, SEOChat.com :)
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Dec 2002
Location: Miami, Florida
Posts: 1,444 Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 18 h 38 m 35 sec
Reputation Power: 15
Re: Google Tracker for ASP

Quote:
Originally posted by "Sentient"

Darrin inspired me to write a google tracker for ASP

So I'm inspiring people now?? Sorry to hear the perl script didn't work on your server. It is unfortunately something that is hard to include in already dynamic page such as php & asp.
__________________
Darrin J. Ward, the Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff! Read my: Blog or Twitter.

* Rankings Reporter - Free PHP Script to Track your Website's Keyword Rankings in Google & Yahoo.

Reply With Quote
  #5  
Old March 4th, 2003, 06:54 PM
John John is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 128 John User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 27 m 55 sec
Reputation Power: 7
Hey, I could use something like that for my site. Would definitely beat using the 'find next' in notepad

Reply With Quote
  #6  
Old March 4th, 2003, 07:36 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 7
source code

Quote:
Sorry to hear the perl script didn't work on your server


My hosting company has active perl and it never works as well as stardard cgi perl... anyhow, here is the core source-code for script I wrote:

Quote:

<%
Dim UserAgent, RemoteHost, RemoteAddr, BOT, BotType, gbDomainRequested, gbFullDomainName, gbPage


'Clean up the url and domain name
gbDomainRequested = LCase(Request.ServerVariables("SERVER_NAME"))
gbDomainRequested = Replace(gbDomainRequested, "www.", "")
gbFullDomainName = gbDomainRequested
gbDomainRequested = Replace(gbDomainRequested, ".com", "")
gbDomainRequested = Replace(gbDomainRequested, ".net", "")
gbDomainRequested = Replace(gbDomainRequested, ".org", "")
gbDomainRequested = Replace(gbDomainRequested, ".biz", "")
gbDomainRequested = Replace(gbDomainRequested, ".info", "")

gbPage = Replace(Request.ServerVariables("URL"), gbDirectoryName, "")




'grab the visitor
UserAgent = Request.ServerVariables("HTTP_USER_AGENT")
RemoteHost = Request.ServerVariables("REMOTE_HOST")
RemoteAddr = Request.ServerVariables("REMOTE_ADDR")

'Use to simulate a visit
'UserAgent = "Googlebot"
'RemoteHost = ".googlebot.com"
'RemoteAddr = "216."

BOT = False


'Is it the googlebot?
If InStr(UserAgent, "Googlebot") > 0 Then BOT = True
If InStr(RemoteHost, ".googlebot.com") > 0 Then BOT = True


If BOT = True Then
'Hooray!


'If so, which bot is it?
If Left(RemoteAddr, 4) = "216." Then
BotType = "Deep Bot"
Else
BotType = "FreshBot"
End If


'Record the vist!
set Tracker = Server.CreateObject("ADODB.Recordset")
Tracker.ActiveConnection = MM_CommerceHelper_STRING
Tracker.Source = "SELECT * FROM GoogleTracker"
Tracker.CursorType = 2
Tracker.CursorLocation = 3
Tracker.LockType = 3
Tracker.Open()
Tracker.AddNew()
Tracker.Fields("DomainName") = gbFullDomainName
Tracker.Fields("Page") = gbPage
Tracker.Fields("BotType") = BotType
Tracker.Update()
Tracker.Close()

End If
%>



Just include this file on each page you want to track (<!--#include file="GoogleTracker/GoogleTracker.asp" -->), record and display the visit how you wish. It will display the domain name, page file name, time of visit, and type of bot!

Reply With Quote
  #7  
Old March 5th, 2003, 01:37 AM
John John is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 128 John User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 27 m 55 sec
Reputation Power: 7
I'm not real clear on how I would implement this but I'll have my developer take a look.

Thanks!!

Reply With Quote
  #8  
Old March 5th, 2003, 02:18 PM
Darrin Ward's Avatar
Darrin Ward Darrin Ward is offline
Founder, SEOChat.com :)
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Dec 2002
Location: Miami, Florida
Posts: 1,444 Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 18 h 38 m 35 sec
Reputation Power: 15
I use activestate Perl on my local machine (Windows XP). I wrote the code on this machine and it worked fine with activestate, perhaps it's a different version of type!!

Reply With Quote
  #9  
Old March 11th, 2003, 01:38 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 7
Here is how I am displaying the results (now that I have some)

http://www.commercehelper.com/admin...oogleReader.asp

Reply With Quote
Reply

Viewing: SEO Chat ForumsGoogleGoogle Optimization > Google Tracker for ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT