Channel #semsol: Logs

This is a public chat log generated from the #semsol IRC channel.

08:45:43 pfefferle: moin :)
08:46:08 pfefferle: have you planned to pimp the profile page with some microformts?
08:46:17 pfefferle: bengee?
08:46:57 bengee: it's poshrdf-based
08:47:19 bengee: microformats are a bit tricky to autogenerate when you don't know which data is available
08:47:46 bengee: hatom for the activities would be easy, though
08:48:32 pfefferle: but xfn (rel=contact) and hCard for the profile infos should also be possible, or?
08:48:40 bengee: it's possible, though. the rdf profile generator supports attribute plugins
08:49:07 bengee: you'd just have to define a small template for each microformat attribute
08:49:21 bengee: well, "just" might not be the right word here
08:49:27 pfefferle: :)
08:50:35 pfefferle: it's because noserub uses microformats to get some informations from linked sources, so it would be more interoperable
08:54:39 bengee: rel-contact would be hard, the sub-templates in the contact list don't know that they are a list of relations, they just render info about "some person"
08:56:11 bengee: even though the profile page might look like a custom view, it's really just a set of generic rdf views with different SPARQL filters
08:58:32 bengee: hcard could work as I could add the vcard container to the outer html section, and then specify micro-temlates for foaf:name (fn), foaf:homepage (url), foaf:img (photo) etc
08:59:36 bengee: an alternative for noserub could be an opensocial service
09:00:13 bengee: it should be easy to generate osoc results from sparql queries
09:13:52 bengee: and I could similarily add a "contacts as rel-contact" to the Export/subscribe links
09:14:18 bengee: or does noserub need the MFs to be on the main profile page?
09:17:58 pfefferle: i think the hcard should be on the main profile page
09:18:31 pfefferle: i don't know if dirk supports <link rel="me" />
09:19:04 pfefferle: but why is the rel=contact difficult?
09:19:34 bengee: because the list of people doesn't know its context
09:20:03 pfefferle: i thout all linked people in the sidebar are my contacts!?!
09:20:35 pfefferle: don't you use the social-graph api?
09:20:56 bengee: yes, but the the list is generated by a generic SPARQL query fed into an RDF viewer
09:21:47 pfefferle: ok, the problem is not the contact, its the relation.
09:22:12 bengee: it's a single line of php: $html = $viewer->getPredicateHTML($this->user_uri, 'knowee:knowee');
09:22:29 bengee: right
09:23:17 pfefferle: ok, but do you think it would be very hacky to use rel=contact for any relation?
09:23:30 pfefferle: better than nothing :)
09:24:23 bengee: oh, wait
09:24:50 bengee: the viewer supports predicate-level templates
09:25:42 bengee: wow, Im starting to lose track of my own code
09:26:20 bengee: I already have a template for knowee:knowee (the super-prop for all contacts relations)
09:26:46 bengee: it has image, homepage, and name
09:27:00 bengee: I can just add rel-contact and a small hcard
09:28:34 pfefferle: awesome
09:31:02 bengee: ok, vcard+fn+photo+url and rel-contact are active now
09:31:42 bengee: I should add rel-me to all next/prev links
09:38:54 pfefferle: jep
09:38:55 pfefferle: :)
09:47:58 bengee: ok, I added rel-mes and hatom
10:10:34 bengee: .. and now a vcard + at least fn and photo to the main profile section
11:38:44 pfefferle: could you add rel-me also to the "profile" links?
11:58:06 bengee: ah, right
12:01:08 pfefferle: :)
12:01:10 bengee: ok, done
12:09:01 pfefferle: cool, i tried it with noserub and it works perfect!
12:09:11 bengee: yay!
12:09:48 pfefferle: :)
12:10:15 pfefferle: do you provide an rss/atom-feed?
12:10:27 bengee: not yet, but that's coming
12:11:32 pfefferle: knowee: a semantic firework :)
12:14:20 bengee: heh :)
12:20:45 pfefferle: i mean the german "feuerwerk"