+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24

Thread: Common Tag: Like The Meta Keywords Tag, But Even Better!

  1. #1
    SEO Workers Chief Information Officer Webnauts is on a distinguished road Webnauts's Avatar
    Join Date
    May 2010
    Location
    Augsburg, Germany
    Posts
    265

    Thumbs up Common Tag: Like The Meta Keywords Tag, But Even Better!

    Yahoo! says that Common Tag makes “web content more discoverable and enables the community to create more useful applications for aggregating, searching, and browsing the web.

    We already began implementing the "Common Tags" on our site. How about you? Do you already use them? If yes, what is your experience so far? If you did not, what do you think about those?

    Read more about it here: http://searchengineland.com/yahoo-an...n-better-21021

  2. #2
    Senior Member Vanguard is on a distinguished road Vanguard's Avatar
    Join Date
    Jun 2010
    Posts
    162

    Common Tag - problems getting started

    This example from http://www.commontag.org/QuickStartGuide seems (to a beginner) to be a bit ambiguous:

    <body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
    <span typeof="ctag:Tag"
    rel="ctag:means" resource="http://rdf.freebase.com/ns/en.u2"
    property="ctag:label" content="U2"/>
    </span>
    </body>

    Does this mean my real content goes into a second <body>...</body> section afterwards? (I have never seen a HTML document with two body sections.)

    ----------------------------------------------------------------------------

    There is another confusing example on the same page:

    <body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
    <span typeof="ctag:Tag"
    rel="ctag:means" resource="http://rdf.freebase.com/ns/en.u2"
    property="ctag:label" content="U2"/>

    <span typeof="ctag:Tag"
    rel="ctag:means" resource="http://rdf.freebase.com/ns/en/zoo_tv_tour"
    property="ctag:label" content="ZooTV"/>
    </body>

    You note how the first reference to a resource goes /ns/en.u2 but the second goes /ns/en/zoo_tv_tour. At freebase.com they show the two resources being in namespace /en with the two respective keys as shown. Are the "." and "/" interchangeable to join the namespace and keys, or has their example got an error?

    --------------------------------------------------------------------------

    I'd appreciate some advice. (I hope these queries aren't too n00bish, but if I don't ask, I won't learn.)
    Last edited by Vanguard; 06-16-2010 at 07:46 PM. Reason: Tidy examples
    Live fast, die young, leave a beautiful body of code. accounts software free downloads UK

  3. #3
    SEO Workers Chief Information Officer Webnauts is on a distinguished road Webnauts's Avatar
    Join Date
    May 2010
    Location
    Augsburg, Germany
    Posts
    265

    Re: Common Tag - problems getting started

    Using multiple body tags is not possible. The ones who maybe do that are self-claimed designers, without any HTML background.

    For example how to implement, look at the homepage of seoworkers.com

  4. #4
    Senior Member Vanguard is on a distinguished road Vanguard's Avatar
    Join Date
    Jun 2010
    Posts
    162

    Re: Common Tag - problems getting started

    Quote Originally Posted by Webnauts View Post
    ... look at the homepage of seoworkers.com
    Thanks. There's some elegant code there.
    Live fast, die young, leave a beautiful body of code. accounts software free downloads UK

  5. #5
    Junior Member Tiggerito is on a distinguished road Tiggerito's Avatar
    Join Date
    Jun 2010
    Location
    Adelaide, Australia
    Posts
    33

    Re: Common Tag: Like The Meta Keywords Tag, But Even Better!

    I've just spent the evening implementing common tags for my website.

    Thanks Webnauts, I followed your example and used wikipedia as the references.

    Is there any way to test these tags?
    Tony McCreath, Tiggerito = Web Site Advantage

  6. #6
    SEO Workers Chief Information Officer Webnauts is on a distinguished road Webnauts's Avatar
    Join Date
    May 2010
    Location
    Augsburg, Germany
    Posts
    265

    Re: Common Tag: Like The Meta Keywords Tag, But Even Better!

    Replace my URL with yours and you will see how it works: http://www.w3.org/2007/08/pyRdfa/ext...eoworkers.com/

    But my question is, are you documents marked-up in XHTML+RDFa? To be specific, is this your doctype?

    Code:
    <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML+RDFa 1.0//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd'>
    If not, you most probably have validation problems and if that is the case they will most probably be ignored. Validate please your docs with the W3C Markup validator first.

    That said if you are not marking up your pages in XHTML+RDFa, you better go for microformats "rel" tag.

    Look at the source code of seoworkers.com

  7. #7
    Junior Member Tiggerito is on a distinguished road Tiggerito's Avatar
    Join Date
    Jun 2010
    Location
    Adelaide, Australia
    Posts
    33

    Re: Common Tag: Like The Meta Keywords Tag, But Even Better!

    I've been RDFa doctyped for a while :-)

    I ran the test and it picked up all my RDFa data in the same way as yours.

    What is interesting is that it picks up all href/src attributes and add them as ctag:tagged references?

    I would have also thought the idea was that there was one tagged object (body) with multiple tags. But it returns each tag inside a separate tagged element.
    Tony McCreath, Tiggerito = Web Site Advantage

  8. #8
    SEO Workers Chief Information Officer Webnauts is on a distinguished road Webnauts's Avatar
    Join Date
    May 2010
    Location
    Augsburg, Germany
    Posts
    265

    Re: Common Tag: Like The Meta Keywords Tag, But Even Better!

    Quote Originally Posted by Tiggerito View Post
    I've been RDFa doctyped for a while :-)

    I ran the test and it picked up all my RDFa data in the same way as yours.

    What is interesting is that it picks up all href/src attributes and add them as ctag:tagged references?

    I would have also thought the idea was that there was one tagged object (body) with multiple tags. But it returns each tag inside a separate tagged element.
    First your site does no validate for XHTML+RDFa.

    You simply have to add the ctags spans in a <p> or <div> or something like that.

    Besides things are not over there. To make sure for maximum machine readability you should use the XML prolog and content type as below:

    Code:
    <?xml version='1.0' encoding='utf-8'?>
    and
    Code:
    <meta http-equiv='Content-Type' content='application/xml+xhtml; charset=UTF-8' />
    Make sure that you do not get problems with IE browsers versions.

    Also get rid of the <embed> tags! Check here howto: http://www.dexterityunlimited.com/articles/?p=6

  9. #9
    Junior Member Tiggerito is on a distinguished road Tiggerito's Avatar
    Join Date
    Jun 2010
    Location
    Adelaide, Australia
    Posts
    33

    Re: Common Tag: Like The Meta Keywords Tag, But Even Better!

    I placed the ctags in a div. Later I want to have the tags around the actual text as its being used. And maybe include a usable link to the reference. It looks like I can combine an a tag, its href and the link text with the tag concept:

    Code:
    <a href="resource.com/tag.htm" typeof="ctag:Tag" rel="ctag:means" property="ctag:label" class="tag">Tagged Phrase</a>
    Do you have a good xhtml+rdfa validator? Stuff like the Firefox Html Validator extension gives lots of warnings and does not understand namespaces and the new attributes.

    I actually removed my link to indicate w3c validation because it would not understand this sort of stuff.

    I added the xml prolog. Interestingly, Chrome strips it out in its source view, which confused me for a while.

    I have a similar content type already, which I scraped from somewhere. Could you confirm which if not both are correct?

    <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
    <meta http-equiv='Content-Type' content='application/xml+xhtml; charset=UTF-8' />

    I'd tried removing the embed tag before but the solutions I found all failed with IE8. Yours worked.

    cheers.
    Tony McCreath, Tiggerito = Web Site Advantage

  10. #10
    SEO Workers Chief Information Officer Webnauts is on a distinguished road Webnauts's Avatar
    Join Date
    May 2010
    Location
    Augsburg, Germany
    Posts
    265

    Re: Common Tag: Like The Meta Keywords Tag, But Even Better!

    Quote Originally Posted by Tiggerito View Post
    I placed the ctags in a div. Later I want to have the tags around the actual text as its being used. And maybe include a usable link to the reference. It looks like I can combine an a tag, its href and the link text with the tag concept:

    Code:
    <a href="resource.com/tag.htm" typeof="ctag:Tag" rel="ctag:means" property="ctag:label" class="tag">Tagged Phrase</a>
    That is an excellent idea. But I do not always necessarily want to set outbound links.

    Quote Originally Posted by Tiggerito View Post
    Do you have a good xhtml+rdfa validator? Stuff like the Firefox Html Validator extension gives lots of warnings and does not understand namespaces and the new attributes.
    How about Distiller http://www.w3.org/2007/08/pyRdfa/

    Quote Originally Posted by Tiggerito View Post
    I actually removed my link to indicate w3c validation because it would not understand this sort of stuff.
    You would not understand markup errors?

    Quote Originally Posted by Tiggerito View Post
    I added the xml prolog. Interestingly, Chrome strips it out in its source view, which confused me for a while.
    Then that is Chrome.

    Quote Originally Posted by Tiggerito View Post
    I have a similar content type already, which I scraped from somewhere. Could you confirm which if not both are correct?

    <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
    <meta http-equiv='Content-Type' content='application/xml+xhtml; charset=UTF-8' />
    <meta http-equiv='Content-Type' content='application/xml+xhtml; charset=UTF-8' />
    Quote Originally Posted by Tiggerito View Post
    I'd tried removing the embed tag before but the solutions I found all failed with IE8. Yours worked.
    Excellent!

+ Reply to Thread

Similar Threads

  1. Meta Description or Open Graph Meta Description?
    By Webnauts in forum Search Engine Optimization Forum
    Replies: 2
    Last Post: 07-12-2010, 08:06 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts