Channel #semsol: Logs

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

08:59:09 danbri: hi folks
08:59:28 danbri: bengee, i'm back in wordpressy php/rdf land after a long time away!
08:59:58 danbri: can i pick your brains re start of the art on ARC2 integration? is anyone doing ARC2-inside-wordpress lately?
09:00:22 bengee: heya
09:01:36 bengee: I fear our sparqlpress stuff is the most recent
09:02:29 danbri: holy moly, that's ancient history!!
09:02:34 bengee: I read your post about rich-text editing + rdf, btw
09:02:50 bengee: working on one right now
09:03:12 danbri: do you think 'normal' HTML editors can be hacked to support semweb concepts?
09:03:40 bengee: probably yes
09:03:42 danbri: (btw we are re-treading TimBL's footsteps here ... original WorldWideWeb editor was a hacked rich text editor :)
09:03:49 bengee: aha
09:04:04 danbri: (he shoved urls in some data field that was intended for stuff like *bold*, *italics* :)
09:04:16 bengee: I started one for a semeb stratup here in DE, but they went for a different approach for now
09:04:20 danbri: -> http://wiki.foaf-project.org/w/DanBri/NexusApp
09:04:23 bengee: s/semeb/semweb/
09:05:08 danbri: what're you working on mostly these days?
09:05:16 bengee: getting the selection x-browser-ish is the hard stuff
09:05:19 danbri: danbri half-time NoTube project at VU.nl, half-time 'misc'
09:05:56 bengee: and indicating rdf-in-contenteditable so that you get visual feedback of the invisible markup
09:06:22 bengee: e.g. a person icon in front of a person dom node, etc
09:07:22 bengee: I'm currently doing 50% contract work and spend 50% on own products
09:07:46 bengee: and another 50% on arc ;)
09:09:18 bengee: most active projects a re fanhu.bz for talis/bbc and a semwebby "you-won't-notice-it's-all-rdf" cms (hence the RTE)
09:11:14 bengee: and semantic crunchbase might become official (at something.crunchbase.com)
09:13:08 danbri: official with techcrunch?
09:13:13 danbri: busy guy it seems :)
09:14:27 bengee: only spoke with the crunchbase team so far, they are interested, but no official statement from TC yet
09:15:21 bengee: trying to stick to a "50% paid projects" rule
09:16:11 danbri: yeah, i should do same in my non-uni time
09:17:20 bengee: re RTE, there's a lot to learn from the codemirror project
09:18:28 bengee: they layer code formatting on contenteditable, i.e. beyond just bold and italic that is supported simple execCommand() javascript
09:18:41 bengee: supported *by*
09:19:05 bengee: freebase' editors are built on top of the codemirror libs
09:26:07 bengee: ah, I guess there's a triplify plugin for wordpress that is newer than sparqlpress
09:32:56 bengee: http://www.mozilla.org/editor/midas-spec.html
09:33:23 bengee: built-in richtext editor commands
09:33:51 danbri: re sparqlpress ... i am at stage now, where my wordpress has a page with a list of 'trusted' openids
09:33:58 danbri: from ppl who have commented and i've accepted them
09:34:17 danbri: i'd like to have some background process crawl their sites and drop it in a quadstore
09:37:30 bengee: shouldn't be too hard
09:37:56 danbri: yeah, just slogging thru the basics of plugin stuff
09:38:01 bengee: we are using php background processes in fanhu.bz (for twitter feeds)
09:38:10 danbri: did you see http://danbri.org/words/network ?
09:38:16 bengee: yes, cool
09:38:18 danbri: (layout is a hack... but the data is real)
09:39:28 danbri: are you still an openid-skeptic? i don't see it on your blog at least...
09:41:07 bengee: not at all
09:41:18 bengee: just found oauth a little too complicated
09:42:02 bengee: my blog needs an upgrade
09:50:08 danbri: you might like the oauth-wrap stuff then, i think it's supposed to be simpler
09:50:11 danbri: leans on ssl more i think
09:51:21 danbri: re html-based editors, can i persuade you to blog your thoughts? or should i just scavenge the links above and post 'em?
09:51:29 bengee: pubsubhubbub has a way for private streams (and pushed).
09:51:58 bengee: not as secure as oauth, but prolly sufficient for my needs
09:52:15 bengee: bengee hasn't blogged in ages
09:52:26 bengee: but I hope to announce the CMS soon
09:52:56 bengee: but feel free to post the stuff above
09:53:32 bengee: a simple hack would be to hook into the "createlink" command/tinymce popup
09:55:23 danbri: i haven't really investigated pubsubhubbub yet
09:55:36 danbri: popup - yeah, that was my first thought
09:55:57 danbri: not sure whether to support both links to documents, and links to documents that somehow proxy for their primary topic
09:56:36 danbri: eg. if a paragraph (or post) is about me-the-person, and i link to my school's website ... whether to use multiple elements to say 'school' and 'homepage' separtely, or one flat rdf property schoolHomepage
09:57:00 bengee: yeah, tricky
09:57:12 danbri: former is more expressive and a bit cleaner but needs more markup ... and i think introduces complexity also when trying to trigger the editing UI on content loaded from other tools
09:57:20 bengee: and you'd probably want to provide an undo, too
09:57:24 danbri: ie. how to know when a bit of markup is expressing something that can be edited
09:57:32 danbri: ugh, hadn't even thought about that :)
09:57:42 danbri: undo doesn't come for free yet?
09:58:09 bengee: it does, but there's no select-and-remove-tags
09:58:31 bengee: just removeformat
09:58:45 bengee: which works on @style
09:59:05 danbri: if we did everything just with rel='foaf:schoolHomepage' idiom, would undo work better?
09:59:28 bengee: at least you'd only have to work with a single node
10:00:30 bengee: but if you know which set of nested nodes you're dealing with, you can probably implement the nested stuff as wel
10:01:15 bengee: i.e. "if rel=school, then also remove sub-node with homepage=x" or somesuch
10:03:16 danbri: could wrap the whole mess in an enclosing span?
10:03:37 danbri: otherwise the editing code needs to anticipate which relation types are going to be used, which is an awkward coupling of layers
10:04:13 bengee: yeah, right
10:06:03 bengee: too bad that execCommand doesn't have a "markupselection" command
10:06:25 bengee: "formatblock" comes close, but doesn't support attributes
10:06:58 bengee: and "inserthtml" overwrites the current selection
10:08:07 bengee: my approach/attempt is to catch the selection and inject it's content into the to-be-pasted markup (via "inserthtml")
10:08:15 bengee: *its*
10:08:59 bengee: but this requires messing with text ranges which are different in each browser
10:09:35 bengee: I hope to have it working in FF today
10:32:52 danbri: will your stuff be public?
10:33:09 bengee: yes, it's a trice module
10:33:32 danbri: i'd love to hassle someone into working on the wordpress/tinymce thing ... it's not enough my area to spend a lot of time on, but i'm interested in getting the ui right (and shared across tools, ideally)