Slide 1

Slide 1 text

Can your website be your API? Drew McLellan Institutional Web Management Workshop, July 2007

Slide 2

Slide 2 text

Can your website be your API?

Slide 3

Slide 3 text

Could my website be an API?

Slide 4

Slide 4 text

Can I add enough semantic information to the pages I already publish so that they could replace the function of a dedicated API?

Slide 5

Slide 5 text

Yes

Slide 6

Slide 6 text

Yes and no

Slide 7

Slide 7 text

Data is dying.

Slide 8

Slide 8 text

EMI takes locks off music tracks Tue 3 Apr 2007, 3:35 AM ET LONDON - EMI Group PLC said Monday it will begin selling songs online that are free of copy-protection technology through Apple Inc.'s iTunes Store. The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year for the world's four major record companies to start selling songs online without copy- protection software. "Doing the right thing for the customer going forward is to tear down the walls that impede interoperability," Jobs told a London news conference. By JANE WARDELL, Associated Press Writer

Slide 9

Slide 9 text

EMI takes locks off music tracks

Tue 3 Apr 2007, 3:35 AM ET

LONDON - EMI Group PLC said Monday it will begin selling songs online that are free of copy-protection technology through Apple Inc.'s iTunes Store.

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year for the world's four major record companies to start selling songs online without copy- protection software.

"Doing the right thing for the customer going forward is to tear down the walls that impede interoperability," Jobs told a London news conference.

By JANE WARDELL, Associated Press Writer

Slide 10

Slide 10 text

EMI takes locks off music tracks

Tue 3 Apr 2007, 3:35 AM ET

LONDON - EMI Group PLC said Monday it will begin selling songs online that are free of copy-protection technology through Apple Inc.'s iTunes Store.

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year for the world's four major record companies to start selling songs online without copy- protection software.

"Doing the right thing for the customer going forward is to tear down the walls that impede interoperability," Jobs told a London news conference.

By JANE WARDELL, Associated Press Writer

Slide 11

Slide 11 text

EMI takes locks off music tracks

Tue 3 Apr 2007, 3:35 AM ET

LONDON - EMI Group PLC said Monday it will begin selling songs online that are free of copy-protection technology through Apple Inc.'s iTunes Store.

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year for the world's four major record companies to start selling songs online without copy- protection software.

"Doing the right thing for the customer going forward is to tear down the walls that impede interoperability," Jobs told a London news conference.

By JANE WARDELL, Associated Press Writer

Slide 12

Slide 12 text

EMI takes locks off music tracks

Tue 3 Apr 2007, 3:35 AM ET

LONDON - EMI Group PLC said Monday it will begin selling songs online that are free of copy-protection technology through Apple Inc.'s iTunes Store.

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year for the world's four major record companies to start selling songs online without copy- protection software.

"Doing the right thing for the customer going forward is to tear down the walls that impede interoperability," Jobs told a London news conference.

By JANE WARDELL, Associated Press Writer

Slide 13

Slide 13 text

EMI takes locks off music tracks

Tue 3 Apr 2007, 3:35 AM ET

LONDON - EMI Group PLC said Monday it will begin selling songs online that are free of copy-protection technology through Apple Inc.'s iTunes Store.

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year for the world's four major record companies to start selling songs online without copy- protection software.

"Doing the right thing for the customer going forward is to tear down the walls that impede interoperability," Jobs told a London news conference.

By JANE WARDELL, Associated Press Writer

Slide 14

Slide 14 text

EMI takes locks off music tracks

Tue 3 Apr 2007, 3:35 AM ET

LONDON - EMI Group PLC said Monday it will begin selling songs online that are free of copy-protection technology through Apple Inc.'s iTunes Store.

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year for the world's four major record companies to start selling songs online without copy- protection software.

"Doing the right thing for the customer going forward is to tear down the walls that impede interoperability," Jobs told a London news conference.

By JANE WARDELL, Associated Press Writer

Slide 15

Slide 15 text

Article Date Author Location Person Role Company

Slide 16

Slide 16 text

Article Date Author Location Person Role Company hAtom

Slide 17

Slide 17 text

Article Date Author Location Person Role Company hAtom hCard

Slide 18

Slide 18 text

microformats

Slide 19

Slide 19 text

rel-tag for tags

Slide 20

Slide 20 text

Slide 21

Slide 21 text

Slide 22

Slide 22 text

Slide 23

Slide 23 text

Slide 24

Slide 24 text

Slide 25

Slide 25 text

hCard for address cards

Slide 26

Slide 26 text

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year...

Slide 27

Slide 27 text

The announcement followed calls by Apple Chief Executive Steve Jobs earlier this year...

Slide 28

Slide 28 text

for events hCalendar

Slide 29

Slide 29 text

I'll be presenting about microformats at The IWMW at Vanbrugh College in York this Tuesday.

Slide 30

Slide 30 text

I'll be presenting about microformats at The IWMW at Vanbrugh College in York this Tuesday.

Slide 31

Slide 31 text

I'll be presenting about microformats at The IWMW at Vanbrugh College in York this Tuesday.

Slide 32

Slide 32 text

I'll be presenting about microformats at The IWMW at Vanbrugh College in York this Tuesday.

hCard

Slide 33

Slide 33 text

Brain > Code

Slide 34

Slide 34 text

Fork handles?

Slide 35

Slide 35 text

File > Open

Slide 36

Slide 36 text

(shameless)

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

beep

Slide 39

Slide 39 text

Tel: +44 (0) 1234 432 432 Fax: +44 (0) 1234 432 433

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

Mmm APIs!

Slide 42

Slide 42 text

Bow-wow

Slide 43

Slide 43 text

yay.

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

http://upcoming.org/ event/141320

Slide 46

Slide 46 text

event.getInfo

Slide 47

Slide 47 text

http:// upcoming.yahooapis.com/ services/rest/ ?api_key= &method=event.getInfo &event_id=141320

Slide 48

Slide 48 text

The Highland Fling 2007 - Web Standards in Scotland

Slide 49

Slide 49 text

‘Tails’ for Firefox

Slide 50

Slide 50 text

Slide 51

Slide 51 text

event.getInfo

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

http://flickr.com/ people/drewm

Slide 54

Slide 54 text

flickr.people.getInfo

Slide 55

Slide 55 text

http://api.flickr.com/ services/rest/ ?api_key= &method= flickr.people.getInfo &user_id=87703047@N00

Slide 56

Slide 56 text

flickr.people.findByUsername

Slide 57

Slide 57 text

http://api.flickr.com/ services/rest/ ?api_key= &method= flickr.people.findByUsername &username=drewm

Slide 58

Slide 58 text

Tails

Slide 59

Slide 59 text

BEGIN:VCARD PRODID:-//suda.co.uk//X2V 0.8 (BETA)//EN SOURCE:http://flickr.com/people/drewm NAME:Flickr: drewm VERSION:3.0 N;CHARSET=UTF-8:McLellan;Drew;;; FN;CHARSET=UTF-8:Drew McLellan TITLE;CHARSET=UTF-8:Web Application Developer NICKNAME;CHARSET=UTF-8:drewm ADR;CHARSET=UTF-8:;;;Maidenhead;;;United Kingdom LOGO;VALUE=uri:http://static.flickr.com/14/ buddyicons/[email protected]?1147807052 URL:http://www.allinthehead.com/ END:VCARD X2V

Slide 60

Slide 60 text

[0] => Array ( [fn] => Drew McLellan [n] => Array ( [given-name] => Drew [family-name] => McLellan ) [adr] => Array ( [country-name] => United Kingdom [locality] => Maidenhead ) [nickname] => drewm [logo] => http://static.flickr.com/14/buddyicons/ [email protected]?1147807052 [url] => http://www.allinthehead.com/ [title] => Web Application Developer ) hKit

Slide 61

Slide 61 text

drewm Drew McLellan 2201f242d415d2daca2faa7bfb6da27bd476ea6b Maidenhead, United Kingdom http://www.flickr.com/photos/drewm/ http://www.flickr.com/people/drewm/ http://www.flickr.com/mob/photostream.gne?id=199423 2001-03-21 14:08:15 1118087290 772

Slide 62

Slide 62 text

flickr.people.getInfo

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

http://del.icio.us/ drewm/microformats

Slide 65

Slide 65 text

: ’ (

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

http://ma.gnolia.com/ people/drewm/tags/ microformats

Slide 68

Slide 68 text

bookmarks_find

Slide 69

Slide 69 text

http://ma.gnolia.com/api/ rest/1/bookmarks_find? api_key= &person=drewm &tags=microformats

Slide 70

Slide 70 text

microformats.org http://microformats.org/ http://scst.srv.girafa.com/srv/i? i=sc010159&r=microformats.org&s=2347d22ba7d0ed72

Slide 71

Slide 71 text

Tails

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

http://corkd.com/wine/ view/1122

Slide 74

Slide 74 text

: ’ (

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

Tails

Slide 77

Slide 77 text

“I could tell you about Brian Suda emailing about some crazy XSLT/SPARQL stuff he did by scraping his drinking buddies, then running a search query and cross-referencing the hReviews with his XFN list. He was attempting to show how he could get a search result of “trusted” reviews all based on the microfomats we've implemented. I didn't have a clue as to what he was talking about. :-)

Slide 78

Slide 78 text

But that's the beauty of it! Something I'm calling “oblivious development”. I've always looked at microformats as “planting seeds” that later grow into things you never even thought of. microformats are so easy to sprinkle in, that as designer I can plant the stuff that later someone like Brian Suda can do insane things with. I love that. I don't understand the stuff that Brian was doing - but I don't have to.” Dan Cederholm, Cork’d

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

read/write

Slide 81

Slide 81 text

Cook’d?

Slide 82

Slide 82 text

drewmclellan.getInfo

Slide 83

Slide 83 text

http://allinthehead.com/about

Slide 84

Slide 84 text

My photos drewmclellan.getPhotos

Slide 85

Slide 85 text

My events drewmclellan.getEvents

Slide 86

Slide 86 text

My wine journal drewmclellan.getDrunk

Slide 87

Slide 87 text

So what?

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

http://drewmclellan.net/

Slide 90

Slide 90 text

http://openid.net/

Slide 91

Slide 91 text

So what?

Slide 92

Slide 92 text

No content

Slide 93

Slide 93 text

Add by URI?

Slide 94

Slide 94 text

Can I add enough semantic information to the pages I already publish so that they could replace the function of a dedicated API?

Slide 95

Slide 95 text

Can I add enough semantic information to the pages I already publish so that I get an API thrown in for free?

Slide 96

Slide 96 text

Hell yeah.

Slide 97

Slide 97 text

oreilly.com

Slide 98

Slide 98 text

Can your website be your API?

Slide 99

Slide 99 text

Fo shizzle.

Slide 100

Slide 100 text

Thanks! http://allinthehead.com/presentations/2006/mf-api

Slide 101

Slide 101 text

Credits the following Creative Commons licensed images were used in this presentation

Slide 102

Slide 102 text

http://flickr.com/photos/adactio/169052553/ http://flickr.com/photos/tgraham/253500273/ http://flickr.com/photos/gabrielhl/76450732/ http://flickr.com/photos/mpdehaan/21006425/ http://flickr.com/photos/splorp/64027565/ http://flickr.com/photos/vampire_bear/15910260/ http://flickr.com/photos/agos/240924445/ http://flickr.com/photos/brook/65076098/ http://flickr.com/photos/shveckle/204895620/ http://flickr.com/photos/poagao/23805079/ http://flickr.com/photos/z1784/69981580/ http://flickr.com/photos/johnnyhuh/812894/ http://flickr.com/photos/gperez/4393118/ http://flickr.com/photos/isphoto/54113178/ http://flickr.com/photos/flashmaggie/6271604/ http://flickr.com/photos/rachelandrew/169006965/ http://flickr.com/photos/scatti_frullati/156505041/ http://flickr.com/photos/thedepartment/137413905/ http://flickr.com/photos/camera_rwanda/265802151/ http://flickr.com/photos/esther17/171786999/ http://flickr.com/photos/ianlloyd/264755178/

Slide 103

Slide 103 text

http://flickr.com/photos/publicenergy/74773382/ http://flickr.com/photos/whatwhat/91374586/ http://flickr.com/photos/donsolo/314184695/ http://flickr.com/photos/badjonni/386624296/ http://flickr.com/photos/gehmflor/375334958/ http://flickr.com/photos/vidiot/69075298/ http://flickr.com/photos/bitzi/265052661/ http://flickr.com/photos/nolifebeforecoffee/124659356/ http://flickr.com/photos/stewdean/30705594/ http://flickr.com/photos/niznoz/111012362/ http://flickr.com/photos/docman/43269391/ http://flickr.com/photos/larimdame/4967439/ http://flickr.com/photos/pbo31/428964423/

Slide 104

Slide 104 text

No content