Results 1 to 3 of 3
  1. #1

    Default Open Graph DOCTYPE -- can't validate W3C

    Hi guys,
    I've added the open graph meta property tags to my store pages.
    Trouble is, it doesn't validate with w3c validator

    The DOCTYPE i'm using at the moment is
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    I've seen on other forums, to use open graph you need to use the following:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
    My question is, not knowing anything about doctypes, will changing the DOCTYPE to the one above cause me any Zen Cart problems or should I just ditch the open graph stuff?

    All thoughts appreciated!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Open Graph DOCTYPE

    I guess you could do this, but it's not just a matter of changing the doctype, you'll need to make extensive changes to the templates files as well. And you'll need to make changes to the way each page is built to ensure that you have the four required properties defined on every page. That's an awful lot of highly technical work. What benefit are you hoping for?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3

    Default Re: Open Graph DOCTYPE -- can't validate W3C

    Thanks Kuroi you've just convinced me to ditch the open graph stuff!
    I ditched the facebook like button months ago because it was too slow at loading...it was making my product pages take ages to load.

    Social networking is overrated!

 

 

Similar Threads

  1. v154 Open Graph error w3c can not solve
    By diamond1 in forum General Questions
    Replies: 7
    Last Post: 11 May 2015, 08:02 PM
  2. v151 Open Graph Meta Tags
    By BlessIsaacola in forum General Questions
    Replies: 2
    Last Post: 9 Nov 2013, 11:36 AM
  3. I want to add Facebook open graph tags
    By stevemax in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jul 2011, 07:07 PM
  4. my ssl pages will not validate w3c
    By AmandaGero in forum General Questions
    Replies: 2
    Last Post: 27 Jul 2010, 05:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR