Parsing Microformats
-
Upload
gareth-rushgrove -
Category
Technology
-
view
2.514 -
download
3
description
Transcript of Parsing Microformats
http://www.flickr.com/photos/22261399@N03/2144971881/
Parsing
Gareth Rushgrove | morethanseven.net
What Do We Mean By Parsing?
Gareth Rushgrove | morethanseven.net http://www.flickr.com/photos/slagheap/156203875/
Language Specific Vs Web Services
Gareth Rushgrove | morethanseven.net http://www.flickr.com/photos/evansfam/258243050/
hKit PHP
Gareth Rushgrove | morethanseven.net
code.google.com/p/hkit
hKit Example
Gareth Rushgrove | morethanseven.net
<?php include('hkit.class.php'); $hKit = new hKit; $result = $hKit->getByURL('hcard', 'http://microformats.org/');?>
Mofo Ruby
Gareth Rushgrove | morethanseven.net
mofo.rubyforge.org
Mofo Example
Gareth Rushgrove | morethanseven.net
fireball = hCard.find \ 'http://flickr.com/people/gruber/'fireball.nickname //=> "gruber"
Sumo Javascript
Gareth Rushgrove | morethanseven.net
danwebb.net
var hcards = HCard.discover();hcards[0].fn; //=> 'Dan Webb'hcards[0].n.familyName; //=> 'Webb'
Sumo Example
Gareth Rushgrove | morethanseven.net
Brian Suda XSLT
Gareth Rushgrove | morethanseven.net
suda.co.uk/projects/X2V
Brian Suda Example
Gareth Rushgrove | morethanseven.net
http://suda.co.uk/projects/microformats/hcard/get-contact.php?uri=Web site URI
ufXtract Web Service
Gareth Rushgrove | morethanseven.net
lab.backnetwork.com/ufXtract
ufXtract Example
Gareth Rushgrove | morethanseven.net
http://lab.backnetwork.com/ufXtract?url=web site URI[&format=format][&output=output][&callback=function]
Optimus Web Service
Gareth Rushgrove | morethanseven.net
microformatique.com/optimus
http://microformatique.com/optimus/?uri=web site URI[&format=format][&function=function][&filter=filter]
Optimus Example
Gareth Rushgrove | morethanseven.net
Social Graph API Web Service
Gareth Rushgrove | morethanseven.net
code.google.com/apis/socialgraph
Social Graph API Example
Gareth Rushgrove | morethanseven.net
http://socialgraph.apis.google.com/lookup?q=Web Site URI[&callback=function]
In Summary
Gareth Rushgrove | morethanseven.net http://www.flickr.com/photos/mzmo/1463877387/