{"id":1123,"date":"2011-02-16T16:04:26","date_gmt":"2011-02-16T15:04:26","guid":{"rendered":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/2011\/02\/dev8d-lightning-talk-rdfa-1-1\/"},"modified":"2011-02-16T16:04:26","modified_gmt":"2011-02-16T15:04:26","slug":"dev8d-lightning-talk-rdfa-1-1","status":"publish","type":"post","link":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/2011\/02\/dev8d-lightning-talk-rdfa-1-1\/","title":{"rendered":"Dev8D Lightning Talk: RDFa 1.1"},"content":{"rendered":"<p>Damian Steer<br \/>\nLinked Data requirements are scary!<br \/>\nRDFa = RDF in attributes &#8211; way of integrating structured data into HTML pages &#8211; people can read page, machines can read data<\/p>\n<p>Example<\/p>\n<p>&lt;html xmlns:foaf=&#8221;http:\/\/xmlns.com\/foaf\/0.1\/&#8221;&gt;<br \/>\n&lt;div about=&#8221;#person&#8221; typeof=:foaf:Person&#8221;&gt;<br \/>\n&lt;h2 property=&#8221;foaf:name&#8221;&gt;Damian Steer&lt;\/h2&gt;<br \/>\n&lt;\/div&gt;<\/p>\n<p>The attributes allow you to say what the data is that you are representing, data lives in the page &#8211; in this case div attributes say you are going to talk about a &#8216;person&#8217; &#8211; saying it is a foaf:Person means external consumer will know it is the same type of thing as other foaf:Persons. h2 attribute say you have a foaf:name, and then contents of h2 is the name<\/p>\n<p>Tips:<br \/>\nAugment your HTML &#8211; don&#8217;t write RDF<br \/>\nIf you have more than two RDFa attributes on an element reconsider your design<\/p>\n<p>Who is using RDFa? Google (Rich Snippets uses RDFa and other stuff), Facebook (Open Graph Protocol &#8211; dumbed down RDFa), Yahoo (Search Monkey), Rotten Tomatoes<\/p>\n<p>Analysis of use of Microformats and RDFa<br \/>\n<a href=\"http:\/\/tinyurl.com\/rdfa-deploy\">http:\/\/tinyurl.com\/rdfa-deploy<\/a><br \/>\nCan see spike in RDFa usage<\/p>\n<p>RDFa 1.1<br \/>\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Coming into html5<br \/>\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Simplify prefixes<br \/>\n&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Allows use of full URIs (instead of prefixes)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Damian Steer Linked Data requirements are scary! RDFa = RDF in attributes &#8211; way of integrating structured data into HTML pages &#8211; people can read page, machines can read data Example &lt;html xmlns:foaf=&#8221;http:\/\/xmlns.com\/foaf\/0.1\/&#8221;&gt; &lt;div about=&#8221;#person&#8221; typeof=:foaf:Person&#8221;&gt; &lt;h2 property=&#8221;foaf:name&#8221;&gt;Damian Steer&lt;\/h2&gt; &lt;\/div&gt; The attributes allow you to say what the data is that you are representing, data [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[59,60],"class_list":["post-1123","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-dev8d","tag-light"],"_links":{"self":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/1123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/comments?post=1123"}],"version-history":[{"count":0,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/1123\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/media?parent=1123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/categories?post=1123"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/tags?post=1123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}