Gossamer Forum
Quote Reply
detail_page.cgi updated
I've updated detail_page.cgi to version 2.1.1

It needs to run with version 2.1.1

I fixed a few things, and came up against a few bugs that needed to be addressed.

1) I noticed ClickTrack files were not updated/deleted unless you did a build. People running dynamic sites don't do that. Early versions of Links SQL had jump.cgi checking to see if the hit was old or not. The current version didn't. The ClickTrack file could grow out of control.

-- the fix was to add code to check the 'Hit' record, and a parameter 'delete_by' that you can set to determine how long a Click record should stay around.

2) I noticed also that the time format is stored as %yyyy%%mm%%dd%%hh%%mm%%ss%% which is *not* the Links default time format. build.cgi doesn't seem to acknowledge this, and uses 2-days as a format, which allows 24-hour slush. Anyway, the current detail_page.cgi converts the time format, so that the ClickTrack s are deleted/updated properly.

3) I added error reporting and checking, which is more consistent with Links, and it uses the standard error.html as output if an error occurs.

4) cleaned up some old version Links variables, and constructs.

I'm attaching the file here as a .tar, since it has a *lot* of changes, and want some people to check it out before I replace the download area version.

Actually, with minor modifications, you can use this to search on any field, and return/count results. These changes are the basis of the domain_display.cgi running on http://identitydots.com


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread detail_page.cgi updated pugdog 10473 Nov 4, 2002, 8:05 PM
Thread Re: [pugdog] detail_page.cgi updated
funodie 10309 Nov 6, 2002, 5:16 PM
Post Re: [funodie] detail_page.cgi updated
Payooo 10308 Nov 6, 2002, 7:05 PM
Thread Re: [funodie] detail_page.cgi updated
pugdog 10274 Nov 7, 2002, 10:00 PM
Thread Re: [pugdog] detail_page.cgi updated
Clint 10275 Nov 8, 2002, 12:49 PM
Thread Re: [Clint] detail_page.cgi updated
mrcry11 10257 Nov 12, 2002, 5:12 PM
Thread Re: [mrcry11] detail_page.cgi updated
pugdog 10144 Nov 14, 2002, 7:28 AM
Thread Re: [pugdog] detail_page.cgi updated
klauslovgreen 10069 Dec 4, 2002, 9:29 AM
Thread Re: [klauslovgreen] detail_page.cgi updated
pugdog 10036 Dec 11, 2002, 12:19 PM
Thread Re: [pugdog] detail_page.cgi updated
klauslovgreen 10078 Dec 14, 2002, 10:20 AM
Thread Re: [klauslovgreen] detail_page.cgi updated
pugdog 10004 Dec 15, 2002, 5:40 AM
Thread Re: [pugdog] detail_page.cgi updated
pugdog 10002 Jan 8, 2003, 10:37 PM
Thread Re: [pugdog] detail_page.cgi updated
Paul 9948 Jan 9, 2003, 1:07 AM
Thread Re: [Paul] detail_page.cgi updated
pugdog 9878 Jan 9, 2003, 9:57 PM
Thread Re: [pugdog] detail_page.cgi updated
Paul 9866 Jan 10, 2003, 2:47 AM
Thread Re: [Paul] detail_page.cgi updated
pugdog 9840 Jan 10, 2003, 9:10 AM
Thread Re: [pugdog] detail_page.cgi updated
Paul 9855 Jan 10, 2003, 9:48 AM
Post Re: [Paul] detail_page.cgi updated
pugdog 9839 Jan 10, 2003, 1:29 PM
Post Re: [pugdog] detail_page.cgi updated
mrcry11 10172 Nov 13, 2002, 9:40 PM