View Full Version : PINK page hits
Has anyone determined how to count Web page hits? I have looked at all the special purpose registers could not find any clues.
Post Edited (TimC) : 1/29/2006 2:29:43 AM GMT
01-29-2006, 11:26 AM
i would go get a counter off the web
example(even though i dislike them): http://www.bravenet.com/
Good idea I had not thought of this. I see why you dislike them...
I really would like a simple solution, everything contained within the stamp or Netburner.
PINK should be able to do this. Unique users might be a problem but then again the PINK is a 32bit processor running at 95mhz.
01-29-2006, 04:17 PM
Here is a HTML page using Java for a page counter.
I've tested it on my Pink.
01-30-2006, 12:26 AM
Bravenet it's a very useful website. gives many web's tools.
Best Regards from Chile
Thanks GearHead and everybody.
I have added the code GearHead attached. It's working!
01-30-2006, 04:20 AM
Just remeber that GearHeads code is only a counter for you.... It does not store global hits
01-30-2006, 11:55 AM
01-30-2006, 02:13 PM
And yes, it uses an activeX component to track individual hits to a site via a cookie.
I see TimC is now using a script for Bravenet for a page counter, cool…
Page hits are a mystery when the process is hidden somewhere else.
PINK HAS a place to put a simple number. I am now grabing the number adding 1 to it but the trick is passing a value back to a PINK register without user interaction.
While my web page is active you can see this now at the TEST NB counter.
?How can I post a number back to PINK without a submit button??
<input type="hidden" name="Nb_var01">
Is not enough.
Post Edited (TimC) : 1/30/2006 3:49:10 PM GMT
I think I got it!
I renamed my index.htm to newhome.htm and replaced index.htm with the following file:
--------- INDEX.HTM FILE FOLLOWS -----------------
<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!-- Tim's pagecounter web page for SB70 Jan 29 2006 -->
<form name="my_hidden" method="post" action="newhome.htm">
<input type="hidden" size="25" maxlength="70" name="my_url" value="">
<input type="hidden" size="10" maxlength="15" name="Nb_var01" value="">
document.my_hidden.my_url.value = document.URL;
my_count = eval(<Nb_var01>)
my_count = my_count.toString()
document.my_hidden.Nb_var01.value = my_count;