Wednesday, July 17, 2013

RDFa is (still) the best way to improve your SEO

The web is getting better and better.  Search is getting smarter.  Google's 'rich snippets' and Facebook's Open Graph Protocol are great examples of how the industry is helping web developers make their content more machine-readable.  Industry-standard 'vocabularies' like FOAF, Dublin Core Terms, Good Relations, and are helping developers ensure that their content just makes sense. And all of those technologies are based largely upon, and designed to support other technologies that use, RDF.

What is RDF?  RDF stands for "Resource Description Framework", and an excellent overview of it is in the RDF Primer the W3C has published.  If you don't want to dig that deeply, just know that RDF is a method for describing in a very standard way the relationship between x and y.  Moreover, it can also describe the relationship between y and z.  And so on and so on, until you get all the way down to some well-known, standardized 'term' that has absolute meaning to something like the Google search engine.

How is this useful?  Well, it means in part that I can say something like "Shane McCarron is the author of this article".  And, because the concept of an author is a well-known, standardized 'term' that has an absolute meaning, and because this article has a permanent URI, anything that can understand RDF will immediately *know* this.  Further, if I also say "Shane McCarron" is identified by some other URI (e.g., RDF-aware processors will automatically associate the author with that URI.

That's all great, I hear you saying.  But how do I, as a web developer, *tell* Google things about my web pages?  Enter RDFa.  RDFa stands for "RDF in attributes" (some people might argue about that, but I was in the room and that's what I remember).  It is a way to embed RDF information right into your web page in a pretty straightforward way.  And, if you do it right, it means that search engines like Google and Facebook will know *more* about your web site and its information than they will know about your less-savvy competitors who don't bother to put this data in.

There are a lot of great resources out on the web that can help you get your annotations right.  I have included a list of some at the end of this article.  However, just to get you started, here is a simple example.

Let's say you have a picture you want to include on your web site.  You want people to be able to use that picture, but you want them to know what it is a picture of and who took it.  You could say something like:

<span about="#myPicture">
<img id="myPicture" 
     alt="Cabin on the lake"
<span property="dc:title">Cabin on the lake</span> by
<span property="dc:creator">Shane McCarron</span>

In that example we use terms from the "Dublin Core" vocabulary.  These are well-known terms.  Any knowledge engine will know exactly what you are talking about.  If you wanted to be more explicit about who the creator was, you might extend that definition like:

<span about="#myPicture">
<img id="myPicture"
     alt="Cabin on the lake"
<span property="dc:title">Cabin on the lake</span> by
<span rel="dc:creator"
   <span rel="foaf:homepage"
         property="foaf:name">Shane McCarron</span>

Now we have also mixed in some terms from the "Friend of a Friend" vocabulary to say that the dc:creator we talked about before is a "Person" who has a "homepage" and a "name".  These are also well-known terms and will help the knowledge engines make better inferences about who "Shane McCarron" is.  If there are other things out there for which a 'foaf:Person' with those attributes is listed as the 'dc:creator', they were likely created by the same "Shane McCarron".  

There are LOTS of ways to use RDFa in your web pages and articles.  I plan to write more on this in the coming weeks.  For now, here are some resources that can help you get started.

Next up: How the W3C is using RDFa to help ensure its own documents are well annotated.

RDFa is (still) the best way to improve your SEO by Shane McCarron


Radjapov said...

Neptune, Pluto, Venus and even our blue planet have never been closer. download music Fixed crash when studying a single card and made start studying options clearer.

Tobiii said...

Mobile Seller App is a tool which has proved its suitability across trades. downlodable videos Fixed Minor Coding BugsProgressive Reading on iPad editions on select issues.

Binasa Lakryuzo said...

Uploads images to database or creates images in the file system. downlodable torrent From Camille Garick: Retro Slots is a tribute to gorgeous 50s, the Golden Age of Las Vegas.

Alvira Li said...

The wearer can turn the milgauss srchives crown to make the golden star jump to another position. In other words, which stars on the replica watches uk dial on seven days a week to be lit, completely determined by the wearer.And the replica watches uk little prince together on the interstellar journey pilots chronograph watch "Little Prince" special edition

Frankie said...

2: 'Color_Shapes' - Learn to identify colors and shapes. download warez Multiple timers can be set and can run simultaneously.

Binasa Lakryuzo said...

Backup key container generation in windows service. web site! The World of Tanks Blitz images and logos contained within are copyrighted by Wargaming.

kamil kamil said...

Viewing OpenFeint Leaderboards on older devices can sometimes cause the application to crash. downlodable ebooks Emile Hirsh's Congo Diary Columns by Masaru Sato, Hiroshi Morisu, Satoshi Tomisaka.

Komil Hitriy said...

Knock down the Zombies earnestly and aim for the new record. Diplme en littrature anglaise (Universit Brigham Young), Stephenie Meyer vit en Arizona avec son mari et ses trois jeunes fils.

millenium said...

You can use the smartphone app to shoot, view and share images from your smartphone. Pronunciation tab for an in depth look at Japanese.

Millennium 77 said...

Signup for an account and collect your 2000 free Gems. The book, which is considered a classic in cookery books, has sold a record 1,50,000 copies.

Roman lesnar said...
This comment has been removed by the author.
Roman lesnar said...

The best manner to improve your search engine optimization is to appear in principal publications due to the fact these are indexed high on Google. in case you'd like to enhance your local seo, goal pinnacle nearby publications for insurance and create and foster relationships with nearby reporters who will cowl your news on an on-going commercial enterprise. when you get that coverage, you may be aware these hyperlinks will help enhance your nearby search engine optimization immensely. Blog comments services

Radjabov Rustam said...

Once your trip is finished, you can leave a comment or recommendation in the user review section to help future travelers. downlodable torrent See if you can learn and adapt faster than Elizabot can! Brainybot Brainybot is the toughest to beat.

AMELIA77 said...

Be sure you are aware how your server handles spawning. Go to website. Any words for which you made mistakes or asked for hints will appear more frequently in the game until you know them.