Tuesday, December 4, 2012

Fix Missing required field "hcard" and "update" in Rich Snippet

Im searching about this warning and not yet find the post talking about fixing this, When try myself to find the way fixing, at last i find it. When you create custom rich snippet for google search engine result usually use Google rich snippet testing tool and may some of you find red warning said : Missing required field hcard. hCard is a simple, open format for publishing people, companies, organizations on the web, using a 1:1 representation of vCard (RFC2426) properties and values in HTML. hCard is one of several open microformat standards suitable for embedding data in HTML/HTML5, and Atom/RSS/XHTML or other XML. hCards are most often used to represent people or organizations. There are some properties define of hCards and declared with classes like url, fn, and org. The hcard table properties :
  • Common hCard properties (inside class vcard)
        fn - name, formatted/full. required
        n - structured name, container for:
            honorific-prefix - e.g. Ms., Mr., Dr.
            given-name - given (often first) name
            additional-name - other/middle name
            family-name - family (often last) name
            honorific-suffix - e.g. Ph.D., Esq. 
        nickname - nickname/alias, e.g. IRC nick
        org - company/organization
        photo - photo, icon, avatar
        url - home page for this contact
        email - email address
        tel - telephone number
        adr - structured address, container for:
            street-address - street #+name, apt/ste
            locality - city or village
            region - state or province
            postal-code - postal code, e.g. U.S. ZIP
            country-name - country name 
        bday - birthday. ISO date.
        category - for tagging contacts
        note - notes about the contact 
    
        <div class="vcard">
            <span class="fn">Sally Ride</span>
            (<span class="n">
                <span class="honorific-prefix">Dr.</span>
                <span class="given-name">Sally</span>
                <abbr class="additional-name">K.</abbr>
                <span class="family-name">Ride</span>
                <span class="honorific-suffix">Ph.D.</span></span>),
            <span class="nickname">sallykride</span> (IRC)
            <div class="org">Sally Ride Science</div>
            <img class="photo" src="http://example.com/sk.jpg"/>
            <a class="url" href="http://sally.example.com">w</a>,
            <a class="email" href="mailto:sally@example.com">e</a>
            <div class="tel">+1.818.555.1212</div>
            <div class="adr">
                <div class="street-address">123 Main st.</div>
                <span class="locality">Los Angeles</span>,
                <abbr class="region" title="California">CA</abbr>,
                <span class="postal-code">91316</span>
                <div class="country-name">U.S.A</div></div>
            <time class="bday">1951-05-26</time> birthday
            <div class="category">physicist</div>
            <div class="note">1st American woman in space.</div>
        </div>
    
Solution : You can use this snippet to solve and fix warning:missing rewuired field upadate or warning:missing required field hcard in rich snippet google search engine :
  • <div class='vcard' id='hcard-Om Aly Mr'>
    <span class='fn n'><span class='given-name'>Posted by: Om Aly</span>
    </span>
    </div>
    <a class='updated' href='http://seoce.blogspot.com/' rel='bookmark'>Seo Cemistry, </a> Updated at: <abbr class='published' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr>
    



rating : 5 by : Tukang Sedot on: