Skip to content

Instantly share code, notes, and snippets.

@kvantomme
Created November 27, 2012 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kvantomme/4153882 to your computer and use it in GitHub Desktop.
Save kvantomme/4153882 to your computer and use it in GitHub Desktop.
Using RDFa to mark-up features in specifications for websites
<body xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:featurespec="http://pronovix.com/featurespec/">
<div property=”featurespec:project”>
<h1>Acme e-shop for interplanetary mouse rockets</h1>
<div property=”featurespec:subproject”>
<h2>Flash splash screen: mice for world domination</h2>
<div property=”featurespec:component”>
<h3>Drupal XML RPC service</h3>
The Splash screen will have a couple of different backend functions:
<ul>
<li property=”featurespec:feature”>A function that retrieves a list of mice that have conquered the world from the database that will be shown on the splash screen</li>
<li property=”featurespec:feature”>A function that retrieves the url's for the mouse launching movies that will be shown in a carousel on the page</li>
</ul>
</div>
</div>
</div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment