#indiewebcamp 2014-01-24
2014-01-24 UTC
caseorganic, chloeweil, fmarier, KartikPrabhu, jchivers, pasevin, li3n3 and pfenwick joined the channel
#
KartikPrabhu Loqi make some noise!
#
li3n3 such talking
pfenwick, kylewm and XgF joined the channel
#
pdurbin JSON-LD and Why I Hate the Semantic Web | The Beautiful, Tormented Machine - http://manu.sporny.org/2014/json-ld-origins-2/
netweb joined the channel
snarfed joined the channel
pfenwick joined the channel
paulcp, KartikPrabhu, caseorganic, benprew and indiewebcamp-vis joined the channel
#
AndySylvester Hello, this is my first time to use IRC
#
AndySylvester I have installed the Webmention WordPress plugin on my site at http://andysylvester.com
#
AndySylvester I am trying to figure out how to test it, looking at indiewebcap.com/webmention
#
AndySylvester I used curl to try to send a webmention to one of my posts, but got a response "503 Service Temporarily Unavailable"
#
AndySylvester I put webmention.org as the endpoint
#
AndySylvester Can anyone provide a pointer to any other instructions?
#
KartikPrabhu endpoint is somethign on your site that processes the webmention. not webmention.org
snarfed joined the channel
#
AndySylvester Looking at http://indiewebcamp.com/webmention#How_to_Test_Webmentions, the first example seems to provide a way to find the endpoint
#
AndySylvester what should I be looking for?
KartikPrabhu joined the channel
#
KartikPrabhu that is not the end point. that is the rel value of the link to an end point. for example. my site uses <link rel=webmention href="http://kartikprabhu.com/webmention" /> the endpoint is the href value
#
KartikPrabhu AndySylvester: what does the Wordpress plugin tell you to set the endpoint as?
j12t_ joined the channel
#
AndySylvester the plugin page (https://github.com/pfefferle/wordpress-webmention) does not say anything about the end point
#
AndySylvester when I look at the HTML in my site, the href value is http://andysylvester.com/?webmention=endpoint
#
KartikPrabhu did you put that or the plugin?
#
AndySylvester jthe plugin
#
AndySylvester I just tried that href value in my curl command, got 404 Not Found
#
KartikPrabhu the curl you should be sending is with source = some other URL and target = one of your posts
#
AndySylvester ok, I will try that
#
KartikPrabhu for instance: curl -i -d "source=$your_url&target=$target_url" $targets_webmention_endpoint
#
KartikPrabhu so target will be url of your post. targets_endpoint will be your endpoint and source is some other post that links to yours
#
AndySylvester for this test, does the other post have to link to my post?
#
KartikPrabhu if it does then something nice will happen. else there will be a 400 ''can't find target'
#
KartikPrabhu I just tried sending a mention from one of my posts to http://andysylvester.com/2014/01/21/first-steps-in-using-indieauth/ and I got that reply :)
#
AndySylvester ok, I will create a quick test post and link to a post
#
Loqi [mention] http://kartikprabhu.com/article/first-note linked to http://indiewebcamp.com/POSSE (webmention)
#
KartikPrabhu in fact I just sent a mention to your post http://kartikprabhu.com/article/first-note
#
KartikPrabhu sorry your post: http://andysylvester.com/2014/01/21/first-steps-in-using-indieauth/ from my post: http://kartikprabhu.com/article/first-note
#
KartikPrabhu did you get some sort of comment for moderation?
#
pfenwick Oh my, this is rather brilliant. (Provide social sharing buttons, but maintain user privacy by requiring the user to activate them.) http://panzi.github.io/SocialSharePrivacy/
#
AndySylvester let me check
#
KartikPrabhu AndySylvester: It is alive! a comment from my site appeared on yours :D
#
AndySylvester yes! I saw your comment and mine!
#
AndySylvester Thank you, Kartik!
#
KartikPrabhu you're welcome!
#
AndySylvester I am going to update my Webmention post with some more information, I think that this needs a screencast as well
#
KartikPrabhu yes go ahead. the more info there is, the better for new comers. maybe also post it as a resource on the indiewebcamp wiki
#
AndySylvester I will plan to have one completed before the Homebrew Website Club meeting in Portland next week http://indiewebcamp.com/events/2014-01-29-homebrew-website-club
#
KartikPrabhu I still jump up and down (in my head) whenever webmention works! it is so awesome
#
KartikPrabhu webmention++
#
AndySylvester I will add a link to the screencast when I have it posted
#
KartikPrabhu nods
#
KartikPrabhu hope that pumps me to fix my own webmention parsing code.
#
KartikPrabhu bear: any thoughts/ideas on adding received webmention parsing to ronkyuu?
j12t joined the channel
#
AndySylvester looking at my curl response, I wonder why it would have a 404 Not Found message even though I was able to see the webmention comment
#
KartikPrabhu bear: let me know if you find one. did you look at the one tommorris was "working" on?
#
KartikPrabhu AndySylvester: this is for your own mention?
#
AndySylvester yes
#
AndySylvester I will post a screenshot in a few minutes
#
KartikPrabhu bear: this - http://code.tommorris.org/mf2py
#
KartikPrabhu it is the only python one listed on the mf2 site
#
KartikPrabhu i was planning to look into that next to fix/improve my mention parsing. but it all depends on how much physics i have to do
#
KartikPrabhu hah yes
#
AndySylvester Kartik, I uploaded a screenshot to http://andysylvester.com/2014/01/24/testing-the-wordpress-webmention-plugin/
#
AndySylvester to show the curl response
#
snarfed pfenwick: yup! as another example, bruce schneier has been doing the same thing for a while on https://www.schneier.com/
#
KartikPrabhu AndySylvester: that is very curious indeed. It didn't find something but the webmention went through successfully!
#
KartikPrabhu AndySylvester: here is a possible reason - if you put http://andysylvester.com/?webmention=endpoint in the browser you see that your server is returning a 404. but the plugin still somehow captures it and processes the mention
j12t_ and snarfed joined the channel
#
@AndySylvester99 @pfefferle I am testing your Webmention WP plugin, so far so good! http://andysylvester.com/?p=173 (twitter.com/_/status/426588889793302528)
#
KartikPrabhu wait it was doing that a minute ago. but now it isn't
pfenwick1 and j12t_ joined the channel
#
AndySylvester Kartik, I see "'source' is missing" in the browser tab when I go to http://andysylvester.com/?webmention=endpoint
#
KartikPrabhu yes. now I do to. You should try the curl again to see if it gives the same result...
#
AndySylvester Signing off for tonight, thanks for all the help
#
KartikPrabhu no problem!
KartikPrabhu and poppy joined the channel
skinny, melvster, cweiske, sn0rri, grantmacken and caseorganic joined the channel
Jihaisse, charlesroper, pfefferle and LauraJ joined the channel
sn0rri, eschnou, squeakytoy, LauraJ, carlo_au, Sebastien-L, BjornW, glennjones and friedcell joined the channel
pfefferle, pfenwick and scor joined the channel
glennjones, eschnou, scor, Sebastien-L, friedcell, cweiske, bnvk, marcthiele, hober2, benatkin, catsup, brianloveswords, rektide, peat, julio, ireheart, hidgw, CheckDavid, etymancer and pdurbin joined the channel
brianloveswords joined the channel
#
Loqi [mention] http://argentinaserver.net/will-non-profit-foundations-step-up-to-save-the-internet-dan-gillmor/ linked to http://indiewebcamp.com/principles (pingback)
jonnybarnes joined the channel
#
jonnybarnes !tell barnabywalters all the articles on waterpigs.co.uk have the same published date and time, if you dont already know
dvirsky joined the channel
#
Loqi [mention] http://pnews.us/will-non-profit-foundations-step-up-to-save-the-internet-dan-gillmor/ linked to http://indiewebcamp.com/principles (pingback)
chloeweil joined the channel
dentonjacobs, snarfed, scor, pasevin, lukecyca, realzies and bnvk joined the channel
iangreenleaf, CheckDavid, jchivers, sn0rri and snarfed joined the channel
pfenwick joined the channel
#
Loqi [mention] http://buzzstake.com/will-non-profit-foundations-step-up-to-save-the-internet-dan-gillmor/ linked to http://indiewebcamp.com/principles (pingback)
benprew, paulcp, snarfed, _6a68, jchivers_ and tantek joined the channel
#
jonnybarnes does anyone know if indieauth fails with custom URLs?
#
jonnybarnes i.e. I'm testing my website on my local machine which uses the domain jb.dev
#
jonnybarnes trying to implement indieauth sing-in and I'm at the indieauth login page
#
jonnybarnes oh, what html is it collecting? the rel=me links are on jonnybarnes.net which I'm logging in with
#
jonnybarnes yes
#
jonnybarnes and it doesn't work
#
jonnybarnes I click one of the links that looks like so: https://indieauth.com/auth/start?me=https%3A%2F%2Fjonnybarnes.net&profile=https%3A%2F%2Fgithub.com%2Fjonnybarnes&redirect_uri=https%3A%2F%2Fjb.dev%2Fauth
#
jonnybarnes and it goes back to the same page
#
jonnybarnes listing the verified identities for jonnybarnes.net
#
jonnybarnes hmmm
KartikPrabhu joined the channel
tantek joined the channel
#
jonnybarnes still doing the same, and theres now no way a request to jb.dev/auth has any redirect
#
jonnybarnes its currently set up to var_dump has token or has not token
sn0rri joined the channel
#
jonnybarnes so, is the problem at my end?
#
aaronpk can you try with a redirect URI that doesn't make sense, like http://foobar.dev
#
jonnybarnes foobar.dev worked
#
jonnybarnes well obv I got a server not found error
#
aaronpk what happens if you visit https://jb.dev/auth?token=xxx
#
jonnybarnes currently I get 'has_token' as that whats my code is set to do
#
jonnybarnes my routes.php points requets to auth at that function
#
jonnybarnes but that should redirect to jb.dev/notes/new shouldn't it
#
aaronpk but does your /notes/new redirect to indieauth if you're not logged in?
#
jonnybarnes or should I set it to an absolute URL and see if that works?
#
jonnybarnes ahh, ill have a see
#
jonnybarnes nope, notes/new only checks if the session value is set to determine if there should be an indieauth login form displayed
iangreenleaf joined the channel
#
tantek noting Dan Gillmor's article on The Guardian as well: http://www.theguardian.com/commentisfree/2014/jan/24/save-the-open-internet-foundations
kpachnis, sn0rri and BullSherd joined the channel
#
jonnybarnes so it kind of works, I can set foobar.dev as the redirect, and get a server not found error
#
jonnybarnes then I can change that to jb.dev/auth and hit enter and my code successfully verifies the token with indieauth.com
#
jonnybarnes just can't get the redirect working
#
jonnybarnes hopefully it'll work when I push the code to jonnybarnes.net
LauraJ, sn0rri, jchivers, chloeweil, pasevin and bnvk joined the channel
#
jonnybarnes aaronpk: this is defo something on my end, heres the output from Live HTTP Headers: https://gist.github.com/jonnybarnes/8603918
#
jonnybarnes jb.dev has the right Location value
#
jonnybarnes if I manually goto that address then everything works
tantek, grantmacken and gRegorLove joined the channel
#
jonnybarnes aaronpk: disalbed several ff extentions like ghostery and no script, tried and it worked
KartikPrabhu, j12t and eschnou joined the channel
#
jonnybarnes aaronpk: by process of elimination the NoScript plugin is stopping the redirect
#
jonnybarnes I don't know why though
#
jonnybarnes working now, it was the application boundaries enforcer setting in noscript that was stopping the final redirect
eschnou, paulcp and brianloveswords joined the channel
tantek and chloeweil joined the channel
#
jonnybarnes can someone do me a favour? this page doesn't let anyone actually post a new note yet, but can someone check they can sign-in through indieauth? https://jonnybarnes.net/notes/new
#
jonnybarnes crap
#
jonnybarnes hang on :)
KartikPrabhu1 joined the channel
#
aaronpk jonnybarnes: read the "Usage for Clients" section here, and feel free to use this library to do the discovery https://github.com/indieweb/indieauth-client-php
#
KartikPrabhu1 jonnybarnes: Firefox can't find the server at jb.dev. it says
#
jonnybarnes should work now
#
jonnybarnes ?
#
jonnybarnes great
KartikPrabhu joined the channel
#
jonnybarnes thanks for the info aaronpk, btw looking at your site it sends a header: PK-Request-Duration: 268.755 whats that?
#
KartikPrabhu jonnybarnes: it worked for me too now!
#
KevinMarks I got to login
#
jonnybarnes thanks for trying guys
#
jonnybarnes home page. also I've realsied
#
jonnybarnes realised my map is now broken since Ive added the second form to the page
#
jonnybarnes should be fixed now
#
jonnybarnes at least after a head refresh
#
jonnybarnes the map should now appear in the right form
#
jonnybarnes head = hard
netweb, paulcp, tantek, paulcp_, bnvk, friedcell, gRegorLove, jchivers and scor joined the channel
#
benatkin stumbled on this Laravel PHP Conf page https://conference.laravel.com/ - their code of contact is very succinct
#
pdurbin tantek: I'm curious if you saw http://indiewebcamp.com/irc/2014-01-23/line/1390529406 (and after)
#
pdurbin some nice discussion of JSON-LD here as well: http://rest.hackyhack.net/2014-01-24.html#50/h50
hallettj joined the channel
#
jonnybarnes YAGNI?
