#indiewebcamp 2013-10-14

2013-10-14 UTC
#
tantek.com
edited /YouTube (+45) "/* Permalink UI */ add live permalink"
(view diff)
#
tantek
the live comments thing is amazing
#
tantek
I'm still blown away
#
tantek
I gotta get my semi-auto webmention sending coded
#
tantek
so I don't have to do a curl next time a demo posting a comment
#
acegiak
tantek: you can see from my reply to the auto comment post that I need to organise my replies so that the context isn't sent as part of the webmention comment
#
acegiak
cause at the moment there's no distinguishing features to say "this is the context, and this bit is my reply"
#
tantek
the reply-context should be *inside* the h-entry but *outside* the h-entry
#
tantek
the reply-context should be *inside* the h-entry but *outside* the e-content
#
acegiak
ah! I didn't realise the e-content tag bit
#
tantek
and note also that the reply-context should be marked up as an h-cite
#
tantek
which has its own p-content!
#
acegiak
cool cool
#
tantek
aaronpk - YouTube permalink UI screenshot and itemized documentation: http://indiewebcamp.com/YouTube#Permalink_UI
#
acegiak
tantek: at the moment reblogging with whisperfollow just presents a textbox with post content as html with the existing content etc there as template
pfenwick joined the channel
#
aaronpk
acegiak: sweet! looks lik my server actually got two webmentions
#
aaronpk
what wordpress plugin is this?
#
aaronpk
it must be accidentally sending two, maybe on both publish and updates?
#
aaronpk
either way, my fault for rendering it twice in the stream, will fix that
#
acegiak
aaronpk: Pfefferle has a webmentions plugin I'm using
#
acegiak
it might also be because wordpress sends pingbacks by default
#
acegiak
which might be the source of duplication? not sure
pl0xy joined the channel
#
acegiak
should be able to check for duplicate permalinks though?
#
acegiak
still trying to get my aggregating plugin to play nice displaying the context with pfefferle's sempress theme
#
acegiak
so the comment still has the context in the body
#
aaronpk
ah I knew there would be a reason to send more than just an HTML blob through websockets.
#
aaronpk
has to refactor a little, but this will mean the realtime streaming can also eventually support updates and deletes
#
aaronpk
tantek: I need you to convince me not to use a database to store webmentions I've received ;)
#
aaronpk
i'm running into a few problems with the flat-file approach to this
jernst joined the channel
#
acegiak
do we have markup suggestions for syndicating content?
#
acegiak
like if you reblog something on tumblr without adding comment
#
aaronpk
in general, h-cite is the recommendation for content that is not yours
#
acegiak
cool just checking
josephboyle joined the channel
#
aaronpk
acegiak: ok de-duplication should be done!
#
acegiak
aaronpk: I'm just about finished fixing my context markup so I'll try another test reply in a minute
#
aaronparecki.com
edited /micropub (+280) "drop property prefixes"
(view diff)
#
acegiak
aaronpk: about to post another response to that test post
#
aaronpk
watches
#
acegiak
frowns
#
acegiak
oh maybe because I shifted the location of the link to you the plugin isn't picking up to process the webmention
#
tantek
scrolls back
#
aaronpk
hm no I don't think I've received a webmention at all now
#
acegiak
aaronpk: I think in my moving the context to a separate h-cite tag it meant that the plugin isn't finding the url to know it needs to send a webmention
#
aaronpk
oh I see
#
aaronpk
on your side
#
aaronpk
well you can always send manually via curl ;)
#
aaronpk
or that form
#
acegiak
yeah, hmm
#
tantek
aaronpk - re: " the realtime streaming can also eventually support updates and deletes" - yes!
#
aaronpk
I should probably update the source code in my post, yea?
#
aaronparecki.com
edited /micropub (+1035) "add example of posting weight"
(view diff)
#
aaronparecki.com
edited /micropub (+216) "add authentication section"
(view diff)
npdoty joined the channel
#
tantek.com
edited /Events (+116) "add Ben Werdmuller's event page for Personal Clouds Community Gathering 5"
(view diff)
#
josephboyle
Thx @t
#
tantek
thank *you* josephboyle - the videos came out great
#
tantek
!tell benwerd - I think I found a bug in your checking for in-reply-to links in your webmention consuming code - appears you're only looking for them inside e-content whereas you should be looking just for a p-in-reply inside the h-entry. E.g. http://tantek.com/2013/286/t4/pcloud-indieweb-videos-posted
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
!tell benwerd when I curled the webmention manually to your event link (attempting to leave that as a comment), I got: {"error":"no_link_found","error_text":"The source URI does not contain a link to the target URI."}
#
Loqi
Ok, I'll tell them that when I see them next
tpinto joined the channel
#
tantek
wonders if benwerd monitors the logs
jernst joined the channel
#
tantek.com
edited /videos_about_the_indieweb (+304) "add Personal Cloud Community Gathering 5 - Sept 2013 indieweb videos"
(view diff)
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek.com
moved /User:Joseph_Boyle to /User:Josephboyle.net "Move JosephBoyle's 2011-era user page to his 2012+ user account page (which was previously uncreated)"
#
josephboyle
ditto
#
tantek.com
edited /User:Josephboyle.net (+170) "Add Twitter, simple minimal h-card"
(view diff)
tpinto and pfenwick joined the channel
#
tantek
!tell caseorganic - in your presentation, rather than …2012, why do we need it, principles, what can you do - a better order: …2012, principles (how indieweb is different from prev efforts), why do we need it, what have we built, what can you do
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
!tell caseorganic - the "future of …" slides don't seem to fit well anywhere - I'd drop them. Better to close/conclude with a solid "what can you do" call to action series, including joining the community/IRC and participating in an indiewebcamp in person.
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
and that's the end of my review of the slides - going to wait for a refresh/iteration of them to re-review
pfenwick, cweiske, danbri and caseorganic joined the channel
#
Loqi
caseorganic: tantek left you a message 2 hours, 1 minute ago: - in your presentation, rather than …2012, why do we need it, principles, what can you do - a better order: …2012, principles (how indieweb is different from prev efforts), why do we need it, what have we built, what can you do
#
Loqi
caseorganic: tantek left you a message 2 hours ago: - the "future of …" slides don't seem to fit well anywhere - I'd drop them. Better to close/conclude with a solid "what can you do" call to action series, including joining the community/IRC and participating in an indiewebcamp in person.
#
tantek
welcome back caseorganic
#
caseorganic
tantek: thank you!
#
tantek
is back to writing a previously queued blog post.
#
caseorganic
reading through notes
#
tantek
(not on 2003 ;) )
#
tantek
but on creative daily routine stuff
#
caseorganic
tantek: i like how precise that post is
#
tantek
caseorganic, that's how I try to train my brain to think. simply, precisely, tl;dr.
#
tantek
can always expand on thoughts later. better to be brief at first.
#
tantek
longer than 140 characters, but shorter than walls of text of so many blog posts, articles, papers, and of course, emails (yuck).
#
tantek
writing effectively for today's readers has changed greatly and needs respecifying.
Jihaisse joined the channel
#
Jihaisse
Hello there
julien51 and LauraJ joined the channel
#
caseorganic
tantek: ok, i merged in a lot of the feedback. won't be until tomorrow before i can have an updated draft to you
#
tantek
no problem. I just finished a draft of my blog post expansion on daily routines for creatives. :)
#
tantek
needs a way to share drafts without having them auto-syndicate etc.
#
tantek
good night!
#
Loqi
gute nacht!
#
tantek
danke Loqi
#
Loqi
who, me?
caseorganic joined the channel
#
neuro`
Good morning #indiewebcamp
glennjones, julien51, vrypan, friedcell and tpinto joined the channel
#
@jontangerine
Heathrow HSBC ad says ‘in the future your data will be your DNA’. What? And, OK, but by the power of #indieweb not with HSBC ferchrissakes.
(twitter.com/_/status/389680332838277120)
tpinto, melvster, andreypopp and abrereton joined the channel
#
@sqlovesround
RT @jontangerine: Heathrow HSBC ad says ‘in the future your data will be your DNA’. What? And, OK, but by the power of #indieweb not with H…
(twitter.com/_/status/389689037889736704)
#
@TrevorJAdams
RT @jontangerine: Heathrow HSBC ad says ‘in the future your data will be your DNA’. What? And, OK, but by the power of #indieweb not with H…
(twitter.com/_/status/389690727355416576)
adactio, ShishKabab, pfenwick, josephboyle, glennjones and barnabywalters joined the channel
#
Jihaisse
seems cool
bnvk, julien51 and glennjones joined the channel
#
@fschaap
@jillyrocket @paulvanbuuren Maar dit is beter: http://indiewebcamp.com/ 1) op eigen site publiceren, 2) syndicatie naar andere (social) media
(twitter.com/_/status/389734470372167680)
#
tantek
!tell caseorganic here's that aforementioned blog post: http://tantek.com/2013/287/b1/daily-routines-creatives-edited
#
Loqi
Ok, I'll tell them that when I see them next
BjornW, friedcell and nateabele joined the channel
#
nateabele
tantek: Mornin', sir. :-)
julien51 and caseorganic joined the channel
#
Loqi
caseorganic: tantek left you a message 57 minutes ago: here's that aforementioned blog post: http://tantek.com/2013/287/b1/daily-routines-creatives-edited
julien51 joined the channel
#
neuro`
A new open source blogging platform (we've been discussing that one here a while ago) is out http://blog.ghost.org/public-launch/
#
barnabywalters
neuro`: thanks for the link — good to see ghost happened
#
barnabywalters
bitnami looks interesting, too: http://bitnami.com/stack/ghost
#
ShaneHudson
Ghost is prety awesome :) I'm tempted to steal the editor for my own cms though.. lol
julien51 joined the channel
#
barnabywalters
do they have mf2 in their default theme?
_6a68 joined the channel
#
neuro`
ShaneHudson: that's exactly what I'm doing
#
ShaneHudson
neuro`: Ah nice, how does your process work? Save as files? Or directly into your system?
#
ShaneHudson
Mine is PHP so I'm thinking about running ghost locally and saving that way.
#
barnabywalters
sends ghost/casper a PR with microformats2 in: https://github.com/TryGhost/Casper/pull/29
#
tantek
nateabele - good morning!
#
tantek
nicely done barnabywalters
#
tantek
hey bret, looks like your talk summary is still confused with aaronpk's in the socialweb workshop report - did you email Harry? http://www.w3.org/2013/socialweb/report
curiousjohn, adactio, julien51 and benprew joined the channel
#
aaronparecki.com
edited /micropub (+455) "add stub response section"
(view diff)
#
barnabywalters
aaronpk: RE micropub form prefixes, they might actually be useful
#
barnabywalters
e.g. if someone builds a UI which only allows plaintext authoring, they could send it as p-content
#
barnabywalters
but if another UI allowed HTML editing, it could be sent as e-content
#
aaronpk
ah good point!
#
barnabywalters
otherwise we have to standardise one or the other, which is a point of contention ;)
nateabele joined the channel
#
aaronpk
I suppose it might also be useful to indicate date fields as dt- for non-standard field names
#
barnabywalters
ooh, hadn’t realised you’d started publishing weight metrics too
#
barnabywalters
from a withings scale?
#
barnabywalters
maybe those metrics posts could benefit from a “via” attribute
#
aaronpk
for what purpose?
#
barnabywalters
1) allows people to see what devices you’re using, 2) for informed sensor redundancy
#
aaronpk
I do miss the "via" on twitter
#
aaronpk
what do you mean by 2?
#
barnabywalters
if an analysis app can see you’ve got two different step counts from different devices, it can decide whether to average or pick one or whatever
#
aaronpk
heh interesting
#
barnabywalters
consistency between devices could be measured too
#
aaronpk
I suppose I could make URLs like /metrics/type/weight and /metrics/device/withings-scale then
glennjones joined the channel
#
barnabywalters
thoughts for the nesting: dot syntax?
#
barnabywalters
h-entry.p-author.p-name?
#
barnabywalters
PuSH 0.4 uses dot notation, e.g. hub.callback
#
aaronpk
oh good point!
#
aaronpk
that could expand out nicely, and could even be handled automatically by a micropub parser in any language
#
aaronpk
want to add that to the section on the wiki page?
#
barnabywalters
the other interesting point is multiple values at the same level
#
barnabywalters
using comma separation is fragile
#
barnabywalters
but, human-enterable
#
aaronpk
yea, I like it for tags but not much else
#
aaronpk
for the others I was thinking form-encoded array syntax
#
barnabywalters
whereas using multiple param values (sometimes with trailing [] for some reason) is fairly well supported
#
aaronpk
always with trailing [] afaik
#
aaronpk
I believe without that only the last value is read
#
barnabywalters
I’d be surprised if that is actually part of a standard — I thought it was a PHP thing
#
barnabywalters
e.g. django will give you the last value by default but you can request all values as an array
#
aaronpk
it's somewhere in here I think http://tools.ietf.org/html/rfc1866
#
@kramerc
Just implemented IndieAuth on my website and it makes a great myOpenID replacement. http://peat.org/2013/09/15/replacing-myopenid/
(twitter.com/_/status/389790984659169280)
#
aaronpk
oh funny, "HTTP server implementors, and in particular, CGI implementors are encouraged to support the use of `;' in place of `&' to save users the trouble of escaping `&' characters this way."
#
aaronpk
funny that never took off
#
barnabywalters
oh, interesting
#
aaronpk
unfortunately I don't see any reference to submitting multiple values with the same key
#
aaronpk
which is probably why different environments made different decisions
#
barnabywalters
so, research time. PHP uses nasty trailing-[] notation, as do Github — implying rails does too?
#
barnabywalters
django supports bare duplicates, e.g. ?foo=1&foo=2 => foo: [1, 2]
#
tommorris
barnabywalters: Bitbucket uses duplicates for issues
#
tommorris
e.g. ?status=new&status=open&component=design&component=whee
#
barnabywalters
tommorris: oh cool
#
aaronpk
yes I believe rails also uses []
#
aaronpk
funny, I never realized that was such a debate
#
barnabywalters
go net/url maps strings to lists of strings: http://golang.org/pkg/net/url/#Values
#
barnabywalters
Values.Get(paramname) returns the *first* value, interestingly — most other implementations seem to get the last
#
aaronpk
seems like if both PHP and Rails (and presumably Ruby's Sinatra) all use [] then we should just go with that, otherwise people are going to have to write custom post request handling
#
barnabywalters
sadly, looks like that’s the case :(
#
aaronpk
does that also imply we should use [] notation for nested properties, since that will most likely be handled automatically by server-side frameworks too?
julien51 joined the channel
#
aaronpk
e.g. h-entry[p-author][p-name]=Aaron+Parecki
#
barnabywalters
yuk that’s ugly. is that sort of nesting also supported by both PHP and rails?
#
aaronpk
it is in PHP
#
aaronpk
expands out to a nice array in $_POST
#
tommorris
incidentally, if I've been a bit slack on IndieWeb front, it's because I've been doing crazy data-merging logic on OpenStreetMap.
#
barnabywalters
if it’s only supported in PHP, probably not a good plan to optimise for PHP’s questionable design decisions at everyone else’s expense
#
barnabywalters
tommorris: sounds good
#
aaronpk
works great in Ruby (sinatra) too
#
aaronpk
turns into {"h-entry"=>{"p-author"=>{"p-name"=>"Aaron Parecki", "u-url"=>"http://aaronparecki.com"}}}
#
aaronpk
I don't have a python environment set up to test
#
barnabywalters
django doesn’t support it, returning {
#
barnabywalters
"h-entry[p-author][p-name]": "Aaron"
#
aaronpk
interesting
julien51, Nadreck and caseorganic joined the channel
#
Loqi
Ok, I'll tell him that when I see him next
julien51, spinnerin and caseorganic joined the channel
#
aaronpk
barnabywalters: my iphone app now sends pushup counts to my server using a prototype micropub API! http://aaronparecki.com/metrics/2013/10/14/102252/
#
barnabywalters
wow! amazing work!
#
barnabywalters
is this a nose-activated pushup app?
#
aaronpk
yes :)
jernst joined the channel
#
barnabywalters
in theory it shouldn’t be much work to make that as a web UI ;) but an excellent test case for micropub nonetheless
#
barnabywalters
how are you authenticating the app with your server?
#
aaronpk
i'm not yet
#
aaronpk
didn't want to spend hours writing authenticatino code in the ios app
#
aaronpk
thinking about something super simple instead
#
barnabywalters
fair enough. have you seen githubs personal key auth thingy?
#
barnabywalters
using HTTP basic auth but with disposable keys
#
aaronpk
do the indieauth dance to get a session cookie from my server, then send a URL to my phone that contains the cookie which when I open the URL on my phone saves the cookie in the app's local storage
#
aaronpk
that way I don't need a login screen in the app
#
barnabywalters
how do you send the URL to the phone?
#
aaronpk
i would send it in an email or SMS to myself
#
aaronpk
low tech :)
#
aaronpk
although if I logged in to my site on my phone it would just be clicking a link to get back to the app
#
aaronpk
pretty much just like doing OAuth from a native app to a website
danbri joined the channel
#
barnabywalters
anyone here have experience building web apps which work offline?
#
barnabywalters
wants to make a HTML+JS version of aaronpk’s pushup app which works with no connection
josephboyle, warden, tilgovi, spinnerin, texburgher, LauraJ and caseorganic joined the channel
#
tantek
barnabywalters - start with app manifest
#
Loqi
tantek: caseorganic left you a message 1 hour, 22 minutes ago: nice post http://tantek.com/2013/287/b1/daily-routines-creatives-edited
#
tantek
thanks caseorganic!
tpinto joined the channel
#
barnabywalters
tantek: thanks, got it. almost there now
#
barnabywalters
offline apps are so much easier when you don’t have loads of js dependencies
#
barnabywalters
tantek: OWA (JSON) manifests only work on FF at the moment, right?
#
tantek
checks the docs
#
barnabywalters
I don’t have a FFOS phone yet
#
barnabywalters
so pushup counting has to be done on ipad
#
tantek
hmm - I think it's also supported in FF/Android
#
tantek
not sure about Chrome
#
tantek
offline in iOS browsers is a major pain :(
#
barnabywalters
I’ll write a nasty old appcache file for the moment
#
tantek
ewwwww
#
tantek
I wonder if there's some way to generate old appcache files from an app manifest
#
barnabywalters
was just wondering that
#
barnabywalters
more than likely
#
barnabywalters
touch devices only at the moment
#
barnabywalters
the URL field is for a URL API endpoint — when Go is pressed, it gets navigated to with ?text=Did <span class="p-count">x</span> pushups
#
barnabywalters
URL is remembered using localstorage
npdoty, danbri, josephboyle, LauraJ, abrereton, tantek, julien51, eschnou, bnvk, caseorga_, caseorganic, tpinto and habitmelon joined the channel
#
tobilehman.com
edited /OpenID (+42) "/* Consuming Sites */ add hootsuite"
(view diff)
abrereton, danbri, bnvk, tilgovi, pfenwick and lukebrooker joined the channel
#
bret
i had to remove offline support because iOS woulf refuse to refresh on site updates once it had an offline version