WordPress.org

Ready to get started?Download WordPress

Forums

WP Facebook Open Graph protocol
[resolved] Slash at end of meta tag (5 posts)

  1. somethumb
    Member
    Posted 1 year ago #

    One thing that i recommend, because of validation, is to add a space and slash at the end of the meta tag, so this: <meta property="og:type" content="website"> becomes <meta property="og:type" content="website" />

    http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/

  2. berchman
    Member
    Posted 1 year ago #

    I second this.
    Running validation on my code brings up every meta tag that this plugin puts into place.

  3. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    well.. if you're validating with xhtml then it would flag... if you're validating with html5 it won't. I'm assuming you guys are running xhtml strict.

    initially reading into it I'm not sure HTML5 would then validate if the ending slash was in there.

    Just speaking freely... validating code w/ the w3c validator is mostly pointless anymore.
    I can say I'll look more into it.. but even other meta plugins I see doing it all different ways... yoasts seo includes them but then doens't on the twitter cards etc.

    I just don't know right now how to handle it. IMO HTML5 is the way to go but I'll read into it more. Feel free to do the same and post findings proving one way or the other. I'll leave the topic open

  4. somethumb
    Member
    Posted 1 year ago #

    Hi Chuck, as much as I'd like to think HTML5 is around the corner, it's not a final specification and in my business the client's are always concerned about meeting accessibility guidelines and viewing their website on many versions of browsers. You'd be surprised to know how many of my clients still use IE7, which means I have to develop for that browser version and platform. I use XHTML because it's what the W3C supports and what in-the-know clients provide to me as their requirements. The W3C validator is still useful and the industry standard of making sure that the HTML/CSS needs which are supported by 100% of the browsers and platforms are met. Plus, it can't hurt that all tags should be closed. See: http://www.w3.org/TR/WCAG20-TECHS/H74

    Looking forward to your updates, it's a great plugin!

  5. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    2.0.7 should fix this back to how it was. just pushed it up to repo so give it a bit to show up in your dash. enjoy. (please rate the app? :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.