#known 2017-03-22

2017-03-22 UTC
j12t, tantek, Guest62045, jeremycherfas, ben_thatmustbeme, mapkyca, loicm and KevinMarks joined the channel
#
jeremycherfas
Dgold: You got a minute?
#
dgold
sure, jeremycherfas, what's up?
#
jeremycherfas
I thought I’d have another go at getting your pnut thing working, but doing so on my local installation.
#
jeremycherfas
It enables fine. But as soon as I go to Account, I get an error `Not Found
#
jeremycherfas
The requested URL /pages/account/pnut/ was not found on this server.`
#
jeremycherfas
And yet it worked on my live site — least, I could attempt to put in my authorization.
#
dgold
okay - so you've enabled the plugin?
#
dgold
have you then gone into Settings->Admin->pnut
#
jeremycherfas
But hangon, I went to Diagnostics, and I’m getting an error there that says my local site isn’t HTTPS.
#
jeremycherfas
I’m sure I haven’t seen that before.
#
jeremycherfas
This is withknown 0.9.2 fairly recent master
#
dgold
I haven't hard-coded https: into the code for pnut anywhere, jeremy, afaia
j12t joined the channel
#
jeremycherfas
No, I don’t think that’s you at all. I am sure it is core.
#
jeremycherfas
I could play with it on the live version, except that nobody seems able to tell me how I delete a client from pnut.
#
jeremycherfas
I wwant to start again completely from scratch.
#
jeremycherfas
I thought that playing locally might be easi8er.
#
dgold
it should be - what system is the local computer using?
#
jeremycherfas
Mac OS. MAMP
#
dgold
fwiw: I downloaded the git-dev version of known, and installed the pnut plugin maybe a half dozen times
#
jeremycherfas
Did you ever have to delete the client at pnut
#
jeremycherfas
Looks like I need to spring for MAMP 4 Pro to be able to use SSL. At least, I think so.
[kevinmarks] joined the channel
#
jeremycherfas
Strike that.Dgold all worked perfectly this time around.
#
dgold
Fantastico!
#
dgold
Did you find out what was wrong?
j12t joined the channel
#
jeremycherfas
Nope. Pure voodoo.
#
jeremycherfas
Aree you planning to get backfeeds from pnut?
#
dgold
I am!
#
dgold
working on that atm - mostly (for now) looking over the pnut API and how that could/would feed into Bridgy
#
jeremycherfas
So that would be something that gets added to brid.gy?
#
dgold
I was wondering how snarfed does it - so I cna understand the whole backfeed thing
#
dgold
conceptually, its not something that I'm titally clear on
#
dgold
it doesn't seem to be something that known is set up for, jeremy, unless I'm completely misreading things
#
jeremycherfas
I just read the wiki page on backfeeds, and that gives some hints about overall strategy.
#
jeremycherfas
Given that bridgy already knows about Known and seems able to write the comments, that is probably the most efficient way to go.
#
dgold
problem with hacking on bridgy is that it is *so* wedded into the Google AppEngine ecosystem
#
dgold
this isn't a criticism, btw, just that for a n00b, its pretty damned daunting
#
jeremycherfas
I don’t really know what that means.
#
jeremycherfas
But, looking at the pnut API, there are ways of seeing bookmarks, replies and reposts.
#
jeremycherfas
And — ignorance is bliss — that means it ought to be possible to get those and write them back to Known.
#
jeremycherfas
If you’re a noob, I’m a preemie.
[barryf] joined the channel
#
dgold
oh, no, I completely agree
#
dgold
but; and this is the ten-foot-flaming BUT!!
#
dgold
if you look at Bridgy's code for, say, twitter, it relies on snarfed's granary
#
dgold
that's (again) a different GoogleAppEngine piece that scrapes html and makes json &c
#
dgold
so, to get pnut posts -> bridgy -> known
#
dgold
they have to be scraped by granary -> bridgy -> known
#
dgold
so, while the API is clear (well, kinda, Robert needs some doc writers) its not just a case of point granary at it & hope
#
dgold
i was able to rewrite the ADN plugin because it was there, just had to rewrite some stuff
#
dgold
the heavy lifting was in the photo upload -- which (btw) still throws an error after it's posted the photo to pnut
#
jeremycherfas
I’m sure you’re right. But it does also seem to be a manageable small thing, if one avoids the granary > brid.gy elements
#
dgold
I can't catch where the redirect error is being thrown
#
jeremycherfas
I haven’t tried that yet.
#
dgold
it posts the image to pnut, it gets the link out of the pnut post, its all _working_
#
dgold
its just that instead of going back to your main page, it tries to open a photo/edit page instead
#
jeremycherfas
Looking at granary, snarfed suggests adding a new silo as a valuable activity. Beyond me, I’m sure, but fun to think about.
#
dgold
speaking of voodoo - just uploaded a pic to pnut, worked absolutely perfectly.
#
dgold
weirg
#
jeremycherfas
Something must have changed!
#
jeremycherfas
Nice looking gin.
#
jeremycherfas
Is there a permalink for an individual post to pnut? I’m not seeing one.
#
dgold
yes - when you click the date in Known front page it takes you to the post page
#
dgold
in that case
#
dgold
the pnut icon is down the end there after the two twitter handles
#
jeremycherfas
Ah no. I want to see what granary makes of a single pnut post.
#
jeremycherfas
Yup. Finally found that. And granary shows almost nothing there. So I suspect it would require getting pnut to do a bunch more markup.
#
dgold
mind you, everything in pnut is straight json api results anyway
#
dgold
you can watch pnut using curl or httpie
#
jeremycherfas
That’ll do for now. Gotta go cook.
[eddie], ben_thatmustbeme and [cleverdevil] joined the channel
#
[cleverdevil]
Had a great chat with my daughter's school today about leveraging technology to help students, parents, and teachers to connect with each other. I recommended taking a look at Known!
[dgold], [kevinmarks], [cleverdevil], rhiaro, ben_thatmustbeme, srcr, davidmead, KevinMarks and loicm joined the channel