Forums

Feeds not validated (10 posts)

  1. wecompare
    Member
    Posted 6 years ago #

    I redesigned my blog.... http://freestuffdirections.com/blogs/
    I now cannot get my site validated. Many hours of work and reading, I still have not found out what I can do to get my site validated. I try one thing and something else goes unvalidated. I change line 1 and then it is the next line or line 56. What do I do? Thank you!
    ****I also had to remove my yahoo off the site, because that was not validated.

  2. masquerade
    Member
    Posted 6 years ago #

    What kind of validation? The title says feeds, but your post looks like it could be the XHTML. There are all kinds of resources out there, and it takes a bit of learning to get to having a valid site, so don't get discouraged.

  3. tomhanna
    Member
    Posted 6 years ago #

    You don't have that many errors (8), but your head section is all screwed up. Add these lines at the top of your Header template file in front of the <title> tag.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    That should eliminate the "no Doctype found" error and at least half of the others. Basically you deleted those lines from the default Theme and they are important.

  4. tomhanna
    Member
    Posted 6 years ago #

    FWIW, your feed validates fine, but you do need to delete that "feed:" garbage from in front of the URL for most people to be able to use it easily.

  5. James
    Happiness Engineer
    Posted 6 years ago #

    See this for an explanation and removal instructions for "that 'feed:' garbage": http://wordpress.org/support/topic/29291#post-164887

  6. wecompare
    Member
    Posted 6 years ago #

    Thank you all for your help! Tomhanna you really helped me out. The only other things I then had to do was add a title to get the whole thing validated!

  7. wecompare
    Member
    Posted 6 years ago #

    OK I have a new question....
    Why doesn't any other validator site or readers like this....
    Feeds should not be served with the "text/html; charset=UTF-8" media type [help]

    line 2, column 0: Undefined root element: xhtml:html [help]

    <html xmlns="http://www.w3.org/1999/xhtml">

    What can I change it to or is this important? I tried everyone elses that has helped me in this forum and theirs are not validated either on other validator sites.

    Just a kind side note... I enjoyed your blog tomhanna
    Thank you.
    http://freestuffdirections.com/blogs/

  8. James
    Happiness Engineer
    Posted 6 years ago #

    Only trust FeedValidator for feed validation. It's the only validator that stays up to date with the various feed schematics and structures. According to FeedValidator, your feed is perfectly valid.

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Ffreestuffdirections.com%2Fblogs%2F%3Ffeed%3Drss2

  9. tomhanna
    Member
    Posted 6 years ago #

    The errors you are getting from the Subscribe Me Plugin are pretty easy to fix. You can open that plugin in the plugin editor and make this change to the MSN code:

    In each of the places in the "my.msn.com/addtomymsn.armx?id=rss&u" bit that has an &, just replace it with &amp;

    You'll want it to look like this when you are done:

    <li><a href="http://my.msn.com/addtomymsn.armx?id=rss&amp;ut
    =<?php echo $feed_url; ?>&amp;ru
    =<?php echo $blog_url; ?>">
    <img src="<?php echo $img_dir . "addmymsn.gif"; ?>" alt="MyMSN" style="border: none;" /></a>
    </li>

    (I had to add a couple of line breaks to make it fit. Take out the line breaks after the first, second and third lines.)

    Thanks for the kind words on my blog. I generally warn people that they may be offended since my sense of humor is quite sarcastic.

  10. wecompare
    Member
    Posted 6 years ago #

    Thanks again tomhanna. My site is working! I will continue to read your blogs. It's a joy from one fellow true American to another.

Topic Closed

This topic has been closed to new replies.

About this Topic