#dev 2019-02-24

2019-02-24 UTC
[dougbeal] joined the channel
#
[dougbeal]
Maybe I will write a php/WordPress overcast to listen translator
[tantek], [cleverdevil] and gRegorLove joined the channel
#
gRegorLove
tantek: confirmed Dreamhost PHP has Tidy and XSL modules. Or did you say XSLT?
#
gRegorLove
Let me know if there's other modules you want to check for
#
gRegorLove
actually this should tell you: there's phpinfo links for each version they have https://help.dreamhost.com/hc/en-us/articles/360001301686-Default-PHP-settings-at-DreamHost
[tantek] joined the channel
#
[tantek]
I think XSL includes XSLT
#
[tantek]
yeah, "--with-xsl" is the key option
#
[tantek]
interesting I wonder what the difference is between '--with-xsl=shared' and just ''--with-xsl'
#
gRegorLove
maybe that it's shared hosting
#
gRegorLove
Also found some details for compiling other modules on shared, so I know that's possible. There's even an article for compiling your own version of PHP and using that. https://help.dreamhost.com/hc/en-us/articles/217253537-Installing-ImageMagick-and-the-imagick-PHP-module-on-Shared-hosting
rayna joined the channel
#
[tantek]
what is Dreamhost
#
Loqi
DreamHost is a web hosting company https://indieweb.org/DreamHost
JVL1 joined the channel
#
[tantek]
found via rayna's site: https://html5up.net/ - responsive HTML5+CSS3 templates, cc licensed
#
aaronpk
Definitely going to use that next time I need to make a home page for a project website
[cleverdevil] joined the channel
#
[cleverdevil]
I used that for indiepaper.io
#
[cleverdevil]
It rules 😀
jjuran joined the channel
#
[tantek]
right? where do I put this?
#
[tantek]
what is HTML5
#
Loqi
HTML (HyperText Markup Language) is the language used to create web pages, thus one of the building blocks of the IndieWeb https://indieweb.org/HTML5
#
[tantek]
HTML5 << https://html5up.net/ - responsive HTML5+CSS3 templates, CC licensed
#
Loqi
ok, I added "https://html5up.net/ - responsive HTML5+CSS3 templates, CC licensed" to the "See Also" section of /HTML https://indieweb.org/wiki/index.php?diff=57255&oldid=55219
#
[tantek]
close enough
#
jacky
just be careful with those thin fonts - super hard to read on some devices (notably my laptop)
#
[tantek]
good point
chrisaldrich, tw2113, jon1 and iasai joined the channel
#
kisik21
Interesting. As soon as I moved my backend server from yuki (my RPi) to sakura (my laptop) it became a lot more speedy. Does it mean that I need more optimisations on the server side?
[eddie], [tantek] and iasai joined the channel
#
kisik21
!tell ben_thatmustbeme is syndication in Inkstone working? don't see any options
#
Loqi
Ok, I'll tell them that when I see them next
jjuran, [kevinmarks], [Rose], barpthewire, iasai, [tantek], strugee, kisik21 and jgmac1106 joined the channel
#
jeremycherfas
Looking for some assistance to convert a subscribe form for a mailing list to use a specific form builder.
#
jeremycherfas
As I understand it, that send the contents of a field named `bd-email` to the URL `https://buttondown.email/jeremycherfas`
#
jeremycherfas
But I don't understand what the `popupwindow` part does, because when I test the form, there is no popup, only the window itself.
#
jgmac1106
jeremycherfas…I am working on form building and lightweight data storage as well.//looks cool: https://buttondown.email/
#
jeremycherfas
The reason I want to use a different form, from FormCraft, is that I want thestyling of two different forms to be similar, and one of them I can only display using Formcraft.
#
jgmac1106
]bc your browser is probably default set to block popups?
#
jeremycherfas
No, that isn't it.
#
jgmac1106
can we just write the CSS to make it look llike Formcraft
#
jgmac1106
.ooh sounds like that is what you. are doing bc you have to use Formcraft
#
jeremycherfas
Not with the way widgets work in WP, because things get wrapped in all sorts of stuff like `aside` and so on
#
jeremycherfas
FormCraft gives me the opportunity to send the information to a custom URL, but at the moment I can't quite work out the details. And I cannot see the POST data that the original form is actually sending.
#
sknebel
jeremycherfas: for me that code opens a new window on submit
#
sknebel
does the browser console show anything for you?
#
jeremycherfas
Right; but I cannot see the content of the POST. Let me look again.
#
jeremycherfas
Actually, for testing purposes, I should be able to make a page that just contains the form, right?
#
sknebel
what do you mean "cannot see the content of the POST"?
#
jeremycherfas
The form collects an email and sends it to a sign-up page. I want to know what it is sending, so I can try to mimic that from inside FormCraft.
#
sknebel
a form submission with email=the email address and embed=1
#
sknebel
you can check it in dev tools in the network log of the new window. or remove the target="" attribute, then it'll submit in the same window
jgmac1106 joined the channel
#
jeremycherfas
Very helpful; thanks. I wonder what the embed does. Ned to mimic that in FormCraft and see.
[chaitanya] joined the channel
#
jeremycherfas
Interesting. FormCraft gts a certificate rror. I think I'm going to have to revrt to plan A and attempt some better styling.
#
jeremycherfas
And my keyboard needs cleaning.
swentel and [manton] joined the channel
#
@jgmac1106
↩️ https://davegoesthedistance.com goes next. He uses a ton of subdomains (me too!) Is redesigning is puzzle site, and looking at adding webmentions for answers....I think Dave needs to look into webmention badges. Also trying to eat every Taco in Fort Worth (https://quickthoughts.jgregorymcverry.com/s/1yUURN)
(twitter.com/_/status/1099648953308581888)
kisik21, [dave] and [chaitanya] joined the channel
#
[chaitanya]
Hi! I was looking for PHP based static website generators... are Sculpin and Jigsaw good options? Is there any other PHP based static site generators you would like to recommend?
#
[chaitanya]
[petermolnar_] Thank you so much!
jgmac1106, [jgmac1106] and [kevinmarks] joined the channel
#
[kevinmarks]
!tell Tantek if you're still looking for hosting, this link gives you a $20 credit at linode https://promo.linode.com/rocket/?utm_source=podcast&utm_medium=promo&utm_campaign=rocket
#
Loqi
Ok, I'll tell them that when I see them next
[tantek] joined the channel
#
[tantek]
Thanks Kevinmarks. I’m not ready to sign up for devops just yet :)
#
Loqi
[tantek]: [kevinmarks] left you a message 7 minutes ago: if you're still looking for hosting, this link gives you a $20 credit at linode https://promo.linode.com/rocket/?utm_source=podcast&utm_medium=promo&utm_campaign=rocket
#
[tantek]
Has anyone considered writing microsub "server" support clientside? so everything is save on your local device?
#
[tantek]
I mean cached* on your local device(s).
#
[kevinmarks]
You could run woodwind locally
#
GWG
I would do client side caching, but I wouldn't want my local device to be the only place I could access it
[grantcodes] joined the channel
#
[grantcodes]
[tantek] not sure a clientside sever would make much sense. But a client that reads and caches a server would probably be useful.
gRegorLove joined the channel
#
[tantek]
grantcodes a clientside server would make perfect sense is a pure p2p architecture
#
[tantek]
*in a pure p2p
#
[tantek]
e.g. imagine all the feeds you subscribed to had rel=alternate to ipfs or dat or some other p2p protocols as another way to retrieve them, and you could get them from your local network without even hitting the internet
#
[tantek]
wish I'd thought of this while Paul (of Beaker/Dat) was around yesterday
#
[tantek]
literally just woke up with this possibility
#
[grantcodes]
Ah ok, that was very different from what I was imagining from "support clientside"
jgmac1106 joined the channel
#
[kevinmarks]
There is a .well-known convention for dat equivalent
#
[kevinmarks]
Eg www.kevinmarks.com/.well-known/dat
gRegorLove_ joined the channel
#
[jgmac1106]
tried to get @mapkyca to stop in yesterday he has interesting plans for social readers and ifps
tbbrown, [davidmead], jgmac1106, gRegorLove, corntoole, [kevinmarks], kisik21, [jgmac1106] and [Rose] joined the channel
#
aaronpk
GWG I just realized that Quill uses indieauth-client-php and so it may actually require updating that library to return the profile info in order for Quill to get access to it
#
GWG
I'm checking that library now
#
GWG
You don't seem to actually strip anything from the return, just return it
#
aaronpk
ah great
#
aaronpk
wasn't sure
#
gRegorLove
aaronpk: This fixes the representative h-card test on indiewebify.me https://github.com/indieweb/indiewebify-me/pull/79
#
Loqi
[gRegorLove] #79 Fix representative h-card test
#
aaronpk
gRegorLove++
#
Loqi
gRegorLove has 14 karma in this channel over the last year (85 in all channels)
#
aaronpk
should be live
#
jeremycherfas
Well, it has taken the best part of the day, but I did manage to style my new sign-up form so that it more or less matches my other form.
#
jeremycherfas
Good enough, at any rate.
#
jeremycherfas
Just one remaining problem: how do you ensure that a form field is emptied when you reload a page?
#
sknebel
jeremycherfas: not sure that's easily possible. what's the use case?
#
gRegorLove
do you mean preventing autofill by the browser?
#
jeremycherfas
Saving myself from having the same email in the form if I reload after testing. I guess it doesn't really matter.
#
jeremycherfas
No, not autofill. If someone has typed and email and clicked submit, when they come back the email is still there. Although they get a message saying it all worked, I don't want them to click over and over again.
[tantek] joined the channel
#
sknebel
I don't think there's a good solution to that.
#
jeremycherfas
OK. I can accept that.
#
jeremycherfas
And though moving from MailChimp to Buttondown might not be the greatest silo escape ever, it does feel good.
#
sknebel
is it like your example form where the confirmation opens in a new window?
tomasparks joined the channel
#
sknebel
then you could have the JS also show some indication that the form already has been submitted
jgmac1106 joined the channel
#
jeremycherfas
I put back the target=popupwindow because it actually functions much better that way for a visitor who wants to sign up.
#
sknebel
hm, I'm not quite sure why they did it that way and not with target="_blank" now that I think of it
#
sknebel
anyways, you could use the onsubmit javascript to e.g. show a "submitted" label after the button
#
jeremycherfas
No idea. I can ask the developer. He's really responsive, but I didn't want to bother him on a Sunday.
#
jgmac1106
jeremycherfas when you build a form you also build a thank you page, can you get the same variables on the thank you page and check what is submitted that way?
#
jeremycherfas
Would you mind just trying it for me; no need actually to sign up. The form is at the bottom right of this page https://www.eatthispodcast.com/how-to-subscribe/
#
jgmac1106
worked fine
#
jgmac1106
sent me confirmation email
#
jeremycherfas
I could, but as they get an opt-in email, I'm hoping that's enough. The Thank you page has to contain some sort of GDPR wordage.
#
jeremycherfas
(It doesn't exist yet!)
#
jgmac1106
that is slick, I would also recommend snipcart as an option for transactions
#
jeremycherfas
That's great. Thanks [jgmac1106]++
#
Loqi
[jgmac1106] has 12 karma in this channel over the last year (118 in all channels)
#
sknebel
fwiw, removing the onsubmit="" and changing the target to "_blank" works the same to me. so I'd be curious why they did it that way
#
jeremycherfas
I'll try and remember to ask.
#
jgmac1106
jeremycherfas I don’t understand why the digests that you can send to subscribers through WP weekly digests cant be a newsletter but I only had a few hundred subscribers maybe it gets heavy
#
jeremycherfas
But there are a gazillion newsletter plugins, aren't there?
#
jgmac1106
this was my attempt: https://jgregorymcverry.com/opensourceblogging.html I need to do better media queries but taking it slow
#
Loqi
[Greg McVerry] Blogging and Open Source Communities
#
jgmac1106
yeah but I didn’t do anything, to send to subscrivers, though you couldn’t select by post kinds that would have been killer
#
jgmac1106
I lost a ton of my subcribers when I started doing notes from WP
#
jgmac1106
gRegorLove++ this is great
#
Loqi
gRegorLove has 15 karma in this channel over the last year (86 in all channels)
[Rose] joined the channel
#
@jgmac1106
↩️ Hey #IndieWeb would it be easier to just use form onSubmit="WriteToFile(this) to a txt file or document.getElementById("demo").innerHTML..and now I am just walking in circles as I need to settle on a direction...or just demo webmention badges (https://quickthoughts.jgregorymcverry.com/s/1oUS9w)
(twitter.com/_/status/1099738217543319553)
#
jgmac1106
surprised there isn't a markdown micropub client, that was the thing, once I was using indigenous I rarely touched the editor to publish
#
jgmac1106
oops wrong channel
#
jgmac1106
or LowDB database playing with node.js but if I can do this in HTML would prefer
#
jgmac1106
HTML partials…new thing to Google
kisik21 joined the channel
#
jacky
jgmac1106: Quill passively supports markdown; my site supports it and that's how I've used it
#
dougbeal
jacky: passive meaning no WYSWIG, but passes it through fine?
#
gRegorLove
what is Mailchimp?
#
Loqi
MailChimp is a service for sending emails https://indieweb.org/MailChimp
#
gRegorLove
What is Buttondown?
#
Loqi
It looks like we don't have a page for "Buttondown" yet. Would you like to create it? (Or just say "Buttondown is ____", a sentence describing the term)
#
jacky
dougbeal: yup!
#
jacky
Buttondown is a hosted newsletter service designed for personal use.
#
jacky
what is Buttondown
#
Loqi
Buttondown is a hosted newsletter service designed for personal use https://indieweb.org/Buttondown
#
Loqi
ok, I added "https://buttondown.email/" to a brand new "See Also" section of /Buttondown https://indieweb.org/wiki/index.php?diff=57328&oldid=57327
KartikPrabhu, tbbrown, [dave] and swentel joined the channel
#
@jgmac1106
well gonna call it quits and demo my updates on webmention badges....I have littered the web with my failed attempts to simply have an html form publish a guestbook on my wesbite. form building should be "hello world" but I not ready. Got closeish… https://quickthoughts.jgregorymcverry.com/2019/02/24/well-gonna-call-it-quits-and-demo
(twitter.com/_/status/1099757592870572034)
[schmarty] and [jgmac1106] joined the channel
#
GWG
swentel: Just found a new Microsub issue
#
swentel
reading it :)
#
swentel
we actually talked about this one already
#
swentel
but forgot about it
#
GWG
swentel: Did we?
#
GWG
I thought we talked about when it was a URL
#
GWG
Not a name
#
GWG
Which means, since an author property can be either URL or name...
#
GWG
You'd have to account for both
#
aaronpk
wait what
#
swentel
well, in a way I don't care if the content of the property is a name or string I guess
#
GWG
aaronpk: The author property in JF2...it doesn't have to be an object, does it?
#
aaronpk
it is supposed to always be an object
#
GWG
Okay. My fault
#
GWG
WIll fix
#
aaronpk
if you only know the URL then return an object with only the URL
#
swentel
ok, closing issue then :)
#
GWG
I was thinking of JF2, not the Microsub spec on it
#
aaronpk
yeah the jf2 spec is possibly a bit out of date compared to what microsub is doing with it
#
GWG
aaronpk: Thanks, going to do some bug fixes
#
aaronpk
in general we're trying to reduce the number of different ways things happen with microsub
#
swentel
that's a good thing
#
GWG
I withdraw my objection
#
swentel
having to account for different values is always painful
#
dougbeal
Anyone use Nginx with multiple server_name's and letsencrypt? I have broken something and letsencrypt is mad :(
#
GWG
swentel: Fixed
#
dougbeal
Also runing in Docker
#
GWG
swentel: The article handling in Indigenous is not ideal though
#
swentel
GWG, you mean with the 'read more' button ?
#
GWG
swentel: Well, I'm pulling the full content from the RSS feed.
#
swentel
yeah, I'm not too happy with that part either
#
sknebel
dougbeal: what's the problem?
#
GWG
swentel: I'm wondering if I should do something with it on the backend
#
swentel
GWG, not yet, going to experiment with some things first
corntoole joined the channel
#
sknebel
but you have set a location block for it or it inside your webroot?
#
jgmac1106
I would like if “p-summary” show that and read more,…..for rss well that it 17 flavors of soup
#
dougbeal
sknebel: I have a location block for it in each server_name
#
sknebel
permissions set?
#
sknebel
can you put a bit of the config in a gist?
#
sknebel
(really basic: remembered to reload nginx? happened waaay to often to me...)
#
dougbeal
the owner looks the same, does execute permissions matter?
#
sknebel
for the directory
[dougbeal] joined the channel
#
[dougbeal]
I think I was moving mount points around to have multiple sites, I will start there
#
sknebel
and you have /.well-known/ subfolder?
#
dougbeal
sknebel: yeah, has test.html and keybase.txt
#
sknebel
no obvious idea, but I also don't entirely understand how all your docker pieces go together in the end
#
sknebel
wait, try without the \ escape on the .
#
sknebel
^~ isn'ta regex afaik
#
jacky
dougbeal: I do
#
jacky
what's up?
#
dougbeal
Looks like ^~ disables regex
#
jacky
what version of nginx are you on?
#
jacky
and I might be speed reading this wrong but this: "A location can either be defined by a prefix string, or by a regular expression. Regular expressions are specified with the preceding “~*” modifier (for case-insensitive matching), or the “~” modifier (for case-sensitive matching). " seems to indicate that only * is regex-friendly
#
jacky
latest okay
#
dougbeal
That was it, the .
#
dougbeal
rather, then \.
#
dougbeal
I wonder how it every worked?
#
gRegorLove
woo, completed my IWC projects and posted about them before demos even :)
#
GWG
I let aaronpk get inside my head
#
dougbeal
sknebel++
#
Loqi
sknebel has 41 karma in this channel over the last year (102 in all channels)
#
dougbeal
jacky++
#
Loqi
jacky has 10 karma in this channel over the last year (43 in all channels)
#
dougbeal
I can haz ssl again! ;)
#
gRegorLove
dougbeal, we fixed a small indiewebify.me issue that was saying your h-card was representative when it was
#
gRegorLove
*wasn't representative when it *was*
[kevinmarks] joined the channel
#
dougbeal
gRegorLove: nice
#
dougbeal
gRegorLove++
#
Loqi
gRegorLove has 16 karma in this channel over the last year (87 in all channels)
#
dougbeal
Does serving mp3 files require anything special in the way of nginx config?
#
jacky
just another binary file
[jgmac1106] joined the channel
#
Loqi
[Greg McVerry] well gonna call it quits and demo my updates on webmention badges....I have littered the web with my failed attempts to simply have an html form publish a guestbook on my wesbite. form building should be "hello world" but I not ready. Got closeish: t...
#
[jgmac1106]
[dougbeal] look at your double webmention. One from Twitter coming in as Gravatar have seen this from [mrkrndvs] as well
#
dougbeal
jgmac1106: I marked up the links and send again, and enabled twitter the second time
#
dougbeal
jgmac1106: so its an update ;)
iasai, [asuh], [jgmac1106], rayna, [dave], [gRegorLove] and KartikPrabhu joined the channel