#dev 2019-01-08

2019-01-08 UTC
snarfed, [davidmead] and jjuran joined the channel
#
[tantek]
what is an app
#
Loqi
App likely refers to native app, typically a less functional version of a web site that is usually restricted to one or more proprietary platforms, but may also refer to the .app top level domain https://indieweb.org/app
#
Loqi
ok, I added "https://twitter.com/justinkan/status/1081330663133855744" to the "See Also" section of /app https://indieweb.org/wiki/index.php?diff=55386&oldid=50046
#
[tantek]
!tell benwerd it appears your past events may be showing incorrect year information, e.g. I think this was from 2013 yet it says "2019" in the summary box at the top! https://werd.io/event/51c94deebed7de5c2386a1b4/unofficial-portland-post-indiewebcamp-meetup
#
Loqi
Ok, I'll tell them that when I see them next
jjuran joined the channel
#
aaronpk
That's an interesting bug
[relapse] joined the channel
#
[relapse]
Heh. Just wrote a quick "reply" JS bookmarklet that checks for .h-entry tags on the page. If it finds one, it sends me to my site to write a reply, other wise it tells me "Nope".
#
[relapse]
That php-mf2 is a darn good library.
[tantek] joined the channel
#
[tantek]
what are bookmarklets
#
Loqi
It looks like we don't have a page for "bookmarklets" yet. Would you like to create it? (Or just say "bookmarklets is ____", a sentence describing the term)
barpthewire and [relapse] joined the channel
#
[relapse]
Should we link to the wikipedia page? https://en.wikipedia.org/wiki/Bookmarklet
#
[relapse]
oof, long, sorry.\
#
[relapse]
ty
[tantek] joined the channel
#
[tantek]
[relapse] feel free to add your bookmarklet to https://indieweb.org/bookmarklet
cweiske, [asuh], [Vincent], [Vanessa], [voss], LT, KartikPrabhu and [Rose] joined the channel
#
[Rose]
Has anyone trie to make an IndieAuth plugin for Discourse before?
lape joined the channel
#
sknebel
I don't think so
jeremych_ joined the channel
#
sknebel
one could maybe use https://meta.discourse.org/t/oauth2-basic-support/33879 with a parallel install of indielogin.com, if I understand it right (or hack that plugin, depending on the goal)
KartikPrabhu, hola1 and [jgmac1106] joined the channel
#
[jgmac1106]
Thx [tantek] it's tge darn rich text editor in my note/status templates
[Rose] joined the channel
#
[Rose]
I want to let people login with IndieAuth
#
[Rose]
Definitely on the Automators forum I manage, hopefully on MPU, and if it were available as a released plugin other Discourse forum managers would be able to install it and offer it easily.
#
[Rose]
(Also: Discourse has an API, so just like you syndicate your reply to GitHub you could syndicate your reply to a Discourse forum as well as post it on your own site.)
swentel, KartikPrabhu, barpthewire, [kevinmarks], [davidmead], [jgmac1106], [Vincent] and [Rose] joined the channel
#
jeremycherfas
Loqi any messages?
#
[Rose]
Loqi appears to have forgotten this: I finally have something you can theoretically drop into a Grav install and use as a MicroPub endpoint
#
jeremycherfas
Wow! Are you able to share?
#
sknebel
[Rose]: you left a message for jeremych*a*rfas
#
jeremycherfas
sknebel solves all the problems
#
sknebel
(Loqi really should complain if it doesn't know someone a tell is left for, or they haven't been online in 90 days or so)
#
[Rose]
That would be nice!
#
[Rose]
Jeremy> I will do as soon as I've got some bugs ironed out and have checked it properly against micropub.rocks.
#
[Rose]
It should support mp-destination too, which is the reason why I'm really getting on with it.
#
jeremycherfas
VEry good. I have a local install that I sync with production, so I could test when you need it.
#
[Rose]
(It also doesn't try to HTML encode characters, because something somewhere on my current/old one is doing that, and it's driving me insane.)
#
jeremycherfas
Mind you, that also means abandoning my own feeble efforts.
#
[Rose]
I also have a media endpoint in it too, because it's actually Aaron's media endpoint that I've just done some light modifications to.
#
jeremycherfas
I currently store media in the post's folder. Do you have a special media folder?
#
[Rose]
The thing with MicroPub and media is that the media is sent _before_ the post, so you wouldn't know which post folder to store it in. So you need a media folder.
snarfed joined the channel
#
jeremycherfas
Oh. That's, er, interesting. Presumably you could move it afterwards.
#
[Rose]
Theoretically, that would involve parsing the images in the headers though, finding them in the folder, and moving them - and then rewriting the images in the headers to use a local reference. Which is beyond the scope of what I'm looking at right now.
#
[Rose]
(It's all technically do-able, it's just extra work which I don't think is worth it for the start of the project.)
#
[Rose]
This isn't an official Grav plugin though, just 3 files you put into you main Grav directory and add the header to your base.html.twig.
#
jeremycherfas
I have to run now, but I will try and find time over the next couple of days to pursue with you. And you've seen the IndieAuth plugin, I take it?
[Vincent] joined the channel
#
[Vincent]
I take a good punt at the media being in the right place by assuming it will go in year/month/day After that its random, but easy to track down
#
[Rose]
I just save mine with the date it comes in with as the name, and if you store the correct information in a config file it should be easy enough to find the file - but as soon as someone has a weird config then it would go wrong. And I'd have to write it to skip the image though if the name didn't match - and some people do weird things with redirects and moving files through other scripts and I'd rather not handle those.
#
[Vincent]
lol good plan sounds much easier!
#
[Vincent]
My media endpoint gets the current date time at the request, and generates the file path and posts it to Github. If its successful it returns the response location of where it went.
#
[Vincent]
the url structure is just for my own sanity
#
[Rose]
The media endpoint will have the option to save into year and month folders, so you don't end up with a massive folder of images.
#
[Vincent]
awesome
#
[Rose]
It seemed smart.
#
[Vincent]
indeed it can get out of control quickly I think if it isn’t ordered in some way to begin
#
[Rose]
And most people don't post enough that splitting into day folders would be necessary, but I could easily add that as an option.
#
[Vincent]
yeah mine is a little overkill
#
[Vincent]
the media endpoint was the bit I’ve enjoyed the most so far creating. Micropub still confuses me when I look at my code
#
[Rose]
Hehe, currently my endpoint breaks logging into Aperture so I need to debug that, and either fix the endpoint if that's at fault, or create an issue for Aaron to fix - possibly both!
#
[Vincent]
lol poor Aaron
#
[Rose]
I should check if it just breaks the login in to my aperture, or also his.
#
[Vincent]
Try yours first if that’s what your using, you can always replicate it for him if it doesn’t work for you. It might be helpful to go through that process in case it makes the actual error apparent while you are doing it.
#
[Rose]
Yes, but if it works on his one then that means something is different between our installs, so it might be my install that is wonky somehow, or he has some code in his which isn't published.
[jonathanprozzi] joined the channel
#
[Vincent]
argh. That sounds like a fun one
#
[Rose]
Yes, at least knowing that is good information to put in an issue if I need to create one.
[smerrill], [eddie], [jgmac1106], jackjamieson, KartikPrabhu, snarfed, jgmac1106, leg and [tantek] joined the channel
#
[tantek]
[jgmac1106] how is that an editor problem? the post looks fine on your site. so that means the editor is doing its job. It only gets screwed up on the POSSE copy.
#
jgmac1106
ahh okay thanks, I mixed it up with notes I publish with a micropub client, there any html comes through as plain text…..but yeah tweet made no sense without tags, will try wrapping <pre> and see if brid.gy behaves differently
KartikPrabhu joined the channel
#
snarfed
jgmac1106: looks like you didn't use bridgy to posse that tweet. https://brid.gy/twitter/jgmac1106#publishes
#
jgmac1106
ahh thx snarfed, so it is something in Known
#
GWG
Hello all
#
snarfed
hey GWG
#
GWG
Any excitement today?
tantek joined the channel
#
jackjamieson
Nothing really that I know - If I have time this afternoon I'm going to play with independent publisher a bit, but otherwise a quiet day
#
jackjamieson
How about you?
KartikPrabhu joined the channel
#
GWG
I am sitting at the Lounge at JFK with my laptop about to code
KartikPrabhu, stevestreza, snarfed, cweiske, [schmarty], [Rose], [pfefferle], kisik21 and jeremycherfas joined the channel