Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 09:57 am EDT

Geeklog Forums

Is it possible to get the geeklog validated, w3 compliant


Status: offline

garfy

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

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

Status: offline

Dirk

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

Does that answer your question?

bye, Dirk
 Quote

Status: offline

garfy

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

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

 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
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?

 Quote

Status: offline

Dazzy

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

Text Formatted Code

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


Not overally woried though
Dazzy
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
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?
 Quote

Status: offline

Dirk

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

bye, Dirk
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
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
 Quote

Status: offline

Dirk

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

bye, Dirk
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
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.
 Quote

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.
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
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 />
 Quote

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.
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
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
 Quote

All times are EDT. The time is now 09:57 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content