[foaf-protocols] putting pictures into your public key

Melvin Carvalho melvincarvalho at gmail.com
Thu Mar 11 12:32:34 CET 2010


2010/3/9 Story Henry <henry.story at bblfish.net>

> Yes! you can do it :-)
>
> Make your public key really yours. Here is my public key with a foaf-icon
> in it
>
>   http://bblfish.net/
>
> I logged into http://foaf.me/ with it!!!!
>

Henry you need to take out align="justify" to make it valid XHTML, will that
mess up the presentation?

http://validator.w3.org/check?uri=http%3A%2F%2Fbblfish.net&charset=%28detect+automatically%29&doctype=Inline&group=0&accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8&accept-language=en-us%2Cen%3Bq%3D0.5&accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7&user-agent=W3C_Validator%2F1.767



>
> This works because RDFa takes all the text from inside a literal after
> removing the html elements inside. So my page above even though my literal
> contains an image, does in fact return the normal key.
>
> --------------------------------------------
> $ rapper -i rdfa -o turtle http://bblfish.net
> rapper: Parsing URI http://bblfish.net with parser rdfa
> rapper: Serializing with serializer turtle
> @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix : <http://www.w3.org/1999/xhtml> .
> @prefix cert: <http://www.w3.org/ns/auth/cert#> .
> @prefix foaf: <http://xmlns.com/foaf/0.1/> .
> @prefix owl: <http://www.w3.org/2002/07/owl#> .
> @prefix rsa: <http://www.w3.org/ns/auth/rsa#> .
> @prefix dc: <http://purl.org/dc/terms/> .
>
> <http://bblfish.net/>
>    dc:conformsTo <http://www.w3.org/TR/rdfa-syntax> ;
>    a foaf:PersonalProfileDocument ;
>    <http://www.w3.org/1999/xhtml/vocab#icon> <
> http://bblfish.net/favicon.ico> ;
>    foaf:primaryTopic <http://bblfish.net/#hjs> .
>
> <http://bblfish.net/#hjs>
>    foaf:aimChatId "unbabelfish" ;
>    foaf:mbox <mailto:henry.story at bblfish.net> ;
>    foaf:name "Henry Story" ;
>    foaf:openid <http://bblfish.net/> ;
>    foaf:phone <tel:+15109315491>, <tel:+33970448664> .
>
> []
>    a rsa:RSAPublicKey ;
>    cert:identity <http://bblfish.net/#hjs> ;
>    rsa:modulus """9D ☮ 79 ☮ BF ☮ E2 ☮ F4 ☮ 98 ☮ BC ☮ 79 ☮ 6D ☮ AB ☮ 73 ☮ E2
> ☮ 8B ☮ 39 ☮ 4D ☮ B5
> 26 ✜ 68 ✜ 49 ✜ EE ✜ 71 ✜ 87 ✜ 06 ✜ 32 ✜ C9 ✜ 9F ✜ 3F ✜ 94 ✜ E5 ✜ CB ✜ 4D ✜
> B5
> 12 ☮ 35 ☮ 13 ☮ 69 ☮ 60 ☮ 81 ☮ 58 ☮ 79 ☮ 66 ☮ F3 ☮ 79 ☮ 20 ☮ 91 ☮ 6A ☮ 3F ☮
> 42
> 5A ✜ F6 ✜ 54 ✜ 42 ✜ 88 ✜ B2 ✜ E9 ✜ 19 ✜ 4A ✜ 79 ✜ 87 ✜ 2E ✜ 62 ✜ 44  ✜ 2D ✜
> 7C
> 06 ☽ 78 ☽ F8 ☽ FD ☽ 52 ☽ 92 ☽ 6D ☽ CD ☽ D6 ☽ F3 ☽ 28 ☽ 6B ☽ 1F ☽ DB ☽ CB ☽
> D3
> F2 ☮ 08 ☮ 34 ☮ 72 ☮ A2 ☮ 12 ☮ 75 ☮ AE ☮ D1 ☮ 09 ☮ 17 ☮ D0 ☮ 88 ☮ 4C ☮ 04 ☮
> 8E
> 04 ☾ E5 ☾ BF ☾ D1 ☾ 41 ☾ 64 ☾ D1 ☾ F7 ☾ 89 ☾ 6D ☾ 8B ☾ B2 ☾ F2 ☾ 46 ☾ C0 ☾
> 56
> 87 ☮ 8D ☮ B8 ☮ 7C ☮ C6 ☮ FE ☮ E9 ☮ 61 ☮ 88 ☮ 08 ☮ 61 ☮ DD ☮ E3 ☮ B8 ☮ B5 ☮
> 47  ♥
>   """^^cert:hex ;
>    rsa:public_exponent "65537"^^cert:int .
> --------------------------------------------
>
> Have fun!
>
>        Henry
>
> Social Web Architect
> http://bblfish.net/
>
> _______________________________________________
> foaf-protocols mailing list
> foaf-protocols at lists.foaf-project.org
> http://lists.foaf-project.org/mailman/listinfo/foaf-protocols
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.foaf-project.org/pipermail/foaf-protocols/attachments/20100311/5d0563b4/attachment.htm 


More information about the foaf-protocols mailing list