Top Banner
http://www.flickr.com/photos/22261399@N03/2144971881/ Parsing Gareth Rushgrove | morethanseven.net
18

Parsing Microformats

Jan 16, 2015

Download

Technology

Brief overview of current microformat parsers presented at semanticcamp
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Parsing Microformats

http://www.flickr.com/photos/22261399@N03/2144971881/

Parsing

Gareth Rushgrove | morethanseven.net

Page 2: Parsing Microformats

What Do We Mean By Parsing?

Gareth Rushgrove | morethanseven.net http://www.flickr.com/photos/slagheap/156203875/

Page 3: Parsing Microformats

Language Specific Vs Web Services

Gareth Rushgrove | morethanseven.net http://www.flickr.com/photos/evansfam/258243050/

Page 4: Parsing Microformats

hKit PHP

Gareth Rushgrove | morethanseven.net

code.google.com/p/hkit

Page 5: Parsing Microformats

hKit Example

Gareth Rushgrove | morethanseven.net

<?php include('hkit.class.php'); $hKit = new hKit; $result = $hKit->getByURL('hcard', 'http://microformats.org/');?>

Page 6: Parsing Microformats

Mofo Ruby

Gareth Rushgrove | morethanseven.net

mofo.rubyforge.org

Page 7: Parsing Microformats

Mofo Example

Gareth Rushgrove | morethanseven.net

fireball = hCard.find \ 'http://flickr.com/people/gruber/'fireball.nickname //=> "gruber"

Page 8: Parsing Microformats

Sumo Javascript

Gareth Rushgrove | morethanseven.net

danwebb.net

Page 9: Parsing Microformats

var hcards = HCard.discover();hcards[0].fn; //=> 'Dan Webb'hcards[0].n.familyName; //=> 'Webb'

Sumo Example

Gareth Rushgrove | morethanseven.net

Page 10: Parsing Microformats

Brian Suda XSLT

Gareth Rushgrove | morethanseven.net

suda.co.uk/projects/X2V

Page 12: Parsing Microformats

ufXtract Web Service

Gareth Rushgrove | morethanseven.net

lab.backnetwork.com/ufXtract

Page 13: Parsing Microformats

ufXtract Example

Gareth Rushgrove | morethanseven.net

http://lab.backnetwork.com/ufXtract?url=web site URI[&format=format][&output=output][&callback=function]

Page 14: Parsing Microformats

Optimus Web Service

Gareth Rushgrove | morethanseven.net

microformatique.com/optimus

Page 15: Parsing Microformats

http://microformatique.com/optimus/?uri=web site URI[&format=format][&function=function][&filter=filter]

Optimus Example

Gareth Rushgrove | morethanseven.net

Page 16: Parsing Microformats

Social Graph API Web Service

Gareth Rushgrove | morethanseven.net

code.google.com/apis/socialgraph

Page 17: Parsing Microformats

Social Graph API Example

Gareth Rushgrove | morethanseven.net

http://socialgraph.apis.google.com/lookup?q=Web Site URI[&callback=function]

Page 18: Parsing Microformats

In Summary

Gareth Rushgrove | morethanseven.net http://www.flickr.com/photos/mzmo/1463877387/