#dev 2018-06-13

2018-06-13 UTC
[kevinmarks] joined the channel
#
GWG
So, what is everyone working on tonight?
#
aaronpk
Trying to get the city of Portland to pass some zoning changes. It's real world standards development. I think I like the web standards process better.
#
aaronpk
Next i have to work on my 60-second lightning talk for tomorrow's dweb meetup
#
aaronpk
60 seconds is not a lot
#
GWG
aaronpk, good luck
#
KartikPrabhu
wow! I have trouble doing 10min talks!
#
aaronpk
I just did a 1.5 minute talk at the city I guess
#
GWG
I teach. Just give me the topic and I can talk as long as needed.
#
aaronpk
But can you talk as short as needed? That's the challenge
#
GWG
aaronpk: It is. But I can try
eli_oat and jgmac1106 joined the channel
#
jgmac1106
sixty second lightning talk sounds like an amazing challenge. I love improv but would have to practice
#
jgmac1106
drawing up sketches and thinking about the UI that would be needed to spit out the course and syllabus templates I want. Hope to have the templates done for summit but thinking about future more fun then fixing present
renem, [miklb] and Ruxton joined the channel
#
@jgmac1106
Started to POSSE to Mastodon as well as Twitter, shame webmentions don’t work, but have to respect a communities values on privacy, especially when you disagree. (https://jgregorymcverry.com/3516-2/)
(twitter.com/_/status/1006723756021207041)
conzeit, gRegorLove, [conzeit], DenSchub and cweiske joined the channel
[pfefferle], [kevinmarks], swentel, KartikPrabhu, [jgmac1106], jgmac1106 and j4y_funabashi joined the channel
#
j4y_funabashi
grantcodes++ for PhotoPostr
#
Loqi
grantcodes has 15 karma in this channel (21 overall)
#
j4y_funabashi
grantcodes: I got json posts working on my micropub endpoint yesterday so I could start creating albums
#
j4y_funabashi
grantcodes: I need to change a few more pieces on my end to get it all working, the photos + album come through fine but I need to expand the child urls into objects and render them nicely
jgmac1106_, barpthewire and [grantcodes] joined the channel
#
[grantcodes]
Nice one j4y_funabashi
#
[grantcodes]
You might be the only other person to have used it 😜
#
[grantcodes]
But good to know it works for you too
#
[grantcodes]
Probably needs some work though, so let me know if you have any ideas
#
j4y_funabashi
[grantcodes]: main thing I have noticed so far is that I dont usually have names on my photo posts
#
j4y_funabashi
[grantcodes]: do you expand the children urls to post objects before saving to storage or as an async process?
#
vanderven.se martijn
edited /on_this_day (+296) "/* Facebook */ On This Day is now part of Memories."
(view diff)
#
j4y_funabashi
I suppose that is a question for everyone, I want my micropub endpoint to 'enhance' some post properties (link-previews, geo urls to locality etc), I am thinking that I will do it as async micropub updates after the post is created but just wondering how others do it?
[grantcodes] joined the channel
#
[grantcodes]
I do it dynamically
jgmac1192 joined the channel
#
j4y_funabashi
oh ok so you expand on every request?
#
schmarty
j4y_funabashi: My static site build process is triggered by a git hook which finds files that are new or changed. Before building, those are processed for things like URLs that need link previews.
#
schmarty
I don’t keep the expanded data in git, so it’s like a build-side cache.
dougbeal|mb1 joined the channel
#
[grantcodes]
Mine depends. External links I will grab and store in the database. Internal stuff like collections are compiled on every request that includes a collection
#
skippy
ahouy hoy.
#
jgmac1106
[schmarty] this is what I want to do with my syllabus and course tempaltes, since things like readings and objectives would be the same I would love to change the data in git and then have it populate both pages
#
schmarty
jgmac1106: depending on your needs, it may be that reusable snippets would be useful? E.g. store the reusable pieces separately and use a mechanism to include their content in the readings or objectives pages.
#
jgmac1106
cool, gonna talk about it at vHWC-Europe today, I want my students to learn basic html as part of instructional design but a UI for SSG would be pretty simple..I don’t hvae the time to learn but others want to help paint the fence
#
jgmac1106
I just am trying to get my templates ready for Summit need to go back and redo my holygrail css grid, I totally messed that up, but now have a better understanding
swentel joined the channel
#
jgmac1106
I was asking yesterday but if I wanted to add h-event to http://syllabus.glitch.me/#schedule would I need to rethink my design so the events aren’t cut across a grid? Can you have more than one h-event per page or does that mess up everything?
leg and leg1 joined the channel
#
sknebel
I'll quote what I said yesterday ;)
#
sknebel
[12:10:30] <sknebel> yeah, that's currently an issue with grids. in your case, you might be able to work around it with display: contents, which allows you to wrap grid-elements in a wrapper that gets ignored by grid
#
jgmac1106
[sknebel] sorry I missed the help yesterday, should have checked logs first before reposting
#
sknebel
no problem, happens easily
#
[grantcodes]
Wait, what's the issue with css grid jgmac1106 ? Trying to have items cover multiple columns / rows of the grid?
jsorge joined the channel
#
jgmac1106
yeah, wanted to add h-events in the syllabus schedule, each event is in its own grid row but in the html…can’t figure out. Watching video on display: content now
#
jgmac1106
153-160 would be in the event, you know what I think I maybe alright, they grid cells still will be sequential
#
aaronpk
j4y_funabashi: my site does that kind of stuff as an update after the post is created. So when I post a reply, i can refresh the page a few times before it eventually looks like the full reply context you see on existing posts
jackjamieson, DenSchub, snarfed and [kevinmarks] joined the channel
#
[kevinmarks]
hm. That would be easier with <table> certainly
[schmarty] joined the channel
#
[schmarty]
oh yeah. tables are cool for tabular data. 😂
#
[kevinmarks]
or you could do a flexbox per row, that will give you a container to put the h-* thing on
#
[kevinmarks]
tricky problem. Maybe tantek knows of a grid workaround.
jeremych_, [miklb] and jackjamieson joined the channel
#
j4y_funabashi
aaronpk: yeah I am leaning towards that too, means I need implement updates but that was on the list anyway
#
aaronpk
fwiw mine does it with internal updates, not micropub updates
jackjamieson and [cleverdevil] joined the channel
#
jgmac1106
[zegnat] taking your citation builder idea and sketching out an entire SSG app, not that I could build it but I like thinking of these things: https://jgregorymcverry.com/can-we-build-a-static-site-generator-for-indieweb/ https://t.co/NgbNwEypxp
#
skippy
nice writeup jgmac1106
jackjamieson joined the channel
#
jgmac1106
thx, much easier to think up and tranlstae sketches into html and css than build it though, always easy to ask for the moon when thinking about features
#
skippy
less is more.
#
skippy
make it as simple as possible, and no simpler.
#
jgmac1106
yes complex simplicity is my goal always
#
jgmac1106
I also think learning works best when it is a simple as possible, an no simpler so the design paradigm fits my teaching
jgmac1106 left the channel
#
petermolnar
jgmac1192: the short answer to the title is 'no'. The longer answer is not without external, dynamic services to accept the incoming data. On the other hand, to just get started with a site, yes, of course. I've been lamenting desktop tools like Microsoft Frontpage and Macromedia Dreamweaver for a while; they were very simple to use, and with a few clicks it was possible to upload the generated site to and FTP server. I'd very much
#
petermolnar
like to see similar, offline-capable application again, but it's unlikely
#
petermolnar
that they'll happen.
#
petermolnar
as for all the indieweb features, there's a middle ground: flat file CMS, like Grav. It doesn't have tricky dependencies, say, databases, but they don't lack the dynamic features.
#
petermolnar
there were some Grav indieweb plugin developments around, weren't there?
#
petermolnar
eh, names, so this is for jgmac1106
#
[kevinmarks]
that design does seem to want a database-like something involved as it is creating a lot of reusable bits
#
petermolnar
this is when asking the question if sqlite is a database or not
#
jeremycherfas
There are some good indieweb things for Grav, but the main developer seems to have stopped working on them. I have incoming webmentions, thanks to voxpelli's app, and I am slowly working on a simple micropub server.
[grantcodes] joined the channel
#
petermolnar
there's also someone on Kirby, right?
#
skippy
Hugo + Micropub works, too
snarfed joined the channel
#
[kevinmarks]
you could do it with Hugo, with some structure set up first, yes.
#
jeremycherfas
A woman who is active on micro.pub and the Grav slack has built her own micropub endpoint already, but not shared as far as I know. I also want to use this to learn.
#
petermolnar
oh, this thing looks very simple to start a website with: https://www.wondercms.com/
#
[cleverdevil]
I still hold out hope for a long term answer using Lambda + S3 to make a extremely cheap and easy to manage IndieWeb CMS.
#
[cleverdevil]
Self hosting without management.
#
GWG
Morning
#
petermolnar
that wondercms has a frontend editor with an interface looks surprisingly like WordPress' Gutenberg is planning to be
#
[kevinmarks]
https://mavo.io/ might work for jgmac's use case
#
@petermolnar
↩️ I'd start here: https://www.wondercms.com/ - simple, frontend editor based, flat file CMS. Not static, but that means it could integrate Webmentions, Micropub, etc, which is not possible with static sites without external services.
(twitter.com/_/status/1006920468010586117)
#
GWG
aaronpk, how is Indielogin going for my use case?
#
aaronpk
I haven't had time to work on that yet
snarfed joined the channel
#
GWG
No problem, just saw the Indieauth depreciation notice
#
Zegnat
petermolnar: sebsel is on Kirby, though he is developing on Laravel now, I think
jeremyc__ and jackjamieson joined the channel
#
[kevinmarks]
this mavo demo looks a bit like what you want https://mavo.io/demos/talks/
AngeloGladding, jeremych_ and renem joined the channel
#
[kevinmarks]
that was for [jgmac1106] jgmac1106
jackjami_, KartikPrabhu, snarfed and redaxo_schorsch joined the channel
#
jeremycherfas
!tell gRegorLove indiebookclub is terrific. Thanks. Any chance of being able to add tags? Or even set a single default tag.
#
Loqi
Ok, I'll tell them that when I see them next
#
gRegorLove
Thanks! Yeah, there's a feature request for that. I'm thinking I'll add a setting so you can select a default tag to go with your posts, and of course you can edit it for each post. https://github.com/gRegorLove/indiebookclub/issues/6
#
Loqi
gRegorLove: jeremycherfas left you a message 1 minute ago: indiebookclub is terrific. Thanks. Any chance of being able to add tags? Or even set a single default tag.
#
Loqi
[jackjamieson2] #6 Feature requests: Additional fields for notes/comments, permalink, DOI
#
jeremycherfas
Thanks jackjami_
#
schmarty
ancarda: here's my publishing webhook i use for my site: https://git.schmarty.net/schmarty/ssg-hook-publisher-php
#
ancarda
Thanks schmarty
#
gRegorLove
Academic and/or microformat peeps: If a /read had a DOI, should that be the uid of the h-cite or a different property? Should it be just the DOI name or the full URL on doi.org?
#
gRegorLove
What is DOI?
#
Loqi
DOI is an abbreviation for Digital Object Identifier, "a character string used to uniquely identify an object such as an electronic document[1]", kind of like a URL with more bureaucracy https://indieweb.org/DOI
#
Zegnat
Don’t do DOIs have a doi: scheme? I’d definitely use that.
#
KartikPrabhu
backs away from the academic-microformats rabbit hole
#
gRegorLove
I don't know much about DOI. So `<a href="doi:abcd/1234" class="u-uid">`?
#
KartikPrabhu
that won't be a clickable link ?
#
KartikPrabhu
or it won't do anything on click
#
jackjamieson
If it's a link I think it would have to be to doi.org to be clickable
#
KartikPrabhu
putting non-link things in a <a> is pretty bad
#
KartikPrabhu
or any other DOI resolver
#
gRegorLove
Right, bad example. The element isn't what I'm questioning, just the expected mf vocab for it in a micropub post, and ideally an example of it published.
#
jackjamieson
Alternatively, could treat the DOI the same as ISBN, so it would be up to the website to decide what to do with it
#
Zegnat
yeah, not sure I would href="" it. I am also trying to remember if the uid is supposed to be unique for the h-cite object, or for the thing the h-cite is expressing (i.e. the article)
#
Zegnat
but a uid of doi:abcd/1234 makes sense to me. I’d almost want to see isbn:1234 as well.
#
Zegnat
s/want/like/
tantek__ and [miklb] joined the channel
#
Zegnat
jackjamieson: `curl -vvv https://jgregorymcverry.com/` if you want to test from the server. The -vvv should give you very verbose logging, so you can see in case the server just drops the connection
#
Loqi
Author Greg McVerry
#
jackjamieson
Thanks Zegnat, I'm not sure I have ssh access on my hosting account but I'll see
#
Zegnat
Makes sense to me!
#
Zegnat
uid gets to be a URI “that uniquely/canonically identifies the cited work”. So doi:* sounds good :D
#
gRegorLove
I'm thinking I'll make a setting so you can enable the DOI field (disabled by default).
#
KartikPrabhu
why a setting? If it is blank then it is "unset"
#
gRegorLove
Mostly to avoid cluttering up the posting UI for people not using it. I'm not set on it, just thinking it through.
#
Zegnat
Have some sort of JS to let people switch the ISBN field to doi/possible future formats?
#
aaronpk
I had no idea DOIs were for books. I would have thought ISBN
#
KartikPrabhu
depends on if the DOI has been "registered"
#
aaronpk
So someone set up a new registry for things so they can get paid to register things?
#
KartikPrabhu
isn't that how most registries are
#
snarfed
mmm rent seeking
#
gRegorLove
"Who registers the registrars?"
#
snarfed
icann, obvs
#
gRegorLove
Can you? ;)
#
KartikPrabhu
"Hi this is a registry for registrars. Please fill this form to register"
#
jackjamieson
gRegorLove, I think that looks good!
#
Zegnat
Sorry, you have to be registered to talk to Zegnat. Please fill out this form.
#
skippy
signs up as Zegnat
[cleverdevil] joined the channel
#
jeremycherfas
DOIs can be for anything. My colleagues are trying to promote them for seed samples in a genebank.
#
KartikPrabhu
jeremycherfas: I thought DOI = Document Object Identifier not Object Object Identifier
#
sknebel
KartikPrabhu: a seed is just a weird encoding for a document describing how to make a plant? ;)
#
skippy
given that seeds predate human-created document formats, doesn't it make it a more canonical representation, than a weird one? ;)
#
KartikPrabhu
good time for -> #indiechat
#
KartikPrabhu
oop -> #indieweb-chat
[grantcodes] and [jgmac1106] joined the channel
#
[jgmac1106]
Thx @kevinmarks
#
Zegnat
gRegorLove, thing I learned today, if you want to stay really on-point, it should be info:doi/10.1109/5.771073 . info URIs based on RFC 4452. (That RFC appoint yet another registry for info URIs :P)
#
Zegnat
We heard you like registries so your registry can register for a URI at another registry!
#
Zegnat
Except the info registry seems to be currently unavailable for inspection, so no idea who else is registered
#
gRegorLove
Maybe I'll leave it to the user to enter the URI so I don't have to keep up with all that :) (mostly kidding)
#
Zegnat
doi does state this, I think on their FAQ, as their URI. Wikipedia also confirms it.
#
Zegnat
OCLC is running the registry (cf. https://www.oclc.org/research/themes/data-science/infouri.html) but the actual registry is currently unavailable: http://info-uri.info/
#
Zegnat
Now that all of that is part of the public record in the chat logs, I can drag myself out of the rabbit hole
jgmac1121, KartikPrabhu, chrisaldrich and [grantcodes] joined the channel
#
www.boffosocko.com
edited /exercise (+216) "John Johnson walks with maps"
(view diff)
#
jeremycherfas
!tell KartikPrabhu I thought it was a Digital Object Identifier. Which ought to have a hyphen between O-I.
#
Loqi
Ok, I'll tell them that when I see them next
jackjamieson joined the channel
#
Loqi
sknebel has 37 karma in this channel (102 overall)
snarfed joined the channel
#
KartikPrabhu
what is DOI?
#
Loqi
KartikPrabhu: jeremycherfas left you a message 6 minutes ago: I thought it was a Digital Object Identifier. Which ought to have a hyphen between O-I.
#
Loqi
DOI is an abbreviation for Digital Object Identifier, "a character string used to uniquely identify an object such as an electronic document[1]", kind of like a URL with more bureaucracy https://indieweb.org/DOI
#
KartikPrabhu
oh! yeah it is "Digital" oops
[miklb], leg and [kevinmarks] joined the channel
#
[kevinmarks]
Deliberately Obtuse Indentifier
[schmarty] joined the channel
#
skippy
Do any micropub authoring tools support an API? Rather than build in full micropub functionality to something like Miniflux, could Miniflux simply send a URL to a micropub client, allowing the user to then choose what to do with said link, sending it on to their micropub endpoint?
#
aaronpk
quill kind of does that
#
aaronpk
with replies and bookmarks
#
aaronpk
I think a couple others do too. Woodwind had a configuration option to set the URL pattern to use for that kind of thing
#
skippy
i'm about to open an issue on miniflux asking for micropub support, when I realized what I was going ot ask for was a full micropub client implementation. That's sure to be rejected.
#
skippy
but if I could pass a URL to a full micropub client, that's less lift and more likely to get traction.
#
aaronpk
do we have docs or screenshots on how that worked with woodwind? basically copy that pattern
#
aaronpk
here's the woodwind settings screen for that feature https://indieweb.org/File:woodwind-settings-2015-02-09.png
#
aaronpk
is that the right idea?
#
skippy
yes, but ideally with an existing hosted micropub client. :)
#
aaronpk
don't request that they hard-code it to a particular micropub client, that kind of defeats the purpose. it'd be great if you could plug in your own URLs for it to your own micropub client of choice
#
skippy
I'd like to use MIniflux for my reader, and be able to repost and reply-to things i consume there. I realize this is what microsub does, too, but I'm not sold on any microsub readers just yet.
#
skippy
aaronpk: yes, a configurable place to POST URLs, and that place can present options on what to do (like, repost, reply, etc)
#
aaronpk
yeah that's basically the exact feature woodwind implemented
#
GWG
Was Miniflux the one that abandoned its codebase in favor of a new one?
#
aaronpk
I think quill supports most of those actions with a url pattern
#
aaronpk
does this pattern have its own wiki page? could you maybe start one if it doesn't?
#
skippy
GWG: yes, miniflux was originally PHP with PDO database connectors. Now it's Go with only PGSQL support.
#
GWG
That made me pull back
#
skippy
aaronpk: the URL patten requires the interface in Miniflux to present specific actions in order to send to the right URL. I'm thinking something even less fancy, and more manual.
#
skippy
Miniflux would simply say "Send to micropub" or similar, and POST the data to a client. That client then presents the options it knows about for micropub.
#
skippy
GWG yes, it was a big change. But I still like Miniflux overall
#
aaronpk
ah like a generic action then the micropub client decides what particular responses to show for it? interesting
#
GWG
skippy: I pulled back to see what happened. I considered trying it
#
aaronpk
I started doing something similar to that with quill but for editing posts
#
aaronpk
you throw a URL at it then it figures out what the post is and redirects to the appropriate interface
#
skippy
clever.
#
aaronpk
feel free to file a feature request for that on quill for responses tho
#
skippy
aaronpk: how can i open the original URL of an item in Monocole?
#
skippy
oh, the date.
#
gRegorLove
On a similar topic, I just filed an issue to add that sort of query parameter pre-populate for indiebookclub.
#
gRegorLove
That would make it easier to create a bookmarklet to "read this" from say an Amazon page and it fills in the info.
#
gRegorLove
Yeah, Miniflux switched languages
#
gRegorLove
what is miniflux?
#
Loqi
Miniflux is minimalist feed reader software https://indieweb.org/Miniflux
#
aaronpk
also I dunno, long-term I think all readers need to turn into "social readers", and micropub is a good way to support that
#
aaronpk
but I agree that's a harder issue to open on a github repo :)
#
skippy
nods.
#
skippy
i want very much to read my Tweet stream in a reader through which I can easily interact with Tweets and POSSE.
#
skippy
I haven't taken that plunge just yet, though.
#
aaronpk
it's so nice having that in monocle
#
aaronpk
granary++
#
Loqi
granary has 2 karma in this channel (5 overall)
#
skippy
it requires me to create sane lists of twitterers i follow, though, which is daunting. :/
#
aaronpk
or search terms
#
aaronpk
tbh it's way better than following my whole main timeline
#
skippy
how is monocle on mobile? havent tried yet
#
aaronpk
great! looks like a small version of the desktop
#
aaronpk
the nav bar slides out from the side
#
snarfed
granary can follow your main feed too. doesn't require list or search
j12t joined the channel
#
skippy
snarfed: sure, but if i'm going to make a change, i might as well make an effort to provide a little more clarity to what i read. my friends are too often drowned out by prolific retweeters like William Gibson.
#
snarfed
sure. i read (and maintain) a list too, maybe 1/4-1/5 of my followers. way better.
#
skippy
switching gears, aaronpk, is there an endpoint to aperture to trigger a feed refresh? or is beanstalk the only way?
#
gRegorLove
Hmm, inoreader is doing that whitespace collapsing around links in my Atom feed as well.
#
gRegorLove
I thought this was just a bug with Feedly, but guess not?
#
aaronpk
skippy: no way to trigger a refresh yet. I need to add that tho for sure. It'll take a bit to pass that up the chain.
#
aaronpk
gotta actually set the next poll time in the watchtower DB for that to work
#
gRegorLove
I send webpub, so I wonder if superfeedr is doing something to it.
#
gRegorLove
The Atom feed definitely has spaces around the links, just double-checked