[WSG] Help validating a Counter script

2004-06-02 Thread Razvan Pop
Hello.
http://alegeri-locale.stockappletsocale-2004.html 
http://alegeri-locale.stockapplets.com/2/alegeri-locale-2004.html

We are having a SEO Contest.
I am the only one who cares about Standards and Tableless design an I 
want to show the other guys the real power of standards.

Problem is I have to use a Counter from Cqcounter.com which has a nasty 
script. I would like some help in order to make the page Valid XHTML 1.0 
Strict. I've tweaked it a little, but I don't know what else to do to 
make it Validate.

Kindest Regards,
Razvan Pop
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] Help validating a Counter script

2004-06-02 Thread Mark Harwood
Erm im not 100% sure but if you just stick it in a external .js page and doe the
normal Script inclusion wouldnt that get around the nasty JavaScript and let it
validate?


*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Help validating a Counter script

2004-06-02 Thread Bert Doorn
Title: Message



G'dayA couple of hints...1. Close the meta 
tags: meta 
name="description" content="" 
/ meta name="keywords" 
content="." /2. Escape the forward-slashes (/) in the counter 
script: "img src="" 
href="http:\/\/1ro.cqcounter.com\/cgi-bin\/c?_id=razvan_z=0_r=">http:\/\/1ro.cqcounter.com\/cgi-bin\/c?_id=razvan_z=0_r="+See 
how you go after that.Regards--Bert Doorn, Better Web 
Design[ www.bwdzine.net | www.betterwebdesign.com.au]Fast-loading, user-friendly websites 


RE: [WSG] Help validating a Counter script

2004-06-02 Thread Mark Harwood
I never even checked his actual code :E assumed he knew what he was doing, just
didnt know what to do with the JavaScript...



On Wed, 2 Jun 2004 19:35 , Bert Doorn [EMAIL PROTECTED] sent:




Message



G'day

A couple of hints...

1. Close the meta 
tags:

meta 
name=description content= 
/
meta name=keywords 
content=. /

2. Escape the forward-slashes (/) in the counter 
script:

img src=\http:\/\/1ro.cqcounter.com\/cgi-bin\/c?_id=razvan_z=0_r=+

See 
how you go after that.

Regards
--
Bert Doorn, Better Web 
Design
[ www.bwdzine.net | www.betterwebdesign.com.au ]
Fast-loading, user-friendly websites 




*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] Help validating a Counter script

2004-06-02 Thread Razvan Pop
Check this:
http://validator.w3.org/check?uri=http://alegeri-locale.stockapplets.com/2/alegeri-locale-2004.html
Any other ideas?
Bert Doorn wrote:
G'day
A couple of hints...
1. Close the meta tags:
   meta name=description content= /
   meta name=keywords content=. /
2. Escape the forward-slashes (/) in the counter script:
   img src=\http:
http:\/\/1ro.cqcounter.com\/cgi-bin\/c?_id=razvan_z=0_r=
\/\/1ro.cqcounter.com\/cgi-bin\/c?_id=razvan_z=0_r=+
See how you go after that.
Regards
--
Bert Doorn, Better Web Design
[ www.bwdzine.net | www.betterwebdesign.com.au ]
Fast-loading, user-friendly websites 

 

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Help validating a Counter script

2004-06-02 Thread Bert Doorn
Title: Message



G'day again Check this: http://validator.w3.org/check?uri=http://alegeri-locale.stockapplets.com/2/alegeri-locale-2004.html Any other ideas?Yep. As the validator says:

  a href=""http://cqcounter.com/?_id=razvan_lo=ro">http://cqcounter.com/?_id=razvan_lo=ro"The 
  mentioned element is not allowed to appear in the context in which you've 
  placed it; the other mentioned elements are the only 
  ones that are both allowed there and can contain the element mentioned. 
  This might mean that you need a containing element, or 
  possibly that you've forgotten to close a previous element. 

So.. wrap the link in a block level 
element, such as p or div. As it is, the link sits directly indise the 
body element.
diva href=""http://cqcounter.com/?_id=razvan_lo=ro">http://cqcounter.com/?_id=razvan_lo=ro"/div
(Or wrap the whole counter script in a div as 
this error appears more than once in that section).
Tackle the errors one at time, starting from 
the top, sincefixing the first error will often fixothers that 
follow:-)
RegardsBert






Re: [WSG] Help validating a Counter script

2004-06-02 Thread Razvan Pop
Thank you Bert!
It Worked.
Bert Doorn wrote:
G'day again
 

Check this:
   

http://validator.w3.org/check?uri=http://alegeri-locale.stockapplets.com/2/
alegeri-locale-2004.html
http://validator.w3.org/check?uri=http://alegeri-locale.stockapplets.com/2/a
legeri-locale-2004.html
 

Any other ideas?
   

Yep.  As the validator says:
a href= http://cqcounter.com/?_id=razvan_lo=ro
http://cqcounter.com/?_id=razvan_lo=ro;
The mentioned element is not allowed to appear in the context in which
you've placed it; 
the other mentioned elements are the only ones that are both allowed there
and can contain 
the element mentioned. This might mean that you need a containing element,
or 
possibly that you've forgotten to close a previous element. 

So..  wrap the link in a block level element, such as p or div.  As it is,
the link sits directly indise the body element.
diva href= http://cqcounter.com/?_id=razvan_lo=ro
http://cqcounter.com/?_id=razvan_lo=ro;/div
(Or wrap the whole counter script in a div as this error appears more than
once in that section).
Tackle the errors one at time, starting from the top, since fixing the first
error will often fix others that follow :-)
Regards
Bert




 

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*