Multi-level vCards

15
Multi-level vCards Or, how to give the right data to the right people

description

Or, how to give the right data to the right people

Transcript of Multi-level vCards

Page 1: Multi-level vCards

Multi-level vCards

Or, how to give the right data to the right people

Page 2: Multi-level vCards

You already have a vCard

Page 3: Multi-level vCards

But you don’t want everything to be grepable by everyone

Page 4: Multi-level vCards

But also there’s some stuff you’re happy with acquaintances knowing

Page 5: Multi-level vCards

Managing three vCards is a pain

Page 6: Multi-level vCards

So just manage the one

Page 7: Multi-level vCards

Quick live demo

Page 8: Multi-level vCards

First version of this code simply created µformatted HTML

Page 9: Multi-level vCards

Which then got passed through technorati’s hCard parser

Page 10: Multi-level vCards

But technorati’s converter screwed up conversion of IM usernames

Page 11: Multi-level vCards

So now an exported vCard from Address Book is used as input

Page 12: Multi-level vCards

And “the app” creates the output vCard itself

Page 13: Multi-level vCards

Based on a list of acquaintance-only and friend-only items

Page 14: Multi-level vCards

Which imports nicely into address book

Page 15: Multi-level vCards

Obligatory LOLcat