2013-07-05 UTC
sandeepshetty joined the channel
# 00:08 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
# 00:52 bret quick JS question, can I retrieve JSON directly by a URL?
# 01:00 benwerd bret: it unfortunately depends on the platform a bit
# 01:00 benwerd on some (like aaron's) you can just add .json to the URL as an extension
# 01:00 benwerd others require the Accept: application/json HTTP header
# 01:01 benwerd looks like, eg, the link in that github issue is a separate json endpoint
# 01:02 bret i guess thats jsonp, not sure if thats what I need or not
b0bg0d and sandeepshetty joined the channel
# 01:11 benwerd and depending on what kind of code you're running, you can get the string in different ways
# 01:11 bret i was trying to do it with vanilla JS
# 01:12 benwerd no, you'll need to have actually read the string first
scor joined the channel
# 01:13 bret or is there a more direct way to read the string
# 01:16 benwerd (I like jQuery for this sort of stuff, but if you're using vanilla JS, that *should* do it)
# 01:16 bret part of it was just trying to learn JS better
# 01:18 bret this pinboard javascript pulls in outside data from another website without any httprequests
# 01:24 donpdonp it took a lot of plumbing to generate those '<li>'s :)
# 01:28 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 ;)
slvrbckt_ joined the channel
# 01:49 donpdonp sorry for the lack of style, and its showing only a tiny subset of the available fields per entry
slvrbckt, EHLOVader, aaronpk_, reidab_, singpolyma, ChanServ, dpk, bnvk, erikmaarten, Phae, Guest90098 and demis joined the channel
tantek and bnvk joined the channel
benwerd, melvster, bnvk, josephboyle, tantek and b0bg0d joined the channel
bnvk, b0bg0d and seyz joined the channel
# 07:39 tantek LULZ: "I’m more interested in using Medium to tell you not to use Medium."
# 07:48 Loqi Ok, I'll tell them that when I see them next
sandeepshetty and pfefferle joined the channel
slvrbckt_, bnvk, sandeepshetty, poppy and termie joined the channel
# 09:31 pfefferle sandeepshetty: how do i markup a "mention" link for sandeep.io?
laurian joined the channel
# 09:49 pfefferle i hope that's how sandeep has implemented it… it is a very long blog-post :)
# 09:52 tommorris made a bit of a breakthrough on the venues front. worked out a practical way to host my own venues database.
erikmaarten joined the channel
barnabywalters joined the channel
# 10:12 tantek IMO plumbing doesn't need a logo, it should just work
sandeepshetty, adactio, pfefferle and bnvk joined the channel
bnvk and sandeepshetty joined the channel
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
singpolyma joined the channel
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
bnvk, josephboyle, scor and sandeepshetty joined the channel
# 15:32 aaronpk i think cause the search is running on my own twitter account
# 15:33 aaronpk so my own tweets don't show up in the search stream for #indieweb
# 15:33 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
# 15:35 aaronpk interesting discussion going on between @blaine @julien51 and @lauraglu
bnvk joined the channel
# 15:58 pfefferle indeed, but it's not that easy to follow the discussion on twitter :(
benwerd joined the channel
# 16:02 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
# 16:03 aaronpk i intentionally left off the h-entry markup of the thing i'm replying to
# 16:03 barnabywalters pfefferle: you can, the replied-to h-entry should be a p-in-reply-to property of the parent
# 16:04 barnabywalters I’ve been marking up my notes like that for ~1month and haven’t had any problems
# 16:05 pfefferle than you have a source, the main answer and a second answer
# 16:06 tommorris should finish writing my blog post about OSM data mangling with Mongo and Redis
# 16:07 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
# 16:32 barnabywalters aaronpk: pfefferle: where on the wiki did you look for comment markup examples, i.e. where should I document this?
# 16:37 aaronpk barnabywalters: oh cool, I didn't realize child comment and in-reply-to was a thing
sandeepshetty joined the channel
# 16:38 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
spinnerin joined the channel
# 17:04 aaronpk barnabywalters: have you made any changes to php-mf2 lately that would cause one of the u-urls to not be found?
# 17:06 aaronpk oh you've been quite busy with php-mf2. i should probably just update
bnvk joined the channel
# 17:09 aaronpk how do I update with composer? composer update didn't actually do anything
b0bg0d joined the channel
# 17:12 aaronpk well now that we've established i'm running the latest version, i'm super confused.
# 17:12 aaronpk that gist parses correctly on your page, but I only see the pk.dev URL on my parsed version
# 17:13 barnabywalters okay, so it should be parsing both the url on the top line and the bottom one
# 17:18 barnabywalters okay, I haven’t released a new version in a little while, and my endpoint has dev-master
# 17:21 barnabywalters we really need to emphasise the other mf parsers out there so people can cross-reference
# 17:21 barnabywalters glenn has a public version of his, which is more comprehensive than mine, if a little behind
# 17:24 barnabywalters oh btw, html encoding of non e-* properties will be the only supported behaviour as of v0.2.0
seyz joined the channel
bnvk, hober, scor and tantek joined the channel
barnabywalters, tantek, scor and pfefferle joined the channel
# 18:58 aaronpk barnabywalters: have you done much with timezone offsets in PHP yet?
# 19:00 aaronpk I need to find something or build something to handle this
# 19:01 aaronpk the problem is the DateTime class requires named timezones, but I want to do this with just offsets
# 19:02 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...
# 19:02 aaronpk basically I want to work with dates just like I can with DateTime, but passing in "-0700" instead of "America/Los_Angeles"
# 19:02 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
# 19:03 pfefferle Btw the only comment I have seen up to now is the example in the mf wiki
# 19:04 Loqi pfefferle meant to say: Btw the only comment example I have seen up to now is the example in the mf wiki
# 19:04 barnabywalters aaronpk: would it be enough to create a mapping from numbers to strings/ DateTimeZone instances?
# 19:05 aaronpk and DST changes it during the year, not to mention when they change when DST happens
bnvk joined the channel
# 19:09 benwerd pdurbin: I believe the phonetic spelling is "gnuuuuuurgh". Timezone offsets in PHP have that effect on me.
josephboyle and BjornW joined the channel
# 19:09 barnabywalters yeah, I can’t find any existing DateTime extension library which makes dealing with offset timezones palatable
# 19:10 aaronpk luckily purely offset-based handling is much simpler
# 19:11 aaronpk in the mean time i'm stuck publishing all my events as +0000
# 19:12 aaronpk at least the time is correct (an event at 12pm portland time will show up as 7pm +0000)
# 19:24 aaronpk whoa I think I figured out how to do it with DateTime::createFromFormat
# 19:27 aaronpk barnabywalters: I've also got a neat function here I should probably share
# 19:27 aaronpk for printing strings like "Sep 6 from 10am to 6pm" given two absolute timestamps
b0bg0d joined the channel
# 19:37 aaronpk that's the kind of code I only want to write once :)
# 19:37 aaronpk also handling benwerd's lack of seconds and lack of timezone on this event is proving challenging :)
# 19:39 aaronpk well if you did it, i have to assume others will too
# 19:39 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"
# 19:41 aaronpk funnily enough, iso8601 defines like a dozen different formats for dates
# 19:45 aaronpk yea i'm definitely putting off handling parsing dates properly from other people's sites
# 19:45 benwerd I'm more than happy to paper it all over with strtotime for now
# 19:46 barnabywalters the only trustable datetime for an incoming comment is the datetime you accept it
# 19:46 aaronpk barnabywalters: this is for event start dates specifically, so it is the only thing that can be trusted
b0bg0d joined the channel
# 19:57 aaronpk now I just need to create one and RSVP to it on my site
bnvk joined the channel
pfefferle joined the channel
benwerd joined the channel
# 20:43 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
# 20:47 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 joined the channel
# 21:00 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)
# 21:00 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.
# 21:01 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
# 21:17 Loqi Syndicate Everything To A Silo (like Tumblr): #PESETAS #indieweb #ownyourdata (ttk.me t4Qn2)
sandeepshetty, b0bg0d, tilgovi, bnvk_, Guest75686 and tantek joined the channel
scor, tantek, bnvk and sandeepshetty joined the channel