Re: [PLUG] Website Visitor/Download Counter

2022-02-26 Thread brooks



What software are you using as your web server?

On Sat, 26 Feb 2022, Michael Barnes wrote:


On Thu, Feb 24, 2022 at 8:22 AM Timothy Scoppetta 
wrote:


I may be speaking from the bias of my comfort zone but hosting the pdf on
any modern cloud storage (gs, s3, etc) should give you this for "free."



Well, I suppose if I were hosting it on any modern cloud storage, that may
be the case. However, I am hosting this on a personal server. It's just a
simple page with some text and the file you can click on to download. Very
basic. Not really advertised to the general public, just something
providing a large document we don't want to try to email to everybody due
to size.

Michael



Re: [PLUG] Website Visitor/Download Counter

2022-02-26 Thread Rich Shepard

On Sat, 26 Feb 2022, Michael Barnes wrote:


... just something providing a large document we don't want to try to email
 to everybody due to size.


Michael,

Take a look at . I use it regularly to share
large files or provide them to mail lists that strip attachments. Free and
variable length of availability.

HTH,

Rich


Re: [PLUG] Website Visitor/Download Counter

2022-02-26 Thread Michael Barnes
On Thu, Feb 24, 2022 at 8:22 AM Timothy Scoppetta 
wrote:

> I may be speaking from the bias of my comfort zone but hosting the pdf on
> any modern cloud storage (gs, s3, etc) should give you this for "free."
>
>
Well, I suppose if I were hosting it on any modern cloud storage, that may
be the case. However, I am hosting this on a personal server. It's just a
simple page with some text and the file you can click on to download. Very
basic. Not really advertised to the general public, just something
providing a large document we don't want to try to email to everybody due
to size.

Michael


Re: [PLUG] Website Visitor/Download Counter

2022-02-26 Thread Michael Barnes
On Thu, Feb 24, 2022 at 8:19 AM  wrote:

>
> It’s like it’s 1995 again :-). Here’s a resource for scripts but to use
> them your hosting server will need to have CGI
> capabilities:
>
>http://www.scriptarchive.com 
>
> For a lot of reasons I would recommend not adding counters to your page
> and instead glean stats from your access files.
>
> Kevin
>
>
Okay, you don't have to pretend I know nothing, it is a proven fact. So,
maybe list some of those reasons you recommend not having counters. And how
would I go about gleaning stats from my access files?

Thanks,
Michael


Re: [PLUG] Website Visitor/Download Counter

2022-02-24 Thread Tomas Kuchta
On Thu, Feb 24, 2022, 11:22 Timothy Scoppetta  wrote:

> I may be speaking from the bias of my comfort zone but hosting the pdf on
> any modern cloud storage (gs, s3, etc) should give you this for "free."
>
> On Thu, Feb 24, 2022, 08:19  wrote:
>
> >
> > It’s like it’s 1995 again :-). Here’s a resource for scripts but to use
> > them your hosting server will need to have CGI
> > capabilities:
> >
> >http://www.scriptarchive.com 
> >
> > For a lot of reasons I would recommend not adding counters to your page
> > and instead glean stats from your access files.
> >
> > Kevin
> >
> > On Thu, 24 Feb 2022, Michael Barnes wrote:
> >
> > > It seems like I have forgotten more than I knew in the first place.
> > >
> > > Anyhow, I have a small website for a group that is just a simple
> > hand-coded
> > > page and a pdf file for download. I have been asked if it is possible
> to
> > > add a visitor counter and a download counter (This page has been
> visited
> > ##
> > > times, This file has been downloaded ## times) to the page. I don't
> need
> > > any kind of tracking or  anything, just a raw count of page accesses
> and
> > > file downloads.
> > >
> > > My coding skills are passing fast, and I'm looking for something really
> > > simple. I did a quick search and everything I see seems to involve
> > > complicated databases and analytics. I want KISS.
> > >
>

No counters, with the exception of access logs, will work without CGI
enabled and working.

The simplest cgi implementation is probably to increment number embedded in
a file in access.

This can be done with any scripting language you are familiar with,
available in your webserver cgi config and reasonably secured.

-T


Re: [PLUG] Website Visitor/Download Counter

2022-02-24 Thread Timothy Scoppetta
I may be speaking from the bias of my comfort zone but hosting the pdf on
any modern cloud storage (gs, s3, etc) should give you this for "free."

On Thu, Feb 24, 2022, 08:19  wrote:

>
> It’s like it’s 1995 again :-). Here’s a resource for scripts but to use
> them your hosting server will need to have CGI
> capabilities:
>
>http://www.scriptarchive.com 
>
> For a lot of reasons I would recommend not adding counters to your page
> and instead glean stats from your access files.
>
> Kevin
>
> On Thu, 24 Feb 2022, Michael Barnes wrote:
>
> > It seems like I have forgotten more than I knew in the first place.
> >
> > Anyhow, I have a small website for a group that is just a simple
> hand-coded
> > page and a pdf file for download. I have been asked if it is possible to
> > add a visitor counter and a download counter (This page has been visited
> ##
> > times, This file has been downloaded ## times) to the page. I don't need
> > any kind of tracking or  anything, just a raw count of page accesses and
> > file downloads.
> >
> > My coding skills are passing fast, and I'm looking for something really
> > simple. I did a quick search and everything I see seems to involve
> > complicated databases and analytics. I want KISS.
> >
> > Thanks,
> > Michael
> >


Re: [PLUG] Website Visitor/Download Counter

2022-02-24 Thread brooks


It’s like it’s 1995 again :-). Here’s a resource for scripts but to use 
them your hosting server will need to have CGI

capabilities:

  http://www.scriptarchive.com 

For a lot of reasons I would recommend not adding counters to your page 
and instead glean stats from your access files.


Kevin

On Thu, 24 Feb 2022, Michael Barnes wrote:


It seems like I have forgotten more than I knew in the first place.

Anyhow, I have a small website for a group that is just a simple hand-coded
page and a pdf file for download. I have been asked if it is possible to
add a visitor counter and a download counter (This page has been visited ##
times, This file has been downloaded ## times) to the page. I don't need
any kind of tracking or  anything, just a raw count of page accesses and
file downloads.

My coding skills are passing fast, and I'm looking for something really
simple. I did a quick search and everything I see seems to involve
complicated databases and analytics. I want KISS.

Thanks,
Michael


Re: [PLUG] Website Visitor/Download Counter

2022-02-24 Thread Rich Shepard

On Thu, 24 Feb 2022, Michael Barnes wrote:


It seems like I have forgotten more than I knew in the first place.


Michael,

Happens to everyone.


Anyhow, I have a small website for a group that is just a simple
hand-coded page and a pdf file for download. I have been asked if it is
possible to add a visitor counter and a download counter (This page has
been visited ## times, This file has been downloaded ## times) to the
page. I don't need any kind of tracking or anything, just a raw count of
page accesses and file downloads.

My coding skills are passing fast, and I'm looking for something really
simple. I did a quick search and everything I see seems to involve
complicated databases and analytics. I want KISS.


Look here:

or

and

or

or


HTH,

Rich