#dev 2019-04-08

2019-04-08 UTC
chrisaldrich and [jgmac1106] joined the channel
#
jacky
what is generator
#
Loqi
giving credit is a collection of cultural practices related to acknowledging and attributing text, hyperlinks, quotes, utterances to others, typically by name, as a way of recognizing their contribution(s) https://indieweb.org/generator
#
jacky
looking for a property to store info about the tool used to make a post
#
jacky
like generator or publisher
#
jacky
doesn't seem like it
#
jacky
checks the main wiki
[eddie] joined the channel
#
[eddie]
What is using?
#
Loqi
using is the name of an authoring and/or publishing application, or can also be a page of tools and services that someone uses or likes to use https://indieweb.org/using
#
[eddie]
jacky 👆
#
[eddie]
On all of my posts it says “posted using X app”
#
jacky
'using' wasn't the first thing that came to mind
#
jacky
[eddie]: you got an example post?
#
jacky
wait you said all posts lol
#
jacky
hmm interesting
#
jacky
I think I'll mark it up as `u-x-published-using` for now
#
jacky
or maybe `u-generated-with`
#
[eddie]
👍 sounds good. It’ll be interesting to see where/how it shakes out. I’ve seen a couple different approaches to the terminology
gRegorLove joined the channel
ingoogni, gRegorLove and cweiske joined the channel
#
Zegnat
jacky: just a first thought but generated sounds like the CMS that outputs the final HTML, while published could be the tool used to send the data to the CMS with?
#
Zegnat
That would also make sense for generator meta vs a published-using post property
#
aaronpk
Also another reminder that there is little value in publishing an mf2 property without an expected consuming use case
#
aaronpk
I store that outside of my mf2 data since its part of the auth token data really. It's stored internally as "client_id"
#
jacky
I was planning to show it as a little icon in my reader
[audioundergroun joined the channel
#
jacky
but that seems to be machine-to-machine in that case
[tantek] and swentel joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
swentel
!tell [eddie] The new for Android is live. Feel free to set a redirect https://indigenous.abode.pub/android/ to https://indigenous.realize.be/
#
Loqi
Indigenous for Android
#
swentel
aaronpk, if you're interested in a new feature for aperture. Optional push notifications https://indigenous.realize.be/push-notifications - users can enter an API token to get notified for new content, maybe even per channel. But I'll let you decide of course :)
#
Loqi
How does it work? Login with IndieAuth on this site to create an account and get an API token. Use the same account you register with in the app. Go into settings in Indigenous and click on 'Setup push notifications' to register your device. Use ...
ketudb[m], KartikPrabhu, tomasparks, GWG and [jgmac1106] joined the channel
#
[jgmac1106]
swentel++
#
Loqi
swentel has 31 karma in this channel over the last year (50 in all channels)
#
GWG
Morning
#
Loqi
*yawn* ... /stretch/
#
[jgmac1106]
morning gwg
#
GWG
I'm always excited when swentel releases something new
#
swentel
I hope it works :)
#
[jgmac1106]
i am excited about especially granular control, I only allow notifications from 1-3 people
#
GWG
I think I need to reset a week's worth of work and start smaller
#
[jgmac1106]
I am stuck somewhere in here...https://github.com/jgmac1106/guestbook/blob/master/guestbook.php back to the drawing board...thought I could use PRINT to save to a text file
#
[jgmac1106]
ohh well off to work
#
GWG
Looking at per media type rules in webmentions
#
GWG
Most of the code I found searches for the string
#
GWG
Is anyone taking the recommendation?
#
swentel
hmm yeah, I just search for the url on the page too
[eddie] joined the channel
#
[eddie]
!tell swentel Redirect set up. Congrats! Let me know if you notice any issues with the redirect but it should be all set
#
Loqi
Ok, I'll tell them that when I see them next
#
swentel
[eddie], looks like https://indigenous.abode.pub/android/ isn't catched (without trailing slash it does)
#
Loqi
swentel: [eddie] left you a message 1 minute ago: Redirect set up. Congrats! Let me know if you notice any issues with the redirect but it should be all set
#
Loqi
Indigenous for Android
#
[eddie]
Oh how strange!
#
swentel
maybe it was browser cache
#
swentel
seems to be fine now in anonymous
#
swentel
hmm no
#
[eddie]
Ohh I see what I did wrong
#
[eddie]
Okay should be all set now
#
swentel
yep, works now, thanks :)
#
[eddie]
My pleasure. Congrats on the new release!
#
swentel
thanks :)
#
swentel
got one push notification so far hehe
#
swentel
I hope it works for others, testing the registration is tricky stuff
#
swentel
at pushy.me that is, not at my backend
eli_oat joined the channel
#
[eddie]
Yeah, I imagine that is. My planned tech push platform is Amazon Push, but same thing, it'll be interesting to try to test the push notifications with various people and devices
#
Zegnat
GWG, I was following the recommendation for webmention verification: using an HTML parser
#
Zegnat
That lead me to start an issue/discussion on the spec about what HTML attributes should be considered “links”
#
Zegnat
!tell jgmac1106 print in PHP is just an alias for echo, it will write to the output buffer (which is usually what you send to the browser)]
#
Loqi
Ok, I'll tell them that when I see them next
[kenbauer] and [jgmac1106] joined the channel
#
[jgmac1106]
Thx Zegnat maybe I messed up then putting the echo inside of print.. Will be back at it the morning
#
Loqi
[jgmac1106]: Zegnat left you a message 2 minutes ago: print in PHP is just an alias for echo, it will write to the output buffer (which is usually what you send to the browser)]
[kim_landwehr] joined the channel
#
[kim_landwehr]
@swentel I have started to use Indigenous for Android with Aperture but when I log in my channels are not loading, all I get is an "check your internet connection". What should I look for?
#
swentel
[kim_landwehr], hmm interesting, can you see if Indigenous has found the microsub endpoint ? If you go to 'Accounts' (in Indigenous itself)
#
swentel
there should be section listing the endpoints
#
swentel
[kim_landwehr], ooh, I see what's wrong, you have two microsub endpoints .. I know that's a bug in Indigenous, it can't find it then
#
[kim_landwehr]
@swentel thanks does it matter which one I keep?
#
swentel
[kim_landwehr], do you use both ? If not, then I'd remove the one that's not used in the header links.
#
swentel
when there's only one, Indigenous will pick it up then (you can refresh in the accounts the section)
snarfed, rMdes, ingoogni, swentel, [kenbauer] and gRegorLove joined the channel
#
jacky
jgmac1106[m]: are you trying to make a file download in the browser?
#
jacky
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition is the header you'd want to send with the file data jgmac1106[m]
snarfed and [jgmac1106] joined the channel
#
[jgmac1106]
jacky I was trying to save the data to the text file and then print that same data to the guestbook....close....
#
Zegnat
!tell GWG re: extracting links from HTML (e.g. for webmention verification) here is some code: https://github.com/Zegnat/php-linkextractor
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[Zegnat] php-linkextractor: Class for finding all resources an HTML document links to.
snarfed and rMdes joined the channel
#
GWG
Zegnat, I had that bookmarked
#
Loqi
GWG: Zegnat left you a message 8 minutes ago: re: extracting links from HTML (e.g. for webmention verification) here is some code: https://github.com/Zegnat/php-linkextractor
#
Zegnat
flattered!
dougbeal|mb1, [kenbauer], [grantcodes], jackjamieson, [dougbeal], Kaja, [jz], [kevinmarks], snarfed, KartikPrabhu, [jgmac1106], ingoogni and [eddie] joined the channel
#
[eddie]
sknebel++
#
Loqi
sknebel has 42 karma in this channel over the last year (109 in all channels)
#
[eddie]
I think I'm on to something with my serverless Media Endpoint! The whole load balancer suggestions from sknebel led me to looking at CloudFront, and it seems like (not all testing is complete yet) I might be able to redirect from the media endpoint to the s3 bucket for file uploads if a POST request is coming in
#
[eddie]
I still don't know if I will run into any issues redirecting a POST file upload, but :crossed_fingers:
#
[eddie]
there is hope again
#
[eddie]
it gives me a single media endpoint url that doesn't expire again, that can sign and return a temporary s3 upload url for the single file
Johan1, velcrovan and eli_oat joined the channel
#
@jaroslawjarosik
↩️ And in future (probably far) I want to create Microsub client using this UI, earlier tried playing with Feedly and TT-RSS but their APIs aren't really the most friendly things, especially that TT-RSS lacks article removal
(twitter.com/_/status/1115358343797837825)
chrisaldrich joined the channel
#
@DenMcH
I'm wondering if I actually have webmentions set up correctly. Do they even work with tweets? Time to find out by linking to a post about relative font weights: https://denmchenry.com/posts/relative-font-weights-considered-harmful/
(twitter.com/_/status/1115367532779593728)
[jgmac1106], snarfed and [kenbauer] joined the channel
#
@DenMcH
↩️ Well, I have webmentions halfway working. Just not pulling them into the static site yet. Stumped.
(twitter.com/_/status/1115381839307268096)
snarfed, KartikPrabhu and [tantek] joined the channel