#indiewebcamp 2013-07-05

2013-07-05 UTC
sandeepshetty joined the channel
#
www.sandeep.io
edited /responses (+192) "/* object of action */ rel="like-target" - inspired by the term "link target" and an attempt at a rel name that avoids the past tense of the verb."
(view diff)
bnvk, tantek and benwerd joined the channel
#
@benwerd
@jarofgreen Here's a good intro to RSVP markup: http://indiewebcamp.com/rsvp #indieweb Definitely happy to help!
#
benwerd
Merry independence day, independence hackers
#
@erictj
Spent this July 4th beginning the exodus away from walled gardens, and towards self-hosted again. First service ditched--gmail! #indieweb
#
bret
quick JS question, can I retrieve JSON directly by a URL?
#
bret
Im still totally confused how some other ( https://github.com/bcomnes/bcomnes.github.io/issues/16 ) scripts are able to do it
#
benwerd
bret: it unfortunately depends on the platform a bit
#
benwerd
on some (like aaron's) you can just add .json to the URL as an extension
#
benwerd
others require the Accept: application/json HTTP header
#
benwerd
others still just have JSON-specific endpoints
#
benwerd
looks like, eg, the link in that github issue is a separate json endpoint
#
benwerd
is that what you were asking? :/
#
bret
Sort, of, more basic than that :p How do I turn this http://pingback.me/api/links?access_token=NTAxNTJmM2RmNzA4YTQ4ODllMWQ2NWJm&target=http://bre.tc&jsonp= into an object in my script
#
bret
i guess thats jsonp, not sure if thats what I need or not
#
bret
oh crap my token
#
bret
oh well, want my data public anyway
b0bg0d and sandeepshetty joined the channel
#
benwerd
bret: you can use json.parse with the string
#
benwerd
and depending on what kind of code you're running, you can get the string in different ways
#
bret
i was trying to do it with vanilla JS
#
bret
var name = json.parse('url') ?
#
bret
like that?
#
benwerd
no, you'll need to have actually read the string first
#
benwerd
from the url
scor joined the channel
#
bret
with XMLHttpRequest?
#
bret
or is there a more direct way to read the string
#
benwerd
try this:
#
benwerd
var xhr = new XMLHttpRequest();
#
benwerd
xhr.open("GET", url, false);
#
benwerd
xhr.send();
#
benwerd
somevar = json.parse(xhr.responseText);
#
bret
ok il play with that
#
benwerd
(I like jQuery for this sort of stuff, but if you're using vanilla JS, that *should* do it)
#
bret
part of it was just trying to learn JS better
#
benwerd
really cool way to do it :)
#
bret
this pinboard javascript pulls in outside data from another website without any httprequests
#
bret
i dont get it
#
donpdonp
it took a lot of plumbing to generate those '<li>'s :)
#
donpdonp
4sq cell phone -> 4sq.com -> pingback to donp.org -> php inserts json blob into redis bus -> irc daemon picks up on redis message, inserts into rethinkdb -> donp.org/as dumps contents of rethinkdb ;)
#
donpdonp
message bus all the things!
#
bret
whoa
slvrbckt_ joined the channel
#
donpdonp
sorry for the lack of style, and its showing only a tiny subset of the available fields per entry
#
donpdonp
but its a start
slvrbckt, EHLOVader, aaronpk_, reidab_, singpolyma, ChanServ, dpk, bnvk, erikmaarten, Phae, Guest90098 and demis joined the channel
#
@xtof_fr
#Austria - #patterntheory : le #fractalwiki a 10 ans.
tantek and bnvk joined the channel
#
@t
Two timely #indieweb posts for #July4th Independence Day
#
neuro`
Good morning (ugt).
#
@benwerd
RT @t: Two timely #indieweb posts for #July4th Independence Day
#
@vrypan
RT @t: Two timely #indieweb posts for #July4th Independence Day
#
@cstanhope
RT @t: Two timely #indieweb posts for #July4th Independence Day
benwerd, melvster, bnvk, josephboyle, tantek and b0bg0d joined the channel
#
aaronpk
tantek: still up for hacking tomorrow morning?
#
tantek
good evening - yes that would be great!
bnvk, b0bg0d and seyz joined the channel
#
@julien51
Most amazing IndieWeb post I've read in a long time: https://medium.com/surveillance-state/19a5db211e47 by @venportman
#
tantek
LULZ: "I’m more interested in using Medium to tell you not to use Medium."
#
tantek
!tell aaronpk when you're up, I'd love to chat a bit more about multireplies http://indiewebcamp.com/multi-reply and what a good way to present them is.
#
Loqi
Ok, I'll tell them that when I see them next
sandeepshetty and pfefferle joined the channel
#
pfefferle
good morning
slvrbckt_, bnvk, sandeepshetty, poppy and termie joined the channel
#
pfefferle
sandeepshetty: how do i markup a "mention" link for sandeep.io?
laurian joined the channel
#
tantek
pfefferle - all links are mentions
#
tantek
so … <a href="http://sandeep.io">… :)
#
pfefferle
i hope that's how sandeep has implemented it… it is a very long blog-post :)
#
pfefferle
a bit too long for a reply
#
tommorris
made a bit of a breakthrough on the venues front. worked out a practical way to host my own venues database.
#
tommorris
have a blog post half-written on how to do it.
erikmaarten joined the channel
#
pfefferle
we need a logo for webmentions/pingbacks
barnabywalters joined the channel
#
sandeepshetty
pfefferle: just linking is a mention
#
pfefferle
sandeepshetty: ok, thanks…
#
tantek
why does it need a logo?
#
tantek
IMO plumbing doesn't need a logo, it should just work
sandeepshetty, adactio, pfefferle and bnvk joined the channel
#
pdurbin
"Noise is why the social web is still horribly broken" -- comment at https://plus.google.com/+AdeOshineye/posts/iRff8qohm6Z
#
pauloppenheim.com
created /User:Pauloppenheim.com (+56) "Created page with "== O HAI == You may know [http://pauloppenheim.com me].""
(view diff)
bnvk and sandeepshetty joined the channel
#
@stpeter
RT @julien51: Most amazing IndieWeb post I've read in a long time: https://medium.com/surveillance-state/19a5db211e47 by @venportman
#
@flosoft
RT @julien51: Most amazing IndieWeb post I've read in a long time: https://medium.com/surveillance-state/19a5db211e47 by @venportman
heath, bret, tommorris, sandeepshetty, adactio, jMCg, bnvk, pfefferle, barnabywalters, laurian, termie, slvrbckt_, seyz, josephboyle, melvster, Phae, singpolyma, reidab, aaronpk, Guest90098, donpdonp, neuro`, pdurbin, elf-pavlik, brixen, catsup, amblin, smcgregor, JonathanNeal, lion-, fu9ar, spindritf, wycats_ and hadleybeeman joined the channel
#
Loqi
aaronpk: tantek left you a message 5 hours, 8 minutes ago: when you're up, I'd love to chat a bit more about multireplies http://indiewebcamp.com/multi-reply and what a good way to present them is.
singpolyma joined the channel
#
@zeank
RT @julien51: Most amazing IndieWeb post I've read in a long time: https://medium.com/surveillance-state/19a5db211e47 by @venportman
sandeepshetty, barnabywalters, laurian, Guest90098, matthias__, fu9ar, amblin, termie, slvrbckt_, elf-pavlik, brixen, catsup, scor, seyz, josephboyle, spindritf, lion-, JonathanNeal, smcgregor, matthias_pfeffer, pfefferle, bnvk, sdboyer_ and sdboyer joined the channel
#
@julien51
Saying #indieweb is elitist is like saying we should feed the hungry with mcdonald's.
bnvk, josephboyle, scor and sandeepshetty joined the channel
#
@blaine
@julien51 I agree with @lauraglu. The reason I'm not engaging is because I've never felt welcome prioritising UX in the #indieweb community.
#
aaronpk
since my tweets don't show up here...
#
@aaronpk
@blaine I'm surprised! Most of our work has focused on UX first, protocols second. The reason for self-dogfooding... http://aaronparecki.com/replies/2013/07/05/1/
#
pdurbin
aaronpk: they do if you use the right hashtag ;)
#
aaronpk
mine don't
#
aaronpk
i think cause the search is running on my own twitter account
#
@blaine
@julien51 ... points to a certain insensitivity about how usable these things actually are in the #indieweb approach today.
#
aaronpk
so my own tweets don't show up in the search stream for #indieweb
#
aaronpk
that or it's my own fault for not filtering out the stream properly. I had to do a major hack where a bunch of different search terms get rolled into the same twitter streaming API connection, so when I get a message I don't necessarily know what search it's for
#
aaronpk
interesting discussion going on between @blaine @julien51 and @lauraglu
bnvk joined the channel
#
pfefferle
indeed, but it's not that easy to follow the discussion on twitter :(
#
aaronpk
funny how that's mostly a UX problem :)
#
@osiziqol
Google Reader is dead. The answer is not another SPOF, but integrated indie aggregation. Crazy? Join us: #indiewebcamp (ttk.me t4Qo1) #answ
benwerd joined the channel
#
pfefferle
btw. i like the design of several context uis, like yours http://aaronparecki.com/replies/2013/07/05/1/
#
pfefferle
what i don't like is that you can't markup the first post with an h-entry, only because the parser doesn't know what's the main h-entry
#
aaronpk
i intentionally left off the h-entry markup of the thing i'm replying to
#
pfefferle
but that's sad, because it is one
#
barnabywalters
pfefferle: you can, the replied-to h-entry should be a p-in-reply-to property of the parent
#
aaronpk
barnabywalters: that'd be interesting
#
pfefferle
but i think i will break most parsers with that
#
pfefferle
or better: the most implementations
#
barnabywalters
I’ve been marking up my notes like that for ~1month and haven’t had any problems
#
barnabywalters
the implementations should fix it if it’s a problem
#
pfefferle
and what if the discussion goes in both directions? for example if someone answers this post http://aaronparecki.com/replies/2013/07/05/1/
#
barnabywalters
give me a minute
#
pfefferle
than you have a source, the main answer and a second answer
#
barnabywalters
is playing with hama beads
#
pfefferle
which one is the entry to parse
#
tommorris
should finish writing my blog post about OSM data mangling with Mongo and Redis
#
pfefferle
exactly
#
pfefferle
that is the same problem i have with my blog
#
pfefferle
i want to display the whole conversation marked up with h-entrys, but how to point to the MAIN article/comment
bnvk, pfefferle, b0bg0d and pfefferle_ joined the channel
#
barnabywalters
back, looking at that example aaron left
#
barnabywalters
these problem are all already solved, I just need to document them better
#
barnabywalters
in-reply-to h-entries are in-reply-to properties of the parent h-entry
#
barnabywalters
comments are comment properties
#
barnabywalters
so in that example there would only be one top-level h-entry on the page
#
barnabywalters
and all the others are children
#
barnabywalters
has one in-reply-to and multiple comments
#
barnabywalters
aaronpk: pfefferle: where on the wiki did you look for comment markup examples, i.e. where should I document this?
#
aaronpk
barnabywalters: oh cool, I didn't realize child comment and in-reply-to was a thing
sandeepshetty joined the channel
#
barnabywalters
aaronpk: I think I’m the only one using it, but I’ve discussed it here before and the comments markup is from tantek’s section about it on the mf wiki
pfefferle joined the channel
tantek joined the channel
#
@dawmusicmanumit
@dpnem think it's coming back a bit for 2 reasons: 1. NSA 2. #TheGreatPump http://blog.opensourceplayground.org/2013/07/04/life-in-the-possibly-bright-future-of-the-federated-social-indieweb/ (ton of misinfo about GreatPump out there)
spinnerin joined the channel
#
aaronpk
barnabywalters: have you made any changes to php-mf2 lately that would cause one of the u-urls to not be found?
#
barnabywalters
aaronpk: possibly, url pls?
#
aaronpk
not public yet
#
barnabywalters
sample code in a gh issue then?
#
aaronpk
oh you've been quite busy with php-mf2. i should probably just update
#
barnabywalters
indieweb events?
#
barnabywalters
yeah, maybe try updating ;)
#
barnabywalters
php-mf2 almost always has the most recent version
#
barnabywalters
my endpoint, that is
bnvk joined the channel
#
aaronpk
how do I update with composer? composer update didn't actually do anything
#
barnabywalters
aaronpk: what does your require line in composer.json look like?
#
aaronpk
"mf2/mf2": "0.1.*"
#
aaronpk
and it looks like you're on 0.1.17 now
#
aaronpk
i can't tell which I have installed
#
barnabywalters
yep. hmm, look in composer.lock to see which you have installed
#
barnabywalters
(there should be an easier way to do this)
#
aaronpk
oh ok composer.lock
b0bg0d joined the channel
#
aaronpk
huh, v0.1.17
#
barnabywalters
okay, so what problem are you having?
#
aaronpk
well now that we've established i'm running the latest version, i'm super confused.
#
aaronpk
that gist parses correctly on your page, but I only see the pk.dev URL on my parsed version
#
barnabywalters
it may simply be that I’m not actually running the latest version
#
barnabywalters
checking for updates now
#
barnabywalters
okay, so it should be parsing both the url on the top line and the bottom one
#
barnabywalters
and it is on /php-mf2 but not elsewhere
#
barnabywalters
okay, confirmed that my endpoint is up to date
#
@brianjesse
@applepie @meangrape @al3x the #indieweb is made of people interoperating code they wrote: werd.io burt.io, sandeep.io - tw/fb are starbucks
#
barnabywalters
ahhh wait a sec
#
aaronpk
found a problem with my markup?
#
barnabywalters
okay, I haven’t released a new version in a little while, and my endpoint has dev-master
#
barnabywalters
I’ll review changes and tag v0.1.18
#
aaronpk
ok so it's nothing wrong with my markup then?
#
barnabywalters
aaronpk: nope :)
#
barnabywalters
we really need to emphasise the other mf parsers out there so people can cross-reference
#
barnabywalters
glenn has a public version of his, which is more comprehensive than mine, if a little behind
#
barnabywalters
okay, I pushed v0.1.18 — might take a few seconds to propogate
#
aaronpk
worked!
#
barnabywalters
oh btw, html encoding of non e-* properties will be the only supported behaviour as of v0.2.0
#
barnabywalters
as per discussion with tantek on the wiki
seyz joined the channel
#
aaronpk
great!
#
tantek
barnabywalters - great
bnvk, hober, scor and tantek joined the channel
#
tantek.com
created /copy (+77) "disambig"
(view diff)
#
tantek.com
created /copywriting (+454) "stub"
(view diff)
#
aaronparecki.com
edited /copywriting (+1524) "notes about how I present content on my own site"
(view diff)
barnabywalters, tantek, scor and pfefferle joined the channel
#
aaronpk
barnabywalters: have you done much with timezone offsets in PHP yet?
#
barnabywalters
aaronpk: nope
#
benwerd
makes a noise like Sideshow Bob on the rakes
#
aaronpk
interested?
#
barnabywalters
aaronpk: possibly, why? got something in the works?
#
aaronpk
I need to find something or build something to handle this
#
aaronpk
the problem is the DateTime class requires named timezones, but I want to do this with just offsets
#
pfefferle
barnabywalters: Thanks for the answer! Will have a deeper look at you markup... I am curious if it is possible with the Wordpress comment system...
#
aaronpk
basically I want to work with dates just like I can with DateTime, but passing in "-0700" instead of "America/Los_Angeles"
#
barnabywalters
pfefferle: great! bear in mind it’s totally fine to put h-entry on the <body> or <html> elements if you need it to encapsulate everything
#
pfefferle
Btw the only comment I have seen up to now is the example in the mf wiki
#
pfefferle
s/comment/comment example
#
Loqi
pfefferle meant to say: Btw the only comment example I have seen up to now is the example in the mf wiki
#
barnabywalters
yep, I thought I’d mentioned it on comment-presentation but apparently not
#
barnabywalters
aaronpk: would it be enough to create a mapping from numbers to strings/ DateTimeZone instances?
#
aaronpk
heh no
#
aaronpk
that changes too much
#
aaronpk
and DST changes it during the year, not to mention when they change when DST happens
#
pdurbin
benwerd: ouch
bnvk joined the channel
#
benwerd
pdurbin: I believe the phonetic spelling is "gnuuuuuurgh". Timezone offsets in PHP have that effect on me.
josephboyle and BjornW joined the channel
#
barnabywalters
yeah, I can’t find any existing DateTime extension library which makes dealing with offset timezones palatable
#
aaronpk
yea, they all assume named timezones
#
aaronpk
luckily purely offset-based handling is much simpler
#
barnabywalters
looks like your best bet is to roll your own
#
aaronpk
in the mean time i'm stuck publishing all my events as +0000
#
pdurbin
benwerd: sounds right
#
aaronpk
at least the time is correct (an event at 12pm portland time will show up as 7pm +0000)
#
aaronpk
rwaaaarrrr timezones
#
aaronpk
whoa I think I figured out how to do it with DateTime::createFromFormat
#
@veganstraightedge
The Pilgrim Protocol.
#
aaronpk
barnabywalters: I've also got a neat function here I should probably share
#
aaronpk
for printing strings like "Sep 6 from 10am to 6pm" given two absolute timestamps
b0bg0d joined the channel
#
barnabywalters
aaronpk: sounds good
#
aaronpk
that's the kind of code I only want to write once :)
#
aaronpk
also handling benwerd's lack of seconds and lack of timezone on this event is proving challenging :)
#
benwerd
well, y'know, my markup isn't set in stone
#
aaronpk
well if you did it, i have to assume others will too
#
aaronpk
specifically I'm talking about you publishing the start date as "2013-06-25 19:00" rather than "2013-06-25T19:00:00-0700"
#
benwerd
give me one minute
#
aaronpk
which isn't to say you're publishing it wrong
#
benwerd
because actually, iso8601 would make more sense
#
aaronpk
funnily enough, iso8601 defines like a dozen different formats for dates
#
benwerd
mm, standards.
#
benwerd
nonetheless, feel free to try and reparse now ;)
#
barnabywalters
I treat W3C-brand ISO8601 as canonical for datetime http://www.w3.org/TR/NOTE-datetime
#
benwerd
ooh, and that's surfaced a timezone bug.
#
benwerd
reference "gnuuuuuurgh" above.
#
benwerd
something for later.
#
barnabywalters
in PHP, $datetime->format(DateTime::W3C)
#
aaronpk
gnuuuuuuurgh sounds about right
#
aaronpk
yea i'm definitely putting off handling parsing dates properly from other people's sites
#
barnabywalters
especially as they probably can’t be trusted
#
benwerd
I'm more than happy to paper it all over with strtotime for now
#
barnabywalters
the only trustable datetime for an incoming comment is the datetime you accept it
#
aaronpk
barnabywalters: this is for event start dates specifically, so it is the only thing that can be trusted
#
barnabywalters
ah, slightly more tricky
#
aaronpk
yea, strtotime for now :)
#
aaronpk
but I lose timezone data
#
aaronpk
well this should be interesting, pushing up now
#
Loqi
yay!
b0bg0d joined the channel
#
aaronpk
now I just need to create one and RSVP to it on my site
#
aaronpk
bye for now!
#
tantek
just got very minimalist multi-reply reply-context presentation/linking working, e.g.: http://tantek.com/2013/157/t3/pdf2013-third-rail-coffee-during-pdf13-break
#
tantek
thanks aaronpk for the php reference help
bnvk joined the channel
#
aaronparecki.com
edited /p3k (+44) "events are done!"
(view diff)
pfefferle joined the channel
#
tantek.com
edited /multiple-reply (+582) "/* Indieweb Examples of Multiple Replies */ implemented minimal multi-reply presentation support in Falcon / tantek.com"
(view diff)
#
tantek.com
edited /multiple-reply (+13) "/* Indieweb Examples of Multiple Replies */ Falcon"
(view diff)
benwerd joined the channel
#
tantek.com
edited /Falcon (-119) "/* Working On */ implemented multi-reply presentation"
(view diff)
#
tantek.com
edited /Falcon (+449) "note multi-reply support, expand details on limitations, note Falcon's partial indieweb to indieweb reply support, but why I'm not using it yet on tantek.com"
(view diff)
benwerd joined the channel
#
tantek.com
edited /multiple-reply (+52) "/* Indieweb Examples of Multiple Replies */ explicitly note one of aaronpk's multi-replies as a particularly elegant example of multi-reply presentation and move it to the top of the list of examples"
(view diff)
#
tantek.com
edited /IndieAuth (+413) "Why not WebFinger - record reply from aaronpk that convinced one particular webfinger advocate/requester"
(view diff)
tantek joined the channel
#
tantek
ok I'm pretty happy with that incremental improvement - yet another feature addition to my own site that is above and beyond what Twitter supports. yes! (successkid)
#
tantek
thanks in particular to aaronpk for first pointing out the problem of multiple-replies and documenting real world examples of where he tried to do so (e.g. with/on Twitter), and Twitter failed to handle his real world use cases.
#
tantek
made me realize I wanted/did that too, and now we've got two IndieWeb implementations (good enough to add to IndieMark :D )
b0bg0d and barnabywalters joined the channel
#
@leonoracelsooyw
RT @t: that thing where you Publish Elsewhere &amp
#
Loqi
Syndicate Everything To A Silo (like Tumblr): #PESETAS #indieweb #ownyourdata (ttk.me t4Qn2)
sandeepshetty, b0bg0d, tilgovi, bnvk_, Guest75686 and tantek joined the channel
#
tantek
aaronpk - here is the multi-reply on your site that seemed to only show/reference one in-reply-to original: http://aaronparecki.com/replies/2013/02/25/1/indieweb
#
www.sandeep.io
edited /responses (+38) "/* object of action */ Not to be confused with the target attribute."
(view diff)
scor, tantek, bnvk and sandeepshetty joined the channel