Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
has anybody done that yet?

is it possible or are the core files coded wrong so we can not get it validated

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.geeklog.net%2F

Does that answer your question?

bye, Dirk

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
wha wha whi wha

Dirk is the default geeklog site validated or did you do some custom coding?


Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
is default them of geeklog validated?

so should I just copy the template to my custom template

and where is the left menu file that is giving me validation errors?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
The Professional theme validates since at least 1.4.0 (longer, IIRC). And there's nothing in Geeklog that should prevent producing valid HTML.

bye, Dirk

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Quote by: Dirk

The Professional theme validates since at least 1.4.0 (longer, IIRC). And there's nothing in Geeklog that should prevent producing valid HTML.

bye, Dirk



that is great Dirk!

But i have a custom theme that is old and i get 120 validation error on my site. Should I just start from scratch and change the css on professional, but I like the layout on my site

can you just suggest what files should I copy from professional template to get it to validate?


Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
I get one error

Text Formatted Code

<!-- Begin PortalParts glregistration Header Code -->
<script language=JavaScript>
 


Not overally woried though
Dazzy

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Are we talking about the site from your profile?

Doesn't look that bad to me. You have a lot of errors because of reused id attributes (an id should be unique - you should change those to classes). A few missing UL tags around LIs (something that Geeklog's default theme also did for a while), a couple of things that are probably due to wrongly nested tags, and near the end of the list a few XHTML tags.

From what I can see, it should be easy to get those down to, say, 10-20 errors quickly. Be sure to actually read what the validator has to say about the errors - those hints usually contain all you need to know.

bye, Dirk

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Quote by: Dirk

Are we talking about the site from your profile?

Doesn't look that bad to me. You have a lot of errors because of reused id attributes (an id should be unique - you should change those to classes). A few missing UL tags around LIs (something that Geeklog's default theme also did for a while), a couple of things that are probably due to wrongly nested tags, and near the end of the list a few XHTML tags.

From what I can see, it should be easy to get those down to, say, 10-20 errors quickly. Be sure to actually read what the validator has to say about the errors - those hints usually contain all you need to know.

bye, Dirk



But as I can see I should just use some of the default professional theme files and overwrite my axons theme files

where is the left menu located, I mean the file?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Which "left menu" are you referring to?

bye, Dirk

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
these are coming from the menus right?

You have a lot of errors because of reused id attributes (an id should be unique - you should change those to classes)

Error Line 173 column 11: ID "BOPTION" already defined.

<div id="boption" onclick="window.location.href='http://alternativecomplementa

Error Line 173 column 11: ID "BOPTION" already defined.

<div id="boption" onclick="window.location.href='http://alternativecomplementa


I get 84 ID "BOPTION" already defined. errors
can you tell me where are they coming from? They are not coming from header file

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
That's your Topics block. Hence: topicoption.thtml and topicoption_off.thtml

bye, Dirk

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
I had over 160 error now only 15 left

THese error are making me confused

Error Line 437 column 396: non SGML character number 146.

...stem of the patients with Alzeheimer&#65533;&#65533;s disease. Curcumin is known to be an

I have checked the code and can not see any such strange characters, does that has to do something with the iso?


And also this one is hard for me

Error Line 256 column 9: document type does not allow element "H1" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.

<h1><a href="http://alternativecomplementarymedicine.com/article.php/Deman

It says that H1 should not be nested inside and I can not figure it out how to fix it.

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
I suspect you created the page using a Microsoft product that has "smart" quotes. If this is true some background information about code pages is in order. You might also google "demoronizer".

As for the h1 problem, the whole block is probably inside a table. You can't really have section headings inside a table. Turn that into a <p> with the appropriate style/class.

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
I did not use any microsoft program at all

The only thing I used is dreamweaver

and regarding H1 this is the code, there are not tables at all


<div class="story-block">
<div class="story-header">
<span class="story-date"><img src="{layout_url}/images/dot-white.gif" height="20" width="1" alt="Small White Spacer">{story_date}</span>
<span class="story-options">{email_icon} {print_icon} {edit_link}</span>
</div>

<div class="story-body"> <!-- class="story-body" -->
<div class="story-image">{story_anchortag_and_image}</div>
<div class="story-text">
<h1 class="articleTitle"><a href="{article_url}" title="{story_title}" class="articleTitle">{story_title}</a></h1>

<span class="storyinfo">{lang_contributed_by} {start_contributedby_anchortag} {contributedby_user}{end_contributedby_anchortag} &nbsp;&nbsp;|&nbsp;&nbsp;{lang_views}:{story_hits} </span><br /> <div class="storycontent">{story_introtext}</div>
</div>
</div>

<div class="story-footer">{readmore_link} {recent_post_anchortag} <a href="{comments_url}">{comments_text}</a></div>
</div>

<br /> <br />

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: garfy

I did not use any microsoft program at all

Did whoever entered the story about Alzeheimer's disease copy and pasted from one into IE?

I don't know how h1's and div's interact.

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Quote by: jmucchiello

Quote by: garfy

I did not use any microsoft program at all

Did whoever entered the story about Alzeheimer's disease copy and pasted from one into IE?

I don't know how h1's and div's interact.



I used firefox all the time, I publish all the articles
but if I look at the code of the article I can not see anything strange in it