#social 2015-05-25

2015-05-25 UTC
tilgovi, jasnell and bblfish joined the channel
#
jasnell
cwebber2: hey, still around?
#
cwebber2
jasnell: I am!
#
jasnell
what's up? just saw your ping from earlier
#
cwebber2
jasnell: I made a test conversion of my blog's atom feed to activitystreams
#
cwebber2
I have a rough atom->AS2 script
#
jasnell
nice ok
#
cwebber2
one thing I was debating was how to handle representing tags, since the spec says "tags can be any object", but I wasn't sure what simple text-tags should be, so I took general objects with displayName
#
cwebber2
gonna publish my script shortly
#
cwebber2
also if you have comments on how correct/incorrect that is, I'd be interested
#
cwebber2
I'll post to the list too
#
jasnell
yeah, that's a good approach.. "tag": [{"displayName": "foo"}]
#
jasnell
let me look really quick
#
jasnell
yeah, looks good
#
jasnell
another thing that approach does is it allows you to associate a "url" with the tag...
#
cwebber2
jasnell: yeah
#
jasnell
{"@type": "Object", "displayName": "foo", "url": "http://example.org/tags/foo"} :-)
#
cwebber2
jasnell: I'll probably extend the conversion script to handle that when I run into some atom scripts that handle that
#
cwebber2
that provide
#
jasnell
this is great to see
#
jasnell
any spec concerns come up while doing this?
#
cwebber2
jasnell: I started to write up an issue about images and @id vs url vs href
#
cwebber2
but I figured it out
#
cwebber2
might want to see if my understanding matches yours:
#
cwebber2
if we posted an image on MediaGoblin, say
#
cwebber2
the @id would be the user visible page, say
#
cwebber2
and then the url could be a list of Link objects, and heach href points to the image files
#
cwebber2
like the thumb one, the large image, the medium
#
cwebber2
would that be right jasnell ?
#
cwebber2
great :)
#
cwebber2
that was confusing to me, and rhiaro and I were trying to figure it out, so it took me a bit to come to that
#
jasnell
if you'd like, make the @id point to the canonical version. it's ok duplicate that in the url property
#
cwebber2
jasnell: rhiaro has been trying to work on micropub comparisons btw http://rhiaro.co.uk/2015/05/micropubbing-with
#
cwebber2
def worth a read
#
jasnell
oh, cool. very nice
#
jasnell
I'll take a look. and on my next pass through I'll try to make that part about the url/href clearer
#
cwebber2
oshepherd_ also brought up again the "object posting should be able to be separate from activities, and have the addressing be on the objects themselves"
#
cwebber2
I'm still not so sure
#
cwebber2
activities feel like the envelope to me
#
jasnell
hmm.. object posting *is* an activity
#
cwebber2
but I do understand that in pump.io it's been a problem where sometimes replies-to-replies lose track of distributing to the whole thread and etc
#
cwebber2
jasnell: yeah, did you read oshepherd_'s post about this to the list a while back?
#
jasnell
I think so. I may have to read it again
#
jasnell
which I'll do on tuesday before if I work too much too obviously this weekend my wife will likely kill me ;-)
#
oshepherd_
With a "post" activity important information like the object's ACL gets attached to the "post" activity
#
cwebber2
one other motivation for it is that it would bring micropub and activitystreams much closer together
bblfish joined the channel
#
cwebber2
which I think is more visible from reading rhiaro's blogpost which I linked above
#
jasnell
ok. I'm making myself a note to take another look on tuesday morning
#
oshepherd_
Which quite clearly belongs on the object, and never mind the fact that in this distributed system what the hell do you do when you see two different post activities for the same object...
#
jasnell
and I'll read rhiaro's post as well
#
cwebber2
jasnell: don't want to take up too much of your time and cause family drama! I appreciate your feedback and looking into these :)
#
cwebber2
and, of course, for working on AS2 :)
#
jasnell
backing slowly away from the keyboard so as to not draw too much attention
#
cwebber2
jasnell: later!
cwebber2, bblfish, jasnell and AnnB joined the channel
#
AnnB
reading today's log ... I enjoyed the convo between cwebber2, rhiaro and jasnell, with a snippet from oshepherd_
#
AnnB
logi is valuable
cwebber2, the_frey and elf-pavlik joined the channel
elf-pavlik, melvster, bblfish and cwebber2 joined the channel
#
cwebber2
would love to include portions of the activitystreams spec inside this code I'm writing
#
cwebber2
it's too bad the w3c license is nonfree in that it does not permit modification :\
tilgovi, jaywink, aaronpk, elf-pavlik_, stevenroose, bblfish, jasnell and Arnaud joined the channel