#dev 2019-02-17

2019-02-17 UTC
[davidmead], snarfed, [kevinmarks], Dhewy, [tantek], [jgmac1106], jjuran, [dhewya16], ichoquo0Aigh9ie and [schmarty] joined the channel
#
[schmarty]
my contribution to read posts has yet to be realized and currently just redirects to a related improv project: bloodreads.com
[dave], [pfefferle], KartikPrabhu, [jgmac1106], kisik21 and leg joined the channel
#
Zegnat
petermolnar: re the HTML dropin EU thing; I’d use a <button> rather than <a> for the close button, it isn’t a link leading anywhere.
#
Zegnat
You could also drop an aria-label="Close" or something on there
#
Zegnat
Oh this is interesting! Nice way to get some input on code changes you are thinking about: https://github.blog/2019-02-14-introducing-draft-pull-requests/
[jgmac1106] and jgmac1106 joined the channel
#
jgmac1106
does anyone have a second to tell me what I am doing wrong with this php contact form: https://gist.github.com/jgmac1106/0f444e893ef4f3d22ec8aff55ed8da32
#
petermolnar
apart from not filtering any user input, I don't see any immediate issues
#
[jgmac1106]
me neither, lemme go live and see if it works
#
jgmac1106
works fine…of course it didn’t work inside of Glitch..would need a container to run the php on node.js …maybe?
[dhewya16] joined the channel
#
Zegnat
Probably. Node.js is definitely not going to run PHP code natively
#
Zegnat
`$mailheader = "From: $email \r\n";` is an extremely dangerous line of code btw. As it allows the person submitting the form to add any headers to the email they want
#
petermolnar
all of them with infiltered user input is dangerous
#
petermolnar
please don't put this into live production
#
Zegnat
Theoretically I think mail() does validation on subject. I don’t know about message, if that accepts multi-mime messages it definitely requires filtering input, else that seems fine.
#
Zegnat
But the mail headers definitely require input filters
swentel, jgmac1106 and cjwillcock joined the channel
#
GWG
I fixed my feed consumption so now in Indigenous I see a smiling aaronpk
#
GWG
I wish someone else was posting frequently enough for me to test
#
swentel
yeah, only my indieweb channel has the most faces
#
[jgmac1106]
gwg follow me or chrisaldrich
#
GWG
jgmac1106, which url is your firehose?
#
GWG
swentel, do you have a list of what properties Indigenous tries to use as part of the display?
#
[jgmac1106]
https://quickthoughts.jgregorymcverry.com/ choose mf2 unless testing json or rss I can pass those along
#
GWG
I am testing mf2 right now
#
swentel
until line 397
#
[jgmac1106]
i post 75 times a day, you will have plenty to test, you can also filter through content types if you need to test specific post types
#
swentel
GWG, I'll post an 'ideal' mf2 json from my feed, one second
[tantek] joined the channel
#
GWG
You put feed on a lot of things
#
swentel
GWG, this is what the drupal module returns as a response: https://gist.github.com/swentel/59027d26f0b87895afc002d0b19eb4da
#
swentel
(it's basically what xray is parsing)
#
swentel
+ _id and _is_read
#
GWG
swentel, does it show syndication links then?
#
GWG
jgmac1106, it gets your site well
#
[jgmac1106]
its because I use Known
#
swentel
GWG, indigenous doesn't show syndication links yet
#
swentel
same for categories
#
swentel
still need to add that
#
swentel
but not sure where to put them, as some people add a lot of categories :/
#
[jgmac1106]
omg doing an instagram import now....categories #every #other #word
#
swentel
also not sure yet if it's useful anyway to show them
#
[jgmac1106]
yeah if stuff goes away after 14 days no need
#
swentel
because sometimes they are also linked already in content['html']
#
[jgmac1106]
if there was paid long term storage and I could click and see category in my reader, then within specific groups, federation levels...I try to link to any of my hashtags ans use p-category and rel="tag" on them
#
[jgmac1106]
even if they go no where now...figure one day they should...and I'd rather drop in the link
#
[jgmac1106]
swentel if you could get Drupal to handle hashtags way Known does it is super useful
#
swentel
drupal has a link to tags listing all content then tagged with it
#
[jgmac1106]
gwg Known can provide good example but it has all the metadata and since you can add plugins a note that is 5 lines of HTML ends up 500 lines...but page weight still small
#
[jgmac1106]
I still want to do a vHWC where you record walking me installing and launching Drupal
#
[jgmac1106]
back to making more h-products.....
#
[jgmac1106]
which means I am a perfect example of p-category being hard because sometimes a hashtag is also the identity of a group and used inside content
#
@jgmac1106
@mapkyca https://tantek.com I just logged into the Twitter web client....the threaded tweet UI is perfect, exactly what I meant for threaded replies, webmentions. I never use Twitter, just tweetdeck or my reader, but good design to borrow from here. (https://quickthoughts.jgregorymcverry.com/s/BfhCR)
(twitter.com/_/status/1097138744463888387)
#
@jgmac1106
I think I need to remove all url unfurling from @withknown. It looks real pretty but I often use someone's url to @ mention them using webmentions....The content of the post is not about that url at all. (https://quickthoughts.jgregorymcverry.com/s/1XAw0N)
(twitter.com/_/status/1097139022240075776)
#
[jgmac1106]
I hate the new Twitter developer process...every time, the first email they send you they ask you to answer the same four questions you answered in your application
#
[jgmac1106]
wonder if it is a bot test or just auto generated stupidity
#
sknebel
I never got any response. should maybe try again then
jgmac1106 and [davidmead] joined the channel
#
[davidmead]
just realized brdi.gy hasn’t been seeing any web mention targets for phots syndicated from instagram to my known blog for 14 days now
#
[davidmead]
actually 27 days 😞
#
[jgmac1106]
davidmead, do this, rollback to 0.9.9, see what happens
#
[jgmac1106]
also uninstall any additional media plugins down to the photo.
#
sknebel
[davidmead]: try resending them from bridgy UI
#
sknebel
(I just tried a random one, that worked)
snarfed joined the channel
#
sknebel
and when you post the next picture, check the bridgy logs for what's going on
#
sknebel
(or ask us to help check)
jgmac1106 joined the channel
#
[jgmac1106]
davidmead the last seven I mported have no interactions either but I have no idea what the expectations are for behavior, welcomt o bounce off of mine and test back and forth if content won't cause too much context collapse
#
[jgmac1106]
<--goes to check if there are bri.gy settings
#
[jgmac1106]
I didn't know that you needed Brid.gy and OYG together....
#
snarfed
you don't for backfeed. OYG is just for PESOS, since bridgy doesn't do IG POSSE
#
[jgmac1106]
will this cause issues? Brid..gy needs this as the profile in Instagram: https://blog.kevo.glass/profile/kevo but your gram would need the domain
#
snarfed
bridgy only needs that during signup. OYG probably too. so you could probably change it during each's signup
#
[jgmac1106]
yep works, thanks...think the etsygram crowd is next
#
[jgmac1106]
snarfed++
#
Loqi
snarfed has 56 karma in this channel over the last year (100 in all channels)
#
[jgmac1106]
aaronpk++
#
Loqi
aaronpk has 79 karma in this channel over the last year (253 in all channels)
#
[jgmac1106]
for being SPO and making this easy
#
snarfed
[davidmead]: part of the problem is that some of your IG posts aren't on your site at all
#
[davidmead]
snarfed - i know I have 5 still “trapped” in OYG as my Known install and it seem to error out and then randomly let one through
#
snarfed
heh ok
#
snarfed
on an unrelated note, for those of you who podcast, i'm looking at converting mf2 to rss with enclosures
#
GWG
snarfed, Bridge all the Things
#
snarfed
mostly done, but one last part we don't have in mf2 yet is a property for the audio file's exact length in bytes
#
GWG
snarfed, propose one?
#
[jgmac1106]
https://stuffedworld.dogzone.com is you can do it to Apples flavors of RSS...the categories...PITA
#
[davidmead]
jgmac1106 do you have a link to the 0.9.9 build? marcus just has the 0.9.9.a builds on his site
#
snarfed
GWG: nowhere near that yet
#
GWG
I need to fix my podcast RSS.
#
snarfed
in RSS, the <enclosure>'s length attribute is exact byte length, and it's required
#
GWG
It is a direct mf2 extraction
#
snarfed
aaronpk publishes file sizes for percolator in a p-size attr, but they're only approximate, eg '8.88mb'
#
[davidmead]
sknebel where in the bridgy UI do I resend?
#
snarfed
[davidmead]: "Resend for post" on https://brid.gy/instagram/davidjohnmead
#
snarfed
either silo url or your web site post url
#
[davidmead]
thx snarfed
#
snarfed
gregorLove does the same approximate size thing on http://latenighttoast.com/
#
[davidmead]
that seems to be pulling them in
#
[davidmead]
snarfed++
#
Loqi
snarfed has 57 karma in this channel over the last year (101 in all channels)
#
snarfed
sorry for the hiccough [davidmead]!
#
snarfed
!tell aaronpk,cleverdevil,GWG,schmarty,jgmac1106,chrisaldrich,eddiehinkle hey podcasters, we don't yet have exact audio file size (in bytes) in mf2. how should we represent that? i'm looking at converting to RSS, where it's required. more: https://chat.indieweb.org/dev/2019-02-17#t1550418872983700
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[snarfed] on an unrelated note, for those of you who podcast, i'm looking at converting mf2 to rss with enclosures
#
aaronpk
Good morning
#
Loqi
guten morgen
#
aaronpk
This sounds kind of like the additional properties we've brainstormed for photos or video files too
#
aaronpk
like including the dimensions of an image
#
Loqi
[jgmac1106]: snarfed left you a message 5 minutes ago: hey podcasters, we don't yet have exact audio file size (in bytes) in mf2. how should we represent that? i'm looking at converting to RSS, where it's required. more: https://chat.indieweb.org/dev/2019-02-17#t1550418872983700
#
[jgmac1106]
Also going to add a dead simple guest book that makes an h-card for people with a note
#
[jgmac1106]
Forget manual till hit hurts Sawyer till sunset
[schmarty] joined the channel
#
[schmarty]
snarfed: what about peeking at the actual file and grabbing the Content-length header? 😬
#
Loqi
[schmarty]: snarfed left you a message 6 minutes ago: hey podcasters, we don't yet have exact audio file size (in bytes) in mf2. how should we represent that? i'm looking at converting to RSS, where it's required. more: https://chat.indieweb.org/dev/2019-02-17#t1550418872983700
#
[schmarty]
snarfed++ for looking to bridge mf2-to-RSS!
#
Loqi
snarfed has 58 karma in this channel over the last year (102 in all channels)
#
aaronpk
Another question is what do podcast apps do with the size property?
#
aaronpk
I know some show it to the user which is why I made mine human readable
[chrisaldrich] joined the channel
#
[schmarty]
I am probably being naive but I imagine most podcast apps end up dropping it on the floor
[pfefferle] joined the channel
#
[jgmac1106]
Pocketcast displays it under download
#
[schmarty]
Like what is the consequence for a publisher if they put in the wrong byte count? A podcatcher is gonna make an http request for the file and that's going to be the real byte count, no matter what the enclosure attribute says.
#
[jgmac1106]
The file size
#
[jgmac1106]
I do it all the time nothing
#
[schmarty]
jgmac1106: displays it before you download?
jgmac1106 joined the channel
#
[schmarty]
Overcast doesn't seem to show it
#
[jgmac1106]
iPhone pwners rich enouigh not to worry about data
snarfed, swentel and eduardm joined the channel
#
snarfed
thanks all!
#
snarfed
btw aaronpk you actually only have human readable size (eg 1.23mb) in your mf2. you put exact byte length in your RSS enclosures, which follows the spec
#
snarfed
i like the idea of HEADing files to get their size, but sadly it's not realistic for feeds with dozens of episodes
#
snarfed
i might try size="" (ie blank) and see if that validates in itunes etc
#
snarfed
itunes seems happy with length either blank or missing entirely
#
[jgmac1106]
Not an mf2 issue but I need to redo my mf2 podcast pages so the CSS grid is implicit and I don't need change properties every episode
#
[jgmac1106]
... But mf2->rss be awesome... I just gave up manual hurt too much
dmcweeney joined the channel
#
GWG
swentel, new feature works. Query is working to spec, but need to fix parsing of geo for new property.
#
Loqi
GWG: snarfed left you a message 1 hour, 39 minutes ago: hey podcasters, we don't yet have exact audio file size (in bytes) in mf2. how should we represent that? i'm looking at converting to RSS, where it's required. more: https://chat.indieweb.org/dev/2019-02-17#t1550418872983700
#
swentel
GWG, ok cool
#
swentel
ah right the 'name' property
#
swentel
going to add that to the drupal micropub module too
[dougbeal] joined the channel
#
[dougbeal]
I think the size is used to fake the progress bar when streaming. One of the things that can cause it to jump around if incorrect.
#
GWG
swentel, I have some future ideas
#
GWG
swentel, I have a proposed ideas of private zones. For example, if you query a location inside the zone, it would automatically return a visibility parameter you could set by default
#
GWG
swentel, also the geo uri lacks a u property
#
GWG
Thanks for all the location work, by the way
#
GWG
swentel++
#
Loqi
swentel has 22 karma in this channel over the last year (41 in all channels)
#
swentel
no problem, it's fun todo
#
swentel
brings me closer to add 'checkin' to both indigenous/drupal
#
GWG
swentel, I hope to get there. The geo query has an option to return suggested nearby venues. I had that in mind
#
swentel
GWG, assumed that, totally on board with that
#
GWG
swentel, what Micropub features are high on your list?
#
swentel
GWG, multiple upload of pictures in indigenous, finish q=source
#
GWG
I would implement a feature you add to Indigenous that I didn't yet support
#
swentel
which one?
#
GWG
swentel, any arbitrary ones.. Nothing specific
#
swentel
oh hehe
#
swentel
audio/video is probably next, and also sending published date (finally)
#
GWG
I ran afoul of that one when I left my timezone
#
swentel
oh yeah, timezone stuff
#
swentel
mm in london next week, ideal moment to check that
KartikPrabhu joined the channel
#
swentel
other than that, I'm pretty happy with micropub right now on both sides
#
swentel
adding probably read post type will happen at some point too
#
swentel
not sure if other ones are really missing atm
#
GWG
swentel, query for supported queries, properties, and post types?
#
swentel
post-types is supported by indigenous already
#
GWG
swentel, the supported queries and properties would cut the settings page
#
swentel
mm true
#
GWG
But it is a proposal people liked, I think Eddie got the benefit, but I think only I send it right now
#
swentel
oh, didn't know that
#
GWG
Got to start somewhere
#
Loqi
[dshanske] #7 Query for Supported Queries
#
GWG
But you can query and hide the settings if present
#
swentel
Indeed. Does it also contain 'location-visibility' in a 'properties' array for instance ?
[tantek] joined the channel
#
GWG
swentel, yes
[jgmac1106], snarfed, snarfed1 and snarfed2 joined the channel
snarfed1 joined the channel
#
[tantek]
Anyone know if Bridgy Publish to Twitter supports alt text on photos?
#
[tantek]
(couldn't find anything about it in the docs either way)
#
KartikPrabhu
[tantek]: we added alt-parsing in mf2py for that use-case, not sure if it is incorporated
#
[jgmac1106]
Will test now
#
KartikPrabhu
[tantek]: according to resovled issue https://github.com/snarfed/bridgy/issues/756 yes!
#
Loqi
[miklb] #756 Support for alt text on images posted to Twitter (blocked on mf2py)
[chrisaldrich] joined the channel
#
[jgmac1106]
If you do a photo post you can't enter alt text so that is moot point.
#
KartikPrabhu
why can't you enter alt text on a photo post?
#
KartikPrabhu
do you mean on twitter or some micropub client
#
[tantek]
[jgmac1106] do you mean on Known in particular?
#
[tantek]
[jgmac1106] also did all your old permalinks from WordPress break? e.g. * http://jgregorymcverry.com/6851-2/
#
[tantek]
(from that github issue)
#
[jgmac1106]
Yeah not sure what happened... After doing at that work to write redirects... Need to go see if file got overwritten or what happened
snarfed and snarfed1 joined the channel
#
@Petersell
My wish: posting photos from my cms @withknown to pixelfed - or just the other way round. Up to now I am using instagram to post on my known site by means of http://brid.gy. In the long run I only wand to use @pixelfed. Any idea?
(twitter.com/_/status/1097248263042940928)
snarfed joined the channel
#
KartikPrabhu
what is pixelfed?
#
Loqi
PixelFed is open source software for social image sharing, similar to Instagram, that interoperates with other sites using several open standards including rel-me and ActivityPub https://indieweb.org/PixelFed
#
KartikPrabhu
ooo snarfed^
snarfed1, dmcweeney, tantek, [jgmac1106], KartikPrabhu and [tantek] joined the channel