Welcome to Geeklog, Anonymous Tuesday, May 07 2024 @ 11:54 pm EDT
Geeklog Forums
Is it possible to get the geeklog validated, w3 compliant
Dirk
Does that answer your question?
bye, Dirk
garfy
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?
Dirk
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
garfy
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?
garfy
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
garfy
THese error are making me confused
Error Line 437 column 396: non SGML character number 146.
...stem of the patients with Alzeheimer��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.
jmucchiello
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.
garfy
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} | {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 />
jmucchiello
I did not use any microsoft program at all
I don't know how h1's and div's interact.
garfy
I did not use any microsoft program at all
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
- 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