#dev 2019-02-22

2019-02-22 UTC
ajft joined the channel
#
jacky
hey eli_oat!
#
jacky
I dig your site
KevinMarks joined the channel
#
KevinMarks
UX improvement suggestion for indiauth.com in the email message put the code in the beginning of the subject so I can read it from the notification without switching apps
#
jacky
I've seen a few services do that (one bank I used to bank with)
eli_oat1, [jgmac1106], snarfed1, [manton], [davidmead] and [eddie] joined the channel
#
[eddie]
jacky yeah eli_oat’s site is cool
snarfed joined the channel
#
jacky
can I assume (safely) the word 'domain' and the concept of a 'hostname' are the same in https://indieauth.spec.indieweb.org/#authorization-response-p-1?
snarfed joined the channel
#
jacky
is going to look more into parent specs
#
jacky
like I'm parsing that as "if I type in 'https://www.jacky.wtf' but the endpoint returns 'https://jacky.wtf'; that's okay"
#
Loqi
jackyalcine
#
jacky
because the former 'lives' on the 'latter'
snarfed and [chrisaldrich] joined the channel
#
aaronpk
theres some examples of how to resolve those
[eddie] and snarfed joined the channel
#
jacky
aaronpk: I should have finished that section, lol; it's _right_ there
[tantek], [eddie], curiouserandcuri, kisik21 and cowglow joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
petermolnar
!tell cleverdevil I tried to use ditchbook on a current facebook page export, but it doesn't like it, due to mismatches in available/unavailable dictionary elements, eg. status without media elements.
#
Zegnat
jacky I thought the indieauth spec also explicitly mentioned the query params. Hmmm...
iasai, barpthewire and swentel joined the channel
#
swentel
!tell [eddie] can you pull on the indigenous website. Added a link to the f-droid download page. Thanks!
#
Loqi
Ok, I'll tell them that when I see them next
jgmac1106 joined the channel
#
GWG
Morning all
[jgmac1106], [Vincent], kisik21, swentie and swentel joined the channel
#
swentel
aaronpk, would it be ok to use atlas.p3k.io to generate static maps on checkin posts within indigenous ?
#
swentel
I wonder if the iOS version shows something, I actually don't know ..
#
aaronpk
oo cool idea
#
aaronpk
yeah go for it
#
swentel
alright cool
[schmarty] joined the channel
#
GWG
swentel, I am using the new location feature
#
GWG
Wonder if I can talk anyone else into implementing it
#
swentel
and it works?
#
swentel
oh, I have an issue op for Drupalr
#
GWG
swentel, it retrieved my location, and allowed me to edit the description
#
swentel
will implement q=geo in Drupal too
#
swentel
will be handy for checkin posts too
#
Loqi
[David Shanske] Another journey begins
#
GWG
swentel, I have more ideas for it
#
GWG
I always play with location when I travel
#
GWG
swentel, I am nearly done implementing geofencing.
#
GWG
swentel, how do you mark as read in Indigenous?
#
swentel
GWG, it does that by default now when clicking an item
#
swentel
it's not ideal
#
swentel
I have an issue open to fix that
#
swentel
so that either you mark as read by an action in the menu, or sends a request with the ids which were seen in the viewport
#
GWG
swentel, added some alternative ui option ideas
#
swentel
oh yeah, good option
#
swentel
willing to support that, no problem
#
GWG
I will look at what my RSS reader does
jgmac1106 and [kevinmarks] joined the channel
#
GWG
swentel, did you consider a button to share the URL with the Android share system?
#
swentel
GWG, share which url?
#
GWG
The URL of an individual post in a Microsub channel
#
GWG
Example: I am reading an article and I want to share it with another application on the phone
#
swentel
oh like that
#
swentel
static map :) ^
#
swentel
the map icon will open an app on your phone which understands lat and long
#
sknebel
swentel: curious, no OS APIs to make that? or are you avoiding them for F-Droid?
#
swentel
sknebel, that's just a static map generated by Atlas (atlas.p3k.io)
#
sknebel
sure, but why
#
GWG
swentel, I like that.
#
swentel
want to avoid google maps usage
#
swentel
need an API key for that
#
sknebel
interesting, I thought apps could use it through the OS
#
swentel
if you have an api key yes
#
swentel
GWG, where would you put that share button then, there's so many already on that line .. :)
#
GWG
I still have this problem that I can't find a service that will let me cache the static maps
#
swentel
I could hide it behind the 3 dots
#
GWG
swentel, looking at my current rss Android app, it allows you to choose the ones that appear under the post and hide the rest under the 3 dots
#
GWG
So, for now under the three dots
#
GWG
But everyone is different on that
#
GWG
UI is a challenge for me too
#
swentel
I guess
#
swentel
opened an issue
#
GWG
That's why I look at prior art
#
swentel
which probably will close in 5 minutes :)
#
[Vincent]
@swentel I do static maps for checkins on my site whenever there isn’t an accompanying photo https://vincentp.me/categories/checkins/page/3.html
#
[Vincent]
I’ve noticed that when I use social readers the static images from mapbox.io dont render correctly. Not sure if that’s some weird specific issue to me or something you need to bear in mind.
#
[kevinmarks]
You can do dynamic maps with leaflet and openstreetmap tiles, but not sure about static.
#
GWG
I just don't want to run a tile server.
#
GWG
Although I have thought about it
#
[Vincent]
*facepalm* I’ve just realised my static map images are tied to my url (and key). That’s why they don’t work elsewhere
#
[kevinmarks]
There are open tile servers too. You should be ok unless you have huge traffic
#
GWG
Been there
#
GWG
Yes, but haven't found one that does a simple static map return
#
swentel
optimized the rendering a bit: https://ibb.co/Fz1qMHt
#
swentel
aaronpk, ^
#
GWG
I implement a similar API to the atlas one, but behind my Indieauth token
jeremych_ and eli_oat joined the channel
#
swentel
GWG, share option added behind 3 dots
#
swentel
next release is going to be really awesome
#
GWG
swentel, I am excited
#
GWG
I see things coming together with both frontend and backend
#
swentel
been running this overhaul now for 2 days now, and so far no crashes
#
swentel
so I might go for a release this evening
#
[kevinmarks]
Combine leaflet with the headless chrome trick from yesterday?
#
sknebel
[kevinmarks]: for a wordpress plugin? slightly different constraints...
#
sknebel
(that said, stitching together a few tiles shouldn't be too bad, it's just another case of "someone has to write and manage that code" :D)
[chrisburnell] joined the channel
#
GWG
swentel, I will be the first to use it
#
GWG
I am in full Indieweb mode all weekend
#
swentel
then I will def release
#
swentel
I'm online most of the weekend too
#
swentel
so if anything is broken
#
swentel
I can fix fast
#
GWG
swentel, you know I will tell you
#
[schmarty]
i have been really happy with sgreger's self-hosted static maps https://sebastiangreger.net/2018/05/self-hosting-maps-control-privacy-ux/
#
Loqi
While self-hosting is comparatively easy for content formats like photos, same does not apply to interactive maps – given the sheer amount of data and/or the complexity of its processing. Experimenting with OpenMapTiles, it for the first time appea...
#
sknebel
[schmarty]: ohh, good point, he linked such scripts already
#
sknebel
GWG ^^^
#
Loqi
[dfacts] staticmaplite: staticMapLite - simple php staticmap script
#
[schmarty]
ooh staticmaplite is no longer being maintained 😬
#
[schmarty]
still working well for me at the moment 😅
#
sknebel
I dobut it'll break anytime soon... the entire ecosystem is very closely married to how the tile URLs etc work
#
sknebel
so at the very least it could serve as a base
#
[kevinmarks]
On a related note I got emailed that https://batchgeo.com/map/89bf1e58d9285799d650ab2dbf92120a is exceeding view quota.
#
swentel
GWG, do you know what yars does with dt-published ? Does it sanitize so that the dates are always the same format ?
#
swentel
*yarns
#
GWG
swentel, it uses Parse This, which I wrote. I don't think I sanitize specifically
#
swentel
hmm ok, let me explain what I'm trying to fix
#
swentel
java date parsing is well, annoying (and that's an understatement)
#
swentel
currently I expect this format: yyyy-MM-dd'T'kk:mm:ssZ
#
swentel
most of the sites which are parsed are fine
#
swentel
but Tantek's site for instance, when parsed by XRay comes back as 'yyyy-MM-dd kk:mm:ssZ'
#
swentel
so there's no date displayed in his post
#
swentel
So there's two options: fix it server side, or client side
#
GWG
I will make a note
#
GWG
It should be server side
#
swentel
yeah, I think so too
#
aaronpk
fwiw both those are valid ISO8601
#
GWG
Yes, but I can standardize
#
swentel
true, I wish SimpleDateFormat would understand that oo :)
#
aaronpk
File an issue?
#
swentel
to be fair, it's only on tanteks posts right now where I have the problem
[jgmac1106] joined the channel
#
GWG
tantek is always a challenge
#
swentel
mmm maybe I should make an exception for this
#
GWG
I still will make a note to standardize
#
swentel
at least one of those two formats
#
swentel
will make sure they work both
#
GWG
I found an option for static maps that allows for caching
#
[Vincent]
It looks like openstreetmap is ok https://www.openstreetmap.org/copyright
#
[Vincent]
You are free to copy, distribute, transmit and adapt our data, as long as you credit OpenStreetMap and its contributors. If you alter or build upon our data, you may distribute the result only under the same licence.
#
GWG
They don't have a simple static map generator though
#
sknebel
[Vincent]: it's a bit more complicated than that. the map data is one thing. another thing is the pixels being generated from it, and the terms under which you can ue APIs giving you the pixels is yet another
#
[Vincent]
ah so you need to do something messy to translate it in to a jpg?
#
GWG
Exactly
snarfed joined the channel
#
sknebel
various places give you tile images, but often free tiers are limited. and GWG ideally wouldn't want tiles, but larger images already combined he can store locally
#
GWG
I would pay if it is pennies
#
sknebel
the staticmaplite script above could be interesting to assemble tiles yourself, then the issue is "only" finding a set of tile providers that work
#
[Vincent]
https://www.mapbox.com/pricing/ not sure how those prices look
#
[Vincent]
map pricing always seems to look like it could get out of hand really quickly
#
GWG
Doesn't allow for caching
#
GWG
Wikimedia is promising
#
GWG
It is an OSM tile server I can cache
#
sknebel
I think opentopomap also doesn't restrict what you do with their tiles
#
[Vincent]
sorry I thought the “50 GB tileset storage” was local storage. I assume that means on their cloud
#
sknebel
although the map style is relatively unusual
#
GWG
sknebel, they don't, but back to static map generation
#
sknebel
sure, but I think that'd be solveable if nothing else works out
#
GWG
Yes. We'll see.
#
aaronpk
my library Atlas can be used with openstreetmap tiles
#
GWG
aaronpk, I will have to look
#
[Vincent]
so does that mean it’s ok to cache Atlas maps?
#
aaronpk
depends on the ToS of the tiles you use
#
GWG
aaronpk, I didn't use Atlas as a provider in my code due possible user base
#
aaronpk
Atlas is just a thing that assembles tiles and overlays marker icons
#
[Vincent]
ah I see, thanks I’ll take a look 🙂
#
GWG
I did borrow some ideas.
#
GWG
I got the lookup by airport idea from you
#
aaronpk
ha i forgot i added that
#
GWG
I just have to figure out how to query for venues next
#
aaronpk
"just"
#
GWG
If I have a data set of venues, and a single coordinates, how do I find the nearest locations?
#
GWG
As my data grows, going through each entry will take more time
[kevinmarks] joined the channel
#
[kevinmarks]
What's the backend db? These days a geopoint type with suitable indexing is common
#
aaronpk
GWG it totally depends on the database
#
aaronpk
generally you'll want to find a way to use a proper geospatial type in the database, but that isn't going to work on the lowest common denominator for wordpress
#
GWG
aaronpk, that's the question. Usually the WordPress meta database, but I might need a custom table
#
GWG
WordPress does allow for custom tables, but I always avoid them
#
aaronpk
you'll definitely want a custom table at least
#
GWG
You can see why I put it off
#
GWG
But I would like it someday
#
aaronpk
i think if you want to avoid the actual geospatial extensions your best bet is to use an indexed column that is an integer that is the geohash https://gis.stackexchange.com/a/92331
#
sknebel
yeah, was about to suggest geohash too
#
sknebel
for venues, the weirdness around the poles isn't too important
iasai joined the channel
#
aaronpk
haha yeah
#
aaronpk
or the date line
#
sknebel
(I think some implementations, e.g. the one in redis, intentionally cut off top 5° in their mappings)
#
sknebel
that makes the implementation a bit easier
#
GWG
I may punt
#
GWG
I have many other things to try
#
sknebel
trying to find a small-ish setup to use OSM venues is still on my todo list, but different priorities right now before diving into something like that
#
aaronpk
yes also you're likely not going to encounter an issue with a full table scan until you end up with several thousand rows anyway
#
aaronpk
actually probably not even til tens of thousands
#
GWG
I doubt I will get to that many.
#
GWG
Reading about geohashing
#
GWG
Wonder if it is worth switching to that for calculations
#
aaronpk
geohash is best as an index, it's not an exact science
[eddie] joined the channel
#
GWG
So, best to assume that I won't have many venues?
#
GWG
Just extract the entire table, search it, and hope no one tries to use it in shared hosting?
#
aaronpk
search in sql
#
aaronpk
you can use a mysql function to calculate the distance from a lat/lng to your current position and ask sql to filter on those
#
aaronpk
dirty secret: this is how the geoloqi API worked for years
#
aaronpk
let me see if i have an example online still
#
GWG
This seems to be it
#
aaronpk
that looks right
#
aaronpk
you can skip the bounding box for now too but that's a good optimization
#
GWG
For now, will finish simple geofencing and worry about it another time.
#
Zegnat
Ooo, PHP 7.3.0 added support for SameSite cookies through their cookie functions. Time to update /cookie
#
GWG
How many zones (the term I am using for a radius around a location) could someone want to automatically hide a location if shared?
#
GWG
I envisioned Home and Work
#
[eddie]
They might also have say some friends or family's houses
#
[eddie]
so I might kick that up at least 10
#
aaronpk
why limit it?
#
[eddie]
that too
#
Zegnat
Also people who do repeated doctor/therapist/etc runs may want to fence off those areas.
#
GWG
I am not limiting it. It was back to implementation.
#
Zegnat
Especially if waiting rooms are involved where they still want to use their device without publicly broadcasting whos waiting room they are in, he
#
GWG
Right now, it is an array of name, lat, lng, and radius and it goes through the array item by item and stops when it finds one that matches
#
GWG
If there are more than a few, it could slow things
#
aaronpk
eh don't worry about it, that math is cheap
#
aaronpk
it'll only be a problem if there are thousands of items in the array or if that code is run many times a second
#
GWG
Since I store location in each post, I probably should store the result in the post.
#
aaronpk
yes, i would store whether or not location should be displayed in the post itself rather than computing it on each pageview
#
Zegnat
That is interesting though, do you expect the geofence to apply retroactively? Because then you are looking at checking every post when the list of fences is edited.
#
Zegnat
That might be way more expensive for someone like chrisaldrich than the lookup for every pageview?
#
aaronpk
take the lazy approach, and give the user a checkbox when editing the post so they can turn it off and on per post, and only set the checkbox automatically for new posts
#
GWG
I have a per post location visibility setting
#
GWG
It is currently set by a default option, if not by the user
#
GWG
And Indigenous allows it to be set by Micropub..thanks swentel.
[tantek] joined the channel
#
GWG
So, this is having it set by default if the location is in a radius around one of the stored zones
#
GWG
And he just added an input to send a location name as well.
#
Zegnat
Oh that makes sense, have only the default value depend on excluded zones, and never touch already existing/published posts
#
aaronpk
sounds like you have a good mechanism in place already. i'd make the new zone thing just set that default value if it's not provided by the user or in the micropub request
#
GWG
Zegnat, exactly. But by storing that it was found to be in a zone, if the zone changes, it could update
#
GWG
aaronpk, exactly my plan
#
Zegnat
Sounds good GWG.
#
GWG
I might finish that tonight
#
Zegnat
Almost makes me want to switch to WP ;)
#
GWG
Not sure what I will do for Hack Day
#
GWG
Zegnat, we would love to have you
#
GWG
My location code is obsessive for someone who doesn't post location related posts enough
#
GWG
This setting will add to my doing location
snarfed, KartikPrabhu, swentel and mvk joined the channel
#
GWG
Anyone ever heard of these people? https://www.apixu.com/
#
Loqi
[voxpelli] #97 Tracking: Collaboration with other Node.js Micropub projects
#
GWG
Hi voxpelli
#
voxpelli
Hi GWG!
snarfed joined the channel
[schmarty] joined the channel
#
[schmarty]
good ol' prism dirt
#
voxpelli
sknebel: 👍
#
voxpelli
I'm not that used to glitch – they don't have any issue tracker or such, right?
[jgmac1106] joined the channel
#
[jgmac1106]
voxpelli yes there are consoles and logs, but only issue tracker would be to export project to GitHub
snarfed joined the channel
#
voxpelli
sknebel: thanks, I found the repo behind one of those: https://github.com/grantcodes/micropub-endpoint/issues/43
#
Loqi
[voxpelli] #43 Collaboration on parts of the code?
[tantek] and [eddie] joined the channel
#
GWG
Eddie, do you have radar maps on your site?
#
GWG
This looks interesting
#
[eddie]
I do not
#
[eddie]
hmmm that is interesting
#
GWG
I was looking for new apis on the plane
#
GWG
Found another free weather source that looks interesting
#
GWG
And a new static map source
#
[eddie]
Yeah that's cool
#
GWG
I think I am up to 5 map providers, 2 weather providers...
#
GWG
I just got burnt by one
#
GWG
So I like being able to change data sources with a setting
snarfed joined the channel
#
GWG
Hi, snarfed
#
GWG
And Eddie, I created a special rule for your feed
#
[eddie]
special rule?
#
swentel
fetch every 5 seconds :)
#
swentel
[eddie], hmm did you see my tell ?
#
[eddie]
oh yes! I did and then I promptly forgot. lol sorry! I can definitely do a pull here in a few minutes
#
swentel
hehe no problem
#
swentel
I don't expect getting tons of users suddenly anyway from there ;)
#
GWG
I didn't account for a page that had a top level h-card referring to a different URL than the page, then a minimal one on the feed
#
[eddie]
swentel: Okay, pulled. You should be good
#
[eddie]
GWG is that all of my feeds?
[gRegorLove] joined the channel
#
[eddie]
Sounds like that might be an error 😕
#
swentel
yes, thanks [eddie] !
#
[eddie]
:thumbsup:
#
GWG
eddie, it is the all feed I was testing
#
GWG
But I doubt you are the only one with an h-card footer on every page
#
GWG
So it was good to fix
#
KartikPrabhu
I have an h-card footer on every page too
#
[eddie]
Gotcha :thumbsup:
snarfed joined the channel
#
GWG
I accounted for an h-card in the footer, but not for one in the footer and in the h-feed
#
GWG
I am trying to find the most detailed one
#
swentel
ok, last attempt to clean up the post UI, after that, release time :)
#
GWG
To avoid additional urls being pulled
#
GWG
swentel, screenshot?
#
swentel
haven't got anything yet
#
swentel
did 3 attempts already the last 2 days
#
swentel
but never happy
#
Zegnat
Theoretically you should be able to merge h-cards as long as they share their url value, I think, GWG. So rather than finding 1 just concat them together?
[davidmead] joined the channel
#
GWG
Zegnat, I am trying to normalize feeds for Microsub.
#
Zegnat
Oh, sorry, I was thinking you were only talking about deciding which h-card to parse
#
GWG
I am trying to make it when I read in Indigenous or Together that I always have a name or photo
#
Zegnat
yeah, so I am saying rather than having to create criteria for finding the right h-card, just merge them together so you only ever “find one” :) Though I am not sure anyone is doing it that way today
#
GWG
I need to find a multi author h-feed
#
GWG
Indienews maybe?
#
Zegnat
Theoretically, because the url property on the h-card identifies it, and other h-cards with the same url property can be merged into it. So someone can have an h-card on their h-entry, h-feed, and outside in their footer, yet those could probably all be merged into just one card.
#
Zegnat
Maybe it doesn’t help, maybe it does, was just a random thought I had
#
GWG
Zegnat, it does, but that is what I did
#
GWG
I just didn't anticipate that.
#
GWG
I anticipated a top level h-card, but I assumed that if you had one, you wouldn't also have it on the h-feed and on every individual post. I ended up storing all h-cards in a temporary array and merging them together, then adding where missing
tbbrown joined the channel
#
GWG
I wonder if this weekend, I can find out how to return h-cards in Indieauth responses
snarfed and chrisaldrich joined the channel
#
Zegnat
I’d love to call in for that discussion. I think a lot of projects can be helped by that.
#
GWG
Well, we discussed it the other day, but no format decided
#
GWG
I am already returning the WordPress user id in there
#
Zegnat
Yes, I read the discussion, and the bit about the profile scope (which I found very interesting)
#
GWG
I'd like to implement and consume it
#
GWG
But there may not be enough interest
#
GWG
Also, is that a 45 minute discussion or just idle dinner chat?
#
swentel
GWG, ok, I'm going to release in a few minutes
#
swentel
focus on post ui will be for next week
[cleverdevil] joined the channel
#
GWG
swentel: I have that Chromebook I loaned out for the Berlin presentations and it has the Play Store and HDMI. So I may show it in my demo
#
GWG
Depending on how much time I have
#
GWG
But, I'll update on my phone immediately
#
swentel
woops, almost shipped with a stupid bug :)
#
GWG
swentel: Oh?
#
swentel
there's now an account section
#
swentel
where you can see data
#
swentel
and sync
#
swentel
and delete etc
#
swentel
but I didn't have the token for the ?q=config request to sync
#
Loqi
[snarfed] #350 facebook: v2.0 api no longer allows lookup by username
#
[cleverdevil]
ditchbook is a tough project, because in order to really make it work well, I need to have a large number of people's facebook exports to work with.
#
Loqi
[cleverdevil]: snarfed left you a message 5 days, 4 hours 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
#
Loqi
[cleverdevil]: petermolnar left you a message 13 hours, 20 minutes ago: I tried to use ditchbook on a current facebook page export, but it doesn't like it, due to mismatches in available/unavailable dictionary elements, eg. status without media elements.
#
swentel
GWG, pushed
#
aaronpk
swentel: can you post some new screenshots on the wiki page for your app? I want to use them in my talk tomorrow morning
#
swentel
aaronpk, will do
#
jacky
so I really like the webmention-y approach to syndication but I see how it's a bit of an overload
#
jacky
I also don't want to add syndicator logic into my site (like holding access tokens to silos et al)
#
jacky
the closest I had to something of an idea I wrote here a while back https://indieweb.org/User:Jacky.wtf#Syndicator_Detection
#
jacky
but that's just for _finding_ stuff
#
swentel
updated
#
snarfed
jacky: this is what the micropub syndication param and query is for, right?
#
aaronpk
jacky: there's also the micropub overloading for syndication. Like how silo.pub handles the silo APIs and gives you an API to it that happens to look like micropub
#
aaronpk
swentel: thx
#
jacky
snarfed: this could add more values to populate that but yeah!
#
snarfed
yup. micropub definitely seems like the right cross-tool protocol for POSSE/syndication going forward. bridgy using webmention was really just a historical accident because i built it before micropub.
#
jacky
Like if I wanted to just click in a UI to add "Twitter" support
#
jacky
aaronpk: I have to check that out
leg joined the channel
#
jacky
I began toying with an implementation of my own
#
jacky
(cabal) lol
#
snarfed
your client would ask the micropub server which synd targets it supports, then render the options
#
snarfed
ie micropub already has the discovery
#
jacky
right but this is in the case of one's site not providing an explicit way to "add" more options for it to provide to a micropub client
#
snarfed
like you want to outsource that to a service like bridgy? and determine dynamically where you could possibly POSSE to via the service?
#
GWG
snarfed: Not everyone wants to write API code
#
jacky
snarfed: yup!
#
snarfed
GWG: right but this is beyond that. you can outsource the targets to bridgy and still hard code or have the user enter their silo accounts in site setup
#
snarfed
dynamically discovering them from the service seems like overkill, esp since it's usually only a small set that very very rarely changes
#
snarfed
manual until it hurts, and all. making it this dynamic and generic seems a bit like overengineering to me.
#
GWG
snarfed: Point taken.
#
GWG
snarfed: I built something in this area into Syndication Links. Someone can implement a class that tells it what the strings are to display, and a function that does the POSSEing, and it handles the Micropub target registration and checkboxes in the Classic Editor.
#
GWG
So far, no one has actually written a target except me, but anyone could very quickly.
#
GWG
Note to self, write up a dev guide
#
snarfed
documentation++
#
Loqi
documentation has 3 karma over the last year
#
jacky
snarfed: that's fair. I'm looking a bit further ahead (towards users who might not have a deeper grasp into the indieweb of things but do want to try this out)
#
snarfed
sure! ship and iterate.
#
jacky
also from a bit of laziness on my end, lol
#
snarfed
and for those users, you can give them a UI to enter their silo accounts, and then return those in response to micropub syndication queries
#
snarfed
no need for new markup, discovery, etc
snarfed and [eddie] joined the channel
#
[eddie]
I agree the UI issues are for more relevant than the need for try to automate that stuff. Also aaronpk's site because it uses Micropub supports a kind of IndieAuth like "adding" if I remember correctly
#
[eddie]
While the Generations model isn't the best the one thing it DOES help with is the concept that we have to iterate. We can't build for Gen 4 until we've built for Gen 3
#
[eddie]
the UI and tools will progressively iterate until they reach general public. I don't believe we can jump from our current setup to general public
#
[eddie]
not FULLY
#
jacky
hmm okay
#
jacky
that makes sense
#
jacky
(all of it does)
#
snarfed
ok! glad you're working on this!
[Rose] joined the channel
#
[eddie]
jacky++ thinking about future users
#
Loqi
jacky has 9 karma in this channel over the last year (41 in all channels)
[manton] and [dave] joined the channel
#
[manton]
I promise I won't make a habit out of retweeting my own stuff after today, but... 🙂
#
Loqi
Thanks! We need one more person to confirm the retweet!
#
[eddie]
haha it's allowed 🙂
#
[manton]
[eddie] :thumbsup:
nloadholtes_ and snarfed joined the channel
#
@jgmac1106
I made a webmention badges issuing site for #edu307 https://edu307.glitch.me/ If you have not added webmentions with https://brid.gy you will not be notified of the badge. You can always check the page and see if you met the criteria for a module. (https://quickthoughts.jgregorymcverry.com/s/1X0xG0)
(twitter.com/_/status/1099068778690891776)
#
@jgmac1106
I made a webmention badges issuing site for #edu307 https://edu307.glitch.me/ If you have not added webmentions with https://brid.gy you will not be notified of the badge. You can always check the page and see if you met the criteria for a module. (https://quickthoughts.jgregorymcverry.com/s/1X0xG0)
(twitter.com/_/status/1099068778690891776)
#
@jgmac1106
So in trying to continue my work on credentialing and #IndieWeb I made a badge isssuing site for one of my classes: https://edu307.glitch.me/badges/literacyimage.html Need to style it a bit more, and not everyone is accepting webmentions yet but we will get there #Openbadges… https://quickthoughts.jgregorymcverry.com/2019/02/22/so-in-trying-to-continue-my-work
(twitter.com/_/status/1099070707022131201)
[tantek], snarfed and [jgmac1106] joined the channel
#
[jgmac1106]
if HTML is commented out will the webmentions get picked up?
KartikPrabhu joined the channel
#
Zegnat
[jgmac1106], depends on the receiver.
#
Zegnat
Per Webmention spec, I don’t think URLs inside HTML comments are picked up
KartikPrabhu joined the channel
#
Zegnat
Example HTML you are thinking of?
eli_oat joined the channel
#
jacky
IIRC it shouldn't
#
[jgmac1106]
...for my badges...instead of building them all one at a time, I could build them all at once and uncomment out as they are earned....just a stopgap until I build a proper system for webmention badges
#
Zegnat
Oh interesting. Theoretically the Webmention receiver is not expected to accept URLs inside commented HTML as valid mention targets
#
Zegnat
So I guess that would work
#
Zegnat
If you are up for the academical debate about what is and isn’t a link: https://github.com/w3c/webmention/issues/91
#
Loqi
[Zegnat] #91 “other similar links” is a vague description for what constitutes getting mentioned in HTML
#
snarfed
[jgmac1106] Zegnat i don't see anything about HTML comments in https://webmention.net/draft/#webmention-verification or nearby
#
snarfed
for html it does recommend to look for link, img, or video, which is similar but narrower
#
Zegnat
snarfed, I am extrapolating from the fact that a receiver should look for href/src attributes. Also from the GitHub issue I linked here. If you are checking HTML for mentions, you should be using an HTML parser, which will turn a comment into just a big string.
#
snarfed
ok fair that is a SHOULD
#
aaronpk
Weird I thought the spec did say something about comments explicitly
#
aaronpk
I think there's a test case in webmention.rocks maybe?
#
Zegnat
links inside a comment or inside plain text should not match for HTML
#
Zegnat
But that is only in the implementation report, not in the spec.
#
aaronpk
Yeah I guess that's just covered by the HTML spec
#
aaronpk
it's not an"link" if it's in a comment
#
[jgmac1106]
just the first one, it looks closest to what I need yet
#
Zegnat
Though what exactly a link is, may still be up for debate ;) E.g. I initially wrote in that GitHub issue that <form action> could probably be ignored. But now that forms are getting rel attributes...
#
Zegnat
So, yes, Webmention spec may be a bit vague on the subject. But for it to define what are and aren’t HTML links is probably super-duper out of scope :D
[schmarty] joined the channel
#
sknebel
If I remember right from skimming it, bridgy fed might just stringmatch. But that's a bit of a special case
#
snarfed
yeah mine all blindly string match. but they abuse webmention as API trigger instead of actual mention, so ignore them.
[dave] joined the channel
#
sknebel
Oh, apropos form rel
#
sknebel
14 hours until sknebel, you have a table to update
#
Loqi
I added a countdown scheduled for 2019-02-23 1:51pm CET (#6494)
#
[tantek]
wait a minute, since forms are getting rel attributes, and we can use a form for webmention sending UI, does that mean it can double as discovery for the webmention endpoint too?!?
#
[tantek]
ultradry
#
[tantek]
ooh I kinda want to code support for that (in my webmention discovery code) and see if it works
#
[tantek]
then submit a patch for the spec 😄
#
Zegnat
[tantek], yep, it was one of the few cases where it would actually make sense. We discussed it a little when annevk came by the #microformats channel
#
Zegnat
Wonder if the mf2 spec needs changing or not. It mentions rel parsing needs to happen for tags that constitute a “hyperlink element”. While forms are now links, I don’t know if there is a spec-difference between HTML Links and HTML Hyperlinks. Or if mf2 spec hyperlink is even the same as the HTML spec hyperlink
#
Zegnat
Well, enough theorising, time for bed!
#
[tantek]
it's worth explicitly including in the spec since it's an unexpected change to assumptions of "what is a link"
#
aaronpk
yeah if forms get rels i would definitely call that out in webmention
#
[tantek]
I think forms *are* getting rels and thus the rel registry needs another column for "applies to form" like it has for applies to a or link
#
[tantek]
what I'm saying is that rel=webmention *should* apply to form
#
[tantek]
because we literally already have forms out there "linking" to the webmention endpoint of the page
#
[tantek]
hey is there a command-line micropub client that accepts "the same" commands as Loqi?
#
[tantek]
e.g. "!rt URL" to repost a URL
[grantcodes] joined the channel
#
[grantcodes]
I wouldn't have thought so tantek. I only remember seeing one and it had a different syntax to that
#
[grantcodes]
I think also my chatbot could be run on the command line but never bothered trying yet
#
[tantek]
so here's a thought, what if we moved the @indiewebcamp twitter to micro.blog, and then had it cross post from micro.blog, then have Loqi use micropub to post to micro.blog/indiewebcamp instead of posting to Twitter?
#
aaronpk
->meta
[eddie] joined the channel