2014-05-24 UTC
# 00:13 Loqi KartikPrabhu meant to say: kylewm: oh can't bleach remove the whole script tag?
# 00:17 kylewm KartikPrabhu: heh, i see what it's doing... i would use bleach to clean up short entries, but when the content is pretty long, i convert it to flat text and truncate to 200 characters.
# 00:23 kylewm hmm, maybe. by default it just html encodes the bad stuff...
# 00:23 kylewm >>> bleach.clean("<script>alert('hi')</script>")
# 00:27 kylewm i wasn't that excited to work around bad wordpress.com markup anyway, but if there's a strong use case for it, might be worth figuring out
whaity, bnvk, brianloveswords, snarfed, luxagraf, jjuran and john3213 joined the channel
luxagraf, bnvk, jjuran, jedahan, krendil, nloadholtes and paulcp joined the channel
# 03:54 snarfed bridgy supports it, and i think known and pfefferle's wordpress plugins plan to (or do already)
luxagraf joined the channel
# 04:36 KartikPrabhu !tell snarfed: does bridgy publish pick up the p-summary of a very long note to tweet?
# 04:36 Loqi Ok, I'll tell them that when I see them next
luxagraf and snarfed joined the channel
# 05:25 Loqi snarfed: KartikPrabhu left you a message 48 minutes ago: does bridgy publish pick up the p-summary of a very long note to tweet?
# 05:26 snarfed KartikPrabhu: hmm no, but that's a good feature request. feel free to file it in github!
# 05:27 KartikPrabhu i don't think notes should have markup in them just plain-text. bridgy should just use the first few lines as a syndication prompt
nloadholtes joined the channel
# 05:30 KartikPrabhu just keeping it simple, for myself and for bridgy. I don't want to write code to add p-summary markup to notes and all that :P
# 05:45 aaronpk has anybody made any progress on an h-entry to RSS proxy?
# 05:53 KartikPrabhu aaronpk: I am curious about that as well. I ran into a stupid error because I forgot to update my db-to-RSS code
# 05:54 aaronpk in this case tho I'm wondering specifically because it would be nice to be able to create RSS feeds from wiki pages or categories
# 05:54 KartikPrabhu aaronpk: on another note, is there a micropub client where I can test my endpoint?
# 05:54 aaronpk although in practice i'm not sure if it'll be that simple
# 05:55 aaronpk KartikPrabhu: ownyourgram.com is probably your best bet since it includes a lot of debugging/step-by-step stuff
# 05:55 aaronpk yeah I should make a really simple note interface
# 05:56 KartikPrabhu also about barnaby's client have you used that? I tried loggin in but after logging in it redirects me to the indeauth page
# 05:56 aaronpk odd... it works fine for me. but it doesn't handle error cases super well yet.
# 05:58 aaronpk hm I wonder how fast I can build this by copying most of ownyourgram.com
# 06:00 aaronpk honestly it's probably more work for him to add debugging info than for me to just do this
luxagraf joined the channel
# 06:02 KartikPrabhu he should fix it nonetheless :) but if you manage to put up yours I'll use yours to test. right now just seeing if the authorization endpoint and all are working not really posting through micropub... #babysteps
# 06:08 aaronpk oh strange, I get a server error trying to sign in now
# 06:08 aaronpk well if you don't plan on actually posting anything, try signing in to ownyourgram.com
GWG joined the channel
# 06:17 KartikPrabhu aaronpk: that worked! successfully logged in and authorized to post! w00t! thanks :)
# 06:18 aaronpk methinks there should be a !wiki command for that so it looks less silly
# 06:19 KartikPrabhu I did test using curl. but wanted to do some wild-testing to be sure... thans to ownyourgram debug info I can now also login into waterpigs :)
# 06:20 KartikPrabhu sweet! test posintg toally worked without actually posting... man this is awesome!
# 06:31 KartikPrabhu once I can do micropub from barnabywalter's client, I'll work towards making my own so we have atleast 3 clients
# 06:32 KartikPrabhu If I finish all of this in a month, I' have something to show off at IWC-East! :D
# 06:32 aaronpk i'll launch it tomrorow. too much overhead junk to launch tongiht. (nginx config, ssl config, etc)
# 06:40 aaronpk you're like 2 hours later than west coast right? it's super late there!
# 06:50 KartikPrabhu It is pretty late here but I am getting in a groove. good for doing not good for sleeping
paulcp, luxagraf, bear, tpinto and eschnou joined the channel
nloadholtes, luxagraf, paulcp, tpinto, whaity, eschnou, glennjones, erikmaarten, tgbrun, ttepasse, netweb and jonnybarnes joined the channel
paulcp, barnabywalters, gRegor`, eschnou, tgbrun, BjornW and luxagraf joined the channel
paulcp, jonnybarnes, tgbrun, grantmacken, eschnou and brianloveswords joined the channel
# 14:05 jonnybarnes its amazing how quickly an edit on the wiki is posted here by Loqi
luxagraf, bnvk, tpinto, grantmacken, tgbrun_, squeakytoy, paulcp, snarfed and tgbrun joined the channel
chrissaad, barnabywalters, paulcp, whaity, snarfed, eschnou, rektide, netweb, brianloveswords, aaronpk and grantmacken joined the channel
# 16:20 bret aaronpk my project stalled out when i found barnaby
snarfed joined the channel
# 16:51 aaronpk i'm cleaning up the quick micropub client I made last night
# 16:58 bret aaronpk are you turning p3k into a micropub account?
# 16:59 aaronpk I copied ownyourgram and am turning it into a client that posts just plaintext notes
# 16:59 aaronpk cause it has all the debugging walkthrough stuff before you sign in
emmak joined the channel
dybskiy and lzangrando joined the channel
# 17:30 lzangrando Hi all. I was at Brighton last October. I want to help make indieweb accessible to non tech people like me
ttepasse joined the channel
# 17:33 lzangrando Cool. It wasn't there yet and then I disappeared :[]
# 17:33 lzangrando I'll read it carefully
# 17:39 lzangrando Done quickly.
# 17:40 lzangrando Apparently I share the same level as Lynn of the post quoted in level 3.
# 17:40 lzangrando But I dont share the conclusions
# 17:41 lzangrando I am willing to be the guinea pig to experiment how to make things simpler
# 17:42 aaronpk great! we're still mostly introducing gen 2 people right now
# 17:43 aaronpk so it would be great to start thinking about bridging the next generation soon
# 17:43 lzangrando Not sure if im gen 2 or 3 have to read carefully :)
# 17:44 lzangrando Truth im not able to posse yet
# 17:45 aaronpk I'm curious what conclusions you disagree with from Lynne's post
tpinto joined the channel
# 17:53 lzangrando She doesn't seem to be willing to try go beyond. I am!
erikmaarten joined the channel
# 18:01 lzangrando I compleyed level 1 and I'm stuck at point 1 of level 2.
# 18:02 lzangrando I see several things that have been done like Bridgy but I'm not sure what comes first and if there is a pre packaged way to include eg microformats
# 18:03 aaronpk well it depends on your website. do you use wordpress?
# 18:03 lzangrando I realise it's just a matter of language
# 18:04 lzangrando No I publish static content with ... dont remember the name, pretty famous...
# 18:05 lzangrando My website is lionzan.me
# 18:06 lzangrando Guess you can tell from the source
dybskiy joined the channel
# 18:07 lzangrando Yes of course! I completed level 1!
# 18:08 lzangrando And edited the wiki eg for my profile for brighton.
# 18:08 lzangrando I'll edit the irc page soon
# 18:09 lzangrando For microformats I know im conceptually close but I need some help fot the mental leap :)
lionzan joined the channel
# 18:49 lionzan No idea why my id changed from lzangrando to lionzan. Long way to go :)
lionzan joined the channel
grantmacken, Kopfstein, tgbrun, ttepasse and paulcp joined the channel
snarfed and eschnou joined the channel
# 19:30 aaronpk and about your earlier question, barnaby's interface sends the access token in a form field because it's literally a form! the browser can't send that authorization header
# 19:32 KartikPrabhu if i understand the Bearer thing right, the if my token is "abc" then I should have the authorization header a "Bearer abc"
# 19:32 aaronpk maybe I should make this new test client randomly choose to send the access token in the header or post body lol
lionzan, ttepasse, iangreenleaf and dybskiy joined the channel
lionzan joined the channel
bnvk, lionzan, netweb and dybskiy joined the channel
# 21:59 aaronpk I literally just launched this app and snarfed has already tried logging in
# 22:02 KartikPrabhu kylewm: seems that html5lib disregards anything that is inside a <noscript>
# 22:04 kylewm KartikPrabhu: ya, I think it might have html encoded the things inside <noscript>
krendil, snarfed and snarfed1 joined the channel
# 22:08 snarfed1 from my phone no less
chrissaad joined the channel
# 22:08 snarfed1 lucky timing, just happened to check my feed reader right then
snarfed joined the channel
# 22:11 kylewm snarfed: do you happen to know off the top of your head whether the facebook API treats usernames and user ids interchangeably? i'm trying to POSSE tagged people
# 22:18 aaronpk took longer than I wanted it to take, but I spent a while on some very small details
# 22:19 rascul Once you've signed in, you'll see an interface like the below which you can use to write a post. Clicking "post" will make a Micropub request to your endpoint.
# 22:20 rascul oh well i also meant maybe you need a "one" between "the" and "below"
tantek joined the channel
# 22:26 KartikPrabhu aaronpk: I am getting a SSLError while trying to verify tokens from IndieAuth it says "hostname 'tokens.indieauth.com' doesn't match either of 'mail.indieweb.org', 'indieweb.org'" this does not seem to be an SNI issue since the domains are completely different
# 22:28 kylewm KartikPrabhu: noo, I haven't encountered that
# 22:28 aaronpk it may also be because of an old openssl underlying library
# 22:29 kylewm you should upgrade to py3, join me in its glory
# 22:29 aaronpk chances are the python library just uses the core openssl underneath anyway
# 22:29 aaronpk so if you can update your system packages it may fix itself
# 22:32 kylewm KartikPrabhu: I didn't use tokens.indieauth.net
# 22:33 aaronpk "This support has not been back ported to Python2."
# 22:34 KartikPrabhu is now conflicted between 'get micropub working' or 'port to py3' and avoid all the pain..
# 22:36 aaronpk yikes. you might consider switching to a host that has a larger bandwidth limit.
# 22:37 tantek clearly I don't know how to post content efficiently or something :P
# 22:37 aaronpk I would be impressed if you had more than 15TB/mo traffic
# 22:38 kylewm KartikPrabhu: get micropub working :) python 3 is a rabbit hole you might not want to go down right now
snarfed joined the channel
# 22:39 KartikPrabhu kylewm: yeah I am not even able to install those SNI-fix packages on my host! <grumble grumble>
# 22:40 tantek I guess I'm trying to make things work with a "cheap" VPS hosting account as part of the challenge of making the indieweb economically accessible?
# 22:40 aaronpk I type @peat and it adds everything automatically from the mapping of usernames to profile info I store
# 22:40 aaronpk tantek: no idea what you're paying, but dreamhost is certainly a cheap-ish shared host that is probably roughly equivalent to your current one
# 22:41 aaronpk dreamhost is about the same. $9/mo if you pre-pay a bunch
# 22:41 aaronpk unlimited storage and bandwidth tho which is nice
# 22:43 aaronpk reasonable, iirc. I haven't had to contact them recently though
# 22:43 tantek I like my current host as when bad things happened (i.e. security compromise) they were EXTREMELY responseive.
# 22:43 tantek (way more than any phone company that's for sure)
# 22:44 aaronpk dreamhost is certainly proactive about getting people to update their wordpress installs
# 22:44 aaronpk and I can understand not wanting to go the full VPS route especially if all you've got is a small php site
# 22:45 rascul if you don't want/need the full vps type thing i mean
# 22:52 tantek I'm curious what caused the bandwidth exceeding (last time the culprit was Atom feed)
# 22:52 tantek I can't access my stats or anything until they reactivate my site.
# 22:53 tantek Anyway, it's at least important to document these kinds of problems so we can capture at least the challenges with web hosting service(s)
# 22:55 aaronpk anybody have old screenshots of twitter when they showed which app was used to post the tweet?
paulcp_ joined the channel
# 22:59 aaronpk hm i'm not sure I want to give that much weight to it on my site
# 22:59 aaronpk well the micropub request already includes the client_id
# 22:59 aaronpk I'm thinking about where to display that on my site now
# 23:02 aaronpk well I have a sidebar with some other stuff like the tags and syndication links
# 23:04 aaronpk but i might make it have a 50/50 chance of sending in the post body
# 23:08 KartikPrabhu aaronpk: should I be testing that the Authorization header has the exact word "Bearer" in it?
# 23:10 aaronpk probably yeah, although you likely will never get any other values
dybskiy joined the channel
# 23:11 aaronpk e.g. Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
# 23:16 aaronpk well you should check for Bearer, because if you got "Basic" then you'd need to do something completely different with it
snarfed1 and snarfed joined the channel
# 23:31 bret yeah I used the hell out of that when writing my feed
snarfed1, snarfed and tantek joined the channel
# 23:49 tantek #1 source of hits were from something claiming to be Mozilla/4.0 (compatible
# 23:49 tantek #2 source of hits were from Mozilla/5.0 (compatible
snarfed joined the channel
# 23:51 tantek is tempted to just block IE5.5 as nearly no human is using that any more - got to be a lying bot
bnvk joined the channel