#dev 2019-02-27

2019-02-27 UTC
snarfed, KartikPrabhu and [jgmac1106] joined the channel
#
[jgmac1106]
dansup++ for pixelfed update congrats
#
Loqi
dansup has 4 karma in this channel over the last year (8 in all channels)
[eddie], barpthewire and KartikPrabhu joined the channel
#
jacky
for those interested (or use it); Keybase exposes rel=me!
#
KartikPrabhu
what is keybase?
#
Loqi
Keybase is a GPG key silo https://indieweb.org/keybase
#
sknebel
what is POI?
#
Loqi
POI is Point of Interest, a location where something is, e.g https://indieweb.org/POI
#
sknebel
POI << [https://github.com/mapsforge/mapsforge/blob/master/docs/POI.md mapsforge POI feature + OSM extraction]
#
Loqi
ok, I added "[https://github.com/mapsforge/mapsforge/blob/master/docs/POI.md mapsforge POI feature + OSM extraction]" to a brand new "See Also" section of /POI https://indieweb.org/wiki/index.php?diff=57446&oldid=55075
#
sknebel
(as a reference: their datasets clock in at e.g. ~750 MB for Germany or a few GB for US)
#
jacky
sheesh
#
jacky
that's a lot of space
#
sknebel
lots of data too
#
sknebel
(can't check right now how many entries are in there specifically)
KartikPrabhu joined the channel
#
sknebel
But yeah, not quite "just download and keep around" size for all hosting
[kevinmarks], [jgmac1106] and [schmarty] joined the channel
#
jeremycherfas
WooHoo. Logged in to Overcast and downloaded the extended OPML file.
#
jeremycherfas
It is bloody huge though.
[eddie] joined the channel
#
[eddie]
Congrats!!
#
[eddie]
Yeah it can get big because it’s your entire history. That’s one reason [cleverdevil] asked Marco to make an RSS feed or JSON feed of the same content. Who knows if he will but if enough of us keep downloading the OPML file routinely it’ll probably encourage him to make a lighter file lol
snarfed joined the channel
#
jeremycherfas
I do find it hard to isolate the specific array I need within the overall multidimensional array
#
[eddie]
It should be an array of podcasts, and then an array of episodes. You basically just loop through all the podcasts and then all the episodes in each podcast and look for episodes that have been "played" in the last X days/hours
#
[eddie]
But yeah, definitely not as easy as just a single array of recently played episodes 🙂
#
jeremycherfas
Yeah, I am seeing the podcasts and the episodes OK, it is the nitty gritty of the Foreach loops and extracting specific bits of data that I'm slow at.
[schmarty] joined the channel
#
[eddie]
Gotcha. Yeah that can be a bit tricky
jgmac1106 and [cleverdevil] joined the channel
#
[cleverdevil]
[jeremycherfas] definitely be aware of the rate limiting on that Overcast OPML export.
[jgmac1106] joined the channel
#
jeremycherfas
Yeah, thanks. For now, I saved the file locally so I can explore.
#
[cleverdevil]
Congrats on making it this far!
#
[cleverdevil]
You'll figure out the rest 🙂
[schmarty] joined the channel; jgmac1106 left the channel
#
jeremycherfas
Getting there, for sure. Got the podcasts, got the episodes in each podcast. Just assembling the payload now.
snarfed and [tantek] joined the channel
#
[tantek]
jacky, is the Keybase rel=me thing new?
#
[tantek]
e.g. did you see a blog post announcing their rel=me support, or just discovered?
#
[tantek]
and if not, any idea when they added it?
jeremych_ joined the channel
#
Loqi
[dahlia] #634 Add rel=me semantic metadata to links
#
jeremycherfas
'payload': json.dumps(data)
#
jeremycherfas
![cleverdevil] Probably because I don't speak any Python, I'm don't see how you are publishing to Known. Looks like it could be this line `response = requests.post(conf.ENDPOINT_URL, data={
#
sknebel
POI << idea by {{sgreger}}: check if OSM vector tiles contain enough data
#
Loqi
ok, I added "idea by {{sgreger}}: check if OSM vector tiles contain enough data" to the "See Also" section of /POI https://indieweb.org/wiki/index.php?diff=57455&oldid=57446
#
jeremycherfas
!tell [cleverdevil] If so, I guess I need your Known-Listen plugin to be able to crete the correct endpoint and action.
#
Loqi
Ok, I'll tell them that when I see them next
#
[cleverdevil]
Correct, I have a custom endpoint for that reason.
#
[eddie]
jeremycherfas: I ended up using a Micropub endpoint to get the data into my site. If your site has a Micropub endpoint, you could try that way
#
[cleverdevil]
If you're using Known, you could theoretically use it too.
#
[cleverdevil]
But, since you're creating your script in PHP, you could potentially just have your PHP script create the posts directly.
#
jeremycherfas
I do use Known, although I am also working on moving my stream to Grav.
#
jeremycherfas
I haven't a clue how Known stores posts.
#
[cleverdevil]
(Its pretty simple).
#
jeremycherfas
Oooh. I see. That's very clever.
ludovicchabant_ and ludovicchabant joined the channel
#
jeremycherfas
Enough! Goodnight IndieWeb
#
[schmarty]
goodnight [jeremycherfas]!
#
Loqi
goodnight!
snarfed and calumryan joined the channel
#
[jgmac1106]
missing an h-entry on my first show. lemme see if that fixes it
[tantek] and [cleverdevil] joined the channel
#
[jgmac1106]
fixed the h-entry still getting the 500 seems to parse okay: https://pin13.net/mf2/?url=http%3A%2F%2Fjgregorymcverry.com%2F2toPonder.html think its because I set up as an h-feed and not children of an h-entry?
#
[jgmac1106]
I just figure you subscribe to podcasts so h-feed makes a difference...though I know children sometimes trip things up
#
snarfed
[jgmac1106]: thanks for looking! don't worry about debugging it black box, that's too hard. i'll fix it.
#
[jgmac1106]
it helped, me found a missing h-entry and I should probably mark it up as a collection rather than an h-feed since nothing consumes or subscribes to an h-feed of podcasts
#
[jgmac1106]
...but can not wait...I kinda stopped podcasting bc maintaining so may pages manually was too much pain.
[Rose] joined the channel
#
snarfed
[jgmac1106]: ok fixed, both of those work now
#
[tantek]
thanks sknebel
#
[tantek]
does anyone have an example of a Keybase profile with a rel=me link?
#
[tantek]
cleverdevil++ nice
#
Loqi
cleverdevil has 36 karma in this channel over the last year (89 in all channels)
#
[tantek]
and no nofollow nonsense either!
#
[tantek]
Keybase++
#
Loqi
Keybase has 1 karma over the last year
#
[cleverdevil]
keybase is great.
#
[cleverdevil]
I use it for hosting my dotfiles in their encrypted git hosting.
#
[tantek]
anyone else using Keybase, feel free to add yourself: https://indieweb.org/Keybase#IndieWeb_Examples
#
gRegorLove
has an account, but hasn't really "used" it, heh
#
gRegorLove
It's linked in my rel-mes
[kevinmarks] joined the channel
#
jacky
wow TIL about rel=nofollow
#
jacky
nofollow--
#
Loqi
nofollow has -1 karma over the last year
#
jacky
I can see why it'd be handy but I see it all over nowadays
#
[jgmac1106]
snarfed++
#
Loqi
snarfed has 53 karma in this channel over the last year (94 in all channels)
#
[jgmac1106]
going to finish my podcast migrations...they have all been added to archive.org...now to build the pages...I really got hung up because it was the single worst part of migrating ,y site
#
[jgmac1106]
....a the XML file and B making the mistake of using explicit grid columns so every show requires you to update so many classes for layout
#
aaronpk
[manton] were you going to add a note about discovering the micropub endpoint on that help page too? https://help.micro.blog/2019/api-indieauth/
[eddie], jgmac1106, [schmarty] and calumryan joined the channel
#
aaronpk
Whoa since when does the a element have a download attribute?
gRegorLove_ joined the channel
#
[cleverdevil]
That is a "whoa."
#
[cleverdevil]
Very useful!
#
gRegorLove
not sure, but I recently discovered that too. Quite nice
#
jacky
guess that's a hack to avoid using `Content-Disposition`
[kevinmarks] and tbbrown joined the channel
#
[kevinmarks]
Since 2011 or so
#
[jgmac1106]
when I met with the engineering team at @glitch they were really into IndieAuth
jackjamieson joined the channel
#
aaronpk
What for real?
#
[jgmac1106]
yeah...I forget his name...and big difference between an engineer and management liking idea, but he was 1st hire...awesome guy
#
[jgmac1106]
the rate of decay of "good idea coming from Greg's mouth" is also quick..may not even remember now, but we had a long convo about it at their HQ kickoff party
#
jacky
I can see it being done on their end
#
[jgmac1106]
they offer custom domains already so it makes a natural fit
#
jacky
wait how does that play with indieauth?
#
jacky
like it'd be another option with doing github + challenge/response (email + p/w)
#
[jgmac1106]
...well they could have an IndieAuth server of bake selfauth into any website/blog people spin up....which is just same thing as saying username and password but its fun to log in with a domain
calumryan, [tantek] and leg joined the channel
#
aaronpk
i'm trying to fix my emoji avatars on my checkins but I don't think I can get the microformats right
#
aaronpk
this is gonna take some wrangling of my HTML
#
aaronpk
wait it might not be too bad
[eddie] joined the channel
#
[eddie]
Uh oh!
#
[eddie]
Hopefully it’s not too much work 🙂
#
[eddie]
aaronpk sorry to change the topic, but regarding ActivityPub/Mastodon. As I was using Bridgy Fed I noticed an issue. When I have #indieweb in a post the Mastodon server doesn’t pick that up.
#
[eddie]
I noticed though that one of your posts appeared on the server’s cache of #indieweb posts. So there is something your site does that Bridgy Fed does not do yet. Do you happen to know where in general I should look in the nautilus code for that?
#
Loqi
[EdwardHinkle] #45 Post with hashtag doesn’t get linked?
#
aaronpk
"pick it up"
#
aaronpk
do you mean link it?
#
[eddie]
Nope register it in their system
#
[eddie]
Has posts with that tag
#
aaronpk
tags are a special type of object
#
[eddie]
Even remote posts like yours
#
aaronpk
let me see if I can find it in my code
#
[eddie]
Ahhh gotcha
#
aaronpk
(if i've added that to nautilus. might just be in my own website code right now)
#
aaronpk
yeah it's kinda annoying but you have to add a special tag object in the post in addition to the hashtag appearing in the text
#
aaronpk
same with @-mentions
#
[eddie]
👍 I thought that might also be the case hence asking instead of plowing through nautilus lol
#
aaronpk
hah it's a TODO in nautilus
#
aaronpk
one sec i'll dig it out of p3k
#
[eddie]
Thanks!
#
aaronpk
I should really do another push on Nautilus then switch over to it and rip out all my AP code from my site
#
aaronpk
my AP code in p3k is not pretty since I was just figuring things out at the time
#
[eddie]
Yeah that’s always rough when writing code while figuring things out
#
Loqi
I agree
#
[eddie]
Always turns out hacked together lol
#
aaronpk
Nautilus is much better structured since it was my second pass at it
#
Loqi
[aaronpk] You need to add a new property into the payload that describes the tag. For example: ``` "tag": [{ "type": "Hashtag", "id": "https://aaronparecki.com/tag/indieweb", "name": "#indieweb" }] ```
#
[eddie]
Awesome, thanks!
swentel and jgmac1106 joined the channel
#
[tantek]
speaking of hashtags, does any system support hashtags with dashes / hyphens
#
[tantek]
(I'm asking because I think I need to add support for that to my own site)
#
swentel
yeah, hypens work here too, don't think I have '/' working
#
swentel
tricky I think
#
aaronpk
ok fixed it. wasn't too bad, had to move the "u-checkin h-card" definition to an element closer inside
#
[tantek]
ok thanks that's very helpful!
#
[tantek]
I literally have to write code just to be able to correctly post my next github issue
jgmac1106_ joined the channel
#
swentel
GWG_, coming form chat, when reading https://indieweb.org/checkin, it might be not that easy for me to post a note or article with just a location, or an explicit checkin. Need to think about that some more.
#
GWG_
swentel: The difference between a note with a location and a check-in is the check-in property
#
Loqi
GWG_: [grantcodes] left you a message 1 day, 11 hours ago: let me know what issues you had with together or feel free to open issues on the GitHub repo
#
swentel
GWG_, also in the micropub post ? I only see 'location'
#
swentel
unless
#
swentel
I do a json post for a checkin
#
GWG_
Own Your Swarm is the most popular check-in app.
#
@Snorremd
@SJP1804 @jackyalcine Yes, that is correct. Currently there is not a very big selection of apps. Only five examples listed on their official site: https://indieweb.org/IndieAuth#Supporting_Sites I think the concept and protocol is pretty nice though. So would love to see this being adopted.
(twitter.com/_/status/1100881907376631808)
#
aaronpk
Please add any apps you use that use IndieAuth to sign in to that list!
#
aaronpk
I know there's more than 5
#
swentel
Starting to wonder if I need an explicit drupal indieweb module page
#
aaronpk
I thought there was one
#
aaronpk
what is drupal indieweb module
#
Loqi
It looks like we don't have a page for "drupal indieweb module" yet. Would you like to create it? (Or just say "drupal indieweb module is ____", a sentence describing the term)
#
aaronpk
what is Drupal indieweb
#
Loqi
It looks like we don't have a page for "Drupal indieweb" yet. Would you like to create it? (Or just say "Drupal indieweb is ____", a sentence describing the term)
#
aaronpk
what is Drupal
#
Loqi
Drupal is a popular open source content management system with excellent plugins for IndieWeb use https://indieweb.org/Drupal
#
swentel
there's just a Drupal page
#
swentel
but it's quite outdated, at least when it comes to all the functionality in the module
#
aaronpk
Use the Wordpress module page as a starting point
#
[tantek]
swentel, re: '/' working (in hashtags), I think I need that too 😂 e.g. actual hashtag / category / label I need to post "unknown/future spec"
#
[jgmac1106]
or just update and add to the page swentel I would say use the WordPress page as a model,...but it it needs love too
#
[jgmac1106]
chrisaldrich has started...in terms of plugings look though at the table included on WP pages
#
swentel
GWG_, ok, those docs are great. And the explicit post type in Indigenous will do a json post. Then I can still do articles/notes with location too (that's at least what people at the HWC still wanted too)
#
swentel
er, so, rather, 'explicit checkin post form'
#
aaronpk
Checkins are explicitly different from posts with a location so you should be able to do both no problem
#
swentel
yep, this is going to be great
#
swentel
and I can do geocaching too than :)
#
swentel
will add some brainstorm on that page
#
[tantek]
aaronpk did we document the checkin property with an issue on h-entry? proposed property?
#
[tantek]
wait did we converge on "u-checkin" per https://indieweb.org/checkin#Publish?
#
swentel
I think he's fixing his site (it seems down) :)
#
[tantek]
!tell aaronpk could you file an issue on https://github.com/microformats/h-entry/issues for u-checkin as a proposed property per http://microformats.org/wiki/h-entry#change_control? Then add it to http://microformats.org/wiki/h-entry#Proposed_Additions accordingly. Thanks!
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
swentel if you like you could file that issue instead 🙂 it's supposed to be possible for anyone to drive the research / adoption of a new feature / property like that
#
[tantek]
also feedback welcome on readability / usability of http://microformats.org/wiki/h-entry#change_control
#
Loqi
[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML. ...
[kevinmarks] joined the channel
#
[kevinmarks]
RSS categories have / in because they were thought of as hierarchical. In technorati tag days I treated each / separated one as a separate tag
#
[tantek]
note the first example with a space
#
[kevinmarks]
Spaces we lost with hashtags, yep.
#
[kevinmarks]
You can escape a / into rel-tag, though it might confuse some parsers
#
[tantek]
I'm going with __ for space