A Blog Post in eRDF

From GetSemantic

Jump to: navigation, search

A blog post marked up with eRDF, using the SIOC, SIOC types module and DC vocabularies

See also the other snippets from the eRDF page for a fuller explanation of eRDF syntax.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head profile="http://purl.org/NET/erdf/profile">
		<link rel="schema.sioc" href="http://rdfs.org/sioc/ns#"/>
		<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/"/>
                <link rel="schema.sioct" href="http://rdfs.org/sioc/types#"/>
		
    </head>

    <body>
      <div class="contents -sioc-Post" id="post"> 
		<h1 class="dc-title"><!-- title goes here --></h1>
        <h2 class="dc-date"><!-- date goes here - you can also put a machine-readable version in @title --></h2>
       	<div class="sioc-contents"><!-- blog post contents goes here --> </div>
       <h2>Comments</h2>
       <ol>
          <li class="sioc-has_reply -sioct-Comment" id="comment-1">
             <cite class="dc-creator">John Smith</cite>
              <span class="dc-date">2008-01-01T12:01</span>
              <div class="sioc-contents">I fundamentally disagree!</div>>
          </li>
       </ol>
       </div>


    </body>
</html>




Personal tools