Counter - canned script - XHTML


#1

subject: Canned scripts Counter
(http://counter.dreamhost.com/)

example code:

<img src='http://counter.dreamhost.com/cgi-bin/Count.cgi?df=username-countername.dat&pad=F&ft=0&dd=XX&istrip=XX'>
This fails the W3c validator for XHTML 1.0 Strict

converting “?” and “&” to either

Which both fails validation and script does not work
OR

URL Code % 3F % 26 which validates but the script still doesn’t work.

What URL can I use to satisy the validator while getting accurate result from a visible counter?

Thanks in advance to replies.

peace,

  • G7W

#2

Yeah, that canned script is ancient; I’m not surprised it doesn’t validate. :wink:

You can use pretty much any script you want on DreamHost, and the web is lousy with “counter scripts” - I suggest just finding one that you like that validates and use it. Google or hotscripts.com ought to give you plenty of choices. :wink:

–rlparker


#3

Have you tried using an named HTML character entity?

ampersand: & amp ;

The question mark shouldn’t need to be escaped …

:cool: openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7


#4

Yah

I got it working ty

using & #38 ; for & did not work
so I changed it to & amp ; and worked well

I would post the code, but [ pre ] on this board converts codes into their characters… duh.

erm…
this bbs looks like old matt script wwwboard,
http://www.scriptarchive.com/wwwboard.html

is it?

DH should use this Perl BBS
http://ikonforums.com/ :smiley:


#5

Nope, but it is from the same era. :wink:

There is some historical information about this software available in the comments of this Unofficial Dreamhost Blog post, if you are curious.

–rlparker