xfolk-to-rdf: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(Change of technique - this makes better use of RDF.)
(Further explanation.)
Line 1: Line 1:
<h1>xFolk/hReview &rarr; RDF</h1>
<h1>xFolk/hReview &rarr; RDF</h1>


[[Image:http://buzzword.org.uk/2008/hReview/to-rdf.jpeg]]
Only a rough sketch on a piece of paper so far. "X" is the review, "Y" is the item being reviewed.
 
[http://buzzword.org.uk/2008/hReview/to-rdf.png http://buzzword.org.uk/2008/hReview/to-rdf.jpeg]
 
= xFolk / hReview Equivalence =
 
xFolk can be thought of as a minimal version of hReview.
 
{| border="1" style="float:left"
|-
! hReview Term
! xFolk Term
|-
| hreview
| xfolkentry
|-
| version
| /
|-
| summary
| /
|-
| type
| type is always "url"
|-
| item fn
| taggedlink (link text)
|-
| item url
| taggedlink (href)
|-
| item photo
| /
|-
| reviewer
| /
|-
| dtreviewed
| /
|-
| rating (best, worst)
| /
|-
| description
| description
|-
| tag
| tag
|-
| permalink
| /
|-
| license
| /
|}
 
With this in mind, an xFolk entry can be treated as simply a funny-looking hReview and the hReview to RDF mapping then applied to xFolk.

Revision as of 07:35, 20 June 2008

xFolk/hReview → RDF

Only a rough sketch on a piece of paper so far. "X" is the review, "Y" is the item being reviewed.

to-rdf.jpeg

xFolk / hReview Equivalence

xFolk can be thought of as a minimal version of hReview.

hReview Term xFolk Term
hreview xfolkentry
version /
summary /
type type is always "url"
item fn taggedlink (link text)
item url taggedlink (href)
item photo /
reviewer /
dtreviewed /
rating (best, worst) /
description description
tag tag
permalink /
license /

With this in mind, an xFolk entry can be treated as simply a funny-looking hReview and the hReview to RDF mapping then applied to xFolk.