WordPress.org

Support

Support » How-To and Troubleshooting » barter? help me get my blog in working order

barter? help me get my blog in working order

  • I am having a hard time figuring out some of the problems with my blog
    Valid XHTML is just killing me
    tags?

    I will forever be in debt and send off a print to you.
    any thoughts?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Validating your XHTML is a daunting task. From my own experience, I found that it’s best to take post validating one step at a time.

    That is, if your blog homepage is the one that you ran through the validator, then take every single post URL on your homepage and send it through the validator. I know it’s very tedious still, but at least this way way, it’s not as overwhelming and you can narrow down what posts are giving you the errors.

    Just keep in mind in the future to run your validator each and every time you post, or just set up your editor so that it’s not the Rich Text Editor. Sure it’s nice and “easy” to use, but a lot of times, that it spits out invalid XHTML. I learned that the hard way. There were close to 30 posts that I had to correct.

    Has this issue been corrected in the WP 2.1?

    No. I found that the visual rich editor, despite working much better than before, still has some issues with generating valid code. I’m not certain if this is because of WordPress or the editor itself.

    At this time, I still have to recommend the normal editor.

    honestly, it none of it makes sense to me.
    I really have hit a wall.
    Here it is
    If anyone has any suggestions…
    or if they want to fix it?

    http://joshua-lutz.com/blog/

    What exactly do you want done Joshua? Do you want your current front page to be XHTML compliant, or all pages on your site?

    i am not sure? not really sure what it means, however I have been told that it is really important in a blog

    Being standards compliant is important for all sites regardless of if it’s a blog. It’s a hard thing to keep on top of, I keep meaning to write an automated task to do it for me but I’ve never gotten around to it.

    As for what standard to follow, IE 7 doesn’t support XHTML so you are probably better off going with HTML 4.01 strict (<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    ) as this is better supported by all major browsers.

    Read this article for a brief explanation of what DOCTYPEs are and what they do.

    I prefer XHTML Transitional, myself. IE7 supports it just fine.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    See here for a table describing how the different browsers handle each DOCTYPE.

    I see PPK agrees with you Otto.

    Not to sound like buzzkill, but it’s doubtful someone will fix your blog for you. Even if they did, I guarantee this will happen again, so…

    We all had to start somewhere, some in a more beginning state of mind than others. Me, I had limited web development experience, but at least some, so I was a little lucky. The best advice that I can give you, is to read through all of the documentation and educate yourself about WordPress:

    http://codex.wordpress.org/Main_Page

    WordPress has put a lot of effort into writing all of this documentation, and TRUST ME, it helps tremendously to read through it. I’ve found a ton of useful information and have solved many of my own problems by looking through all of this.

    My first post though, is the easiest way to determine what post is giving you the problem.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘barter? help me get my blog in working order’ is closed to new replies.
Skip to toolbar