#dev 2018-03-27

2018-03-27 UTC
tantek and chrisaldrich joined the channel
#
loqi.me
created /insta (+22) "prompted by gRegorLove and redirect added by gRegorLove"
(view diff)
tantek and snarfed joined the channel
#
tantek
re-asking a question essentially asked in #whatwg
#
tantek
what is the best way to specify the author for a page?
#
Loqi
It looks like we don't have a page for "best way to specify the author for a page" yet. Would you like to create it? (Or just say "best way to specify the author for a page is ____", a sentence describing the term)
j12t, eli_oat, tantek, [tantek] and kaushalmodi joined the channel
#
@kaushalmodi
Getting almost realtime (about a minute) Webmention updates on your @GoHugoIO static site: http://Webmention.io -> webhook -> @zapier -> @Netlify POST -> Site builds -> .. -> PROFIT! :D
(twitter.com/_/status/978462490202923008)
#
tantek
what is a webmention
#
Loqi
Webmention is a web standard for mentions and conversations across the web, a powerful building block that is used for a growing federated network of comments, likes, reposts, and other rich interactions across the decentralized social web https://indieweb.org/Webmention
#
@kaushalmodi
@buhakmeh @biilmann @GoHugoIO @zapier @Netlify Webmention allows discussions/likes/etc. related to your posts/articles to stay with them.. the reader interaction does not break down into silos like disqus, twitter, facebook, etc. It also allows direct site-to-site communication.
(twitter.com/_/status/978464382656139264)
#
@kaushalmodi
@buhakmeh @biilmann @GoHugoIO @zapier @Netlify See this as an example: https://scripter.co/installing-go-toolchain/#webmentions. In the "Mentioned by Kaushal Modi on Tue Mar 7, 2017" (I am linking one of my blog posts with another, but the same concept works across sites). That whole thing is auto-retrieved using webmentions.. 2/3
(twitter.com/_/status/978464880956268544)
#
@kaushalmodi
@buhakmeh @biilmann @GoHugoIO @zapier @Netlify The meta data like author, post title, post content, etc. is auto-parsed as I am using Microformats2 HTML classes to wrap my post content.. Check out https://indieweb.org/Webmention and #indieweb IRC for more. I can answer the questions too.. as much as I know :)
(twitter.com/_/status/978465253989199872)
#
microblog.ducamp.me
edited /User:Christopheducamp.com (+18) "profile updated - enthusiast to test [[micro.blog]] on a family subdomain (microblog.ducamp.me)"
(view diff)
#
tantek
aaronpk, I'm confused about why https://aaronparecki.com/2018/03/26/16/ doesn't show up in the thread it links to on micro.blog
#
Loqi
[Aaron Parecki] At least if you bookmark https://www.facebook.com/events/ you can skip all the news feed junk and get right to the important parts.
#
tantek
is that a hole in the POSSEing to micro.blog, the syndication, or something else?
#
@kaushalmodi
@beslayed @GoHugoIO Webmentions allows me to concentrate all the conversation related to each post reside below that post and not get distributed across twitter, disqus, etc. So now "comments" can be received as webmention replies, and twitter comments get auto-backfed to my posts too.
(twitter.com/_/status/978477130727256064)
#
tantek
aaronpk - and since it didn't show up in the micro.blog thread - how do you know that the person you replied to got your reply?
#
GWG
Okay, my website is now pulling real-time location from my phone to add to posts when I tell it to look up location.
#
GWG
I feel like aaronpk
[aaronpk] joined the channel
#
tantek
GWG what about battery levels from your phone?
#
GWG
tantek: I can do that in a future version, but it is available from the same data source
#
GWG
I have a lot of data in there I could do something with
#
GWG
I could show where my car is.
#
tantek
"I have a lot of data in there I could do something with" - That's what Zuck said ;)
#
GWG
tantek: It is all my data
#
tantek
(sorry I couldn't let it slide)
#
GWG
It's my server.
#
GWG
Including what my media players are playing.
#
loqi.me
edited /silo-quits (+141) "tantek added "2018-03-26 {{benwerd}} quit [[Instagram]] and left a final post in place: https://www.instagram.com/p/BgzsAZQltSQ/?taken-by=ben.werdmuller" to "See Also""
(view diff)
#
GWG
I don't know if I want to use it all, but it seemed worth hooking it in
#
GWG
tantek: I don't get the battery level thing still.
#
@kaushalmodi
@beslayed @GoHugoIO .. as a backup, and only because twitter comments can be fetched back to my blog. The best way would of course be reply webmentions. I provide a form field to do that below each post; I'll soon write about that i.e. how to set up webmentions etc on Hugo.
(twitter.com/_/status/978483862673264640)
#
GWG
Why post battery level?
#
tantek
what is battery
#
Loqi
It looks like we don't have a page for "battery" yet. Would you like to create it? (Or just say "battery is ____", a sentence describing the term)
#
tantek
what is battery level
#
Loqi
It looks like we don't have a page for "battery level" yet. Would you like to create it? (Or just say "battery level is ____", a sentence describing the term)
[eddie] joined the channel
#
[eddie]
tantek: micro.blog is still working out some POSSE issues.
#
GWG
I just don't know why people would be interested
#
tantek
[eddie] indeed it's the POSSE threading of replies that I'm curious about
#
[eddie]
Most of the time, if you reply to a post inside of an existing conversation and ping it with a webmention, your reply will end up in the stream. However the streams aren’t nested, so sometimes it’s hard to see what is replying to what
#
[eddie]
Also, the queues sometimes get backed up, so when that happens webmentions sometimes take a little white to appear
#
tantek.com
created /originally (+32) "r"
(view diff)
#
tantek.com
created /original (+32) "r"
(view diff)
#
loqi.me
created /originally_posted (+31) "prompted by tantek and redirect added by tantek"
(view diff)
snarfed and tantek joined the channel
#
tantek.com
edited /original_post_link (+718) "other examples / Article First Appeared with example"
(view diff)
#
tantek
posts elsewhere << original post link
#
Loqi
ok, I added "[[original post link]]" to the "See Also" section of /posts
AngeloGladding, cweiske, chrisaldrich, KartikPrabhu and j4y_funabashi joined the channel
#
j4y_funabashi
morning all
[kevinmarks] joined the channel
#
@jackysee
&gt; It is psychological gravity, not technical inertia, however, that is the greater force against the open web. RSS/Webmentions are the new tools. https://kottke.org/18/03/blogging-social-media-and-ambient-humanity
(twitter.com/_/status/978561260320182272)
jeremycherfas joined the channel
#
cweiske
jeremycherfas, your feed is broken: https://www.jeremycherfas.net/blog.atom
#
cweiske
after "fix them." is an ASCII character 10
#
cweiske
which is a "DLE (data link escape)"
#
cweiske
which breaks the CDATA section
#
jeremycherfas
Oh no. I thought I had tested it after our session last week, and nothing I know has changed.
#
cweiske
and grav probably does not escape the & in tags: <category term="bread & cheese" label="Bread & cheese" />
#
jeremycherfas
Fix them in the User considers post? "... in any case can't fix them"
#
cweiske
yes. after the dot, a strange character is in the text.
#
cweiske
emacs show it as ^P: "and in any case can't fix them.^P</p>"
#
cweiske
the non-escaping of "bread & cheese" is a grav bug I think
#
cweiske
if grav generates the feed automatically
#
jeremycherfas
The escape in the tag is complex, because what I really need to do is move those links out of the h-entry (or h-article?). That's quite a big job of redoing the template.
#
cweiske
how do you build your feed?
#
jeremycherfas
A Grav plugin does it. I've never looked beneath the hood.
#
cweiske
then that grav plugin needs to be fixed
#
cweiske
KartikPrabhu, https://kartikprabhu.com/atom is broken - http status code 500
#
Loqi
Kartik Prabhu
#
jeremycherfas
To do the escaping?
#
jeremycherfas
I'll take a look later. Right now, looking at the markdown file for that post in BBEdit, and there is nothing there that I can see. Just a normal carriage return in the original markdown and </p> in the source.
#
jeremycherfas
I wonder whether it is the plugin that builds the feeds?
#
cweiske
that strange character? no, that's probably right in the markdown file
#
Zegnat
And probably invisible in the markdown file.
#
cweiske
hexdump -C $file | less
#
Zegnat
The plugin seems to have had escaping issues for a while now. 2 years ago on < and > chars: https://github.com/getgrav/grav-plugin-feed/issues/7
#
Loqi
[ohnonot] #7 plugin chokes on <> characters in markdown code blocks
#
jeremycherfas
That's why I looked in BBedit, which generally shows all invisibles.
#
jeremycherfas
Wow. Just looking here, in case that's in the production copy only.
#
Zegnat
Maybe it is a meta joke about how hard the IndieWeb is to debug?
#
Loqi
Jeremy Cherfas
#
cweiske
search for "fix them"
#
cweiske
a [] is shown after the .
#
jeremycherfas
Totally not seeing it.
#
jeremycherfas
Don't have an easy way to share images. Don't want to sign up for imgur.
#
jeremycherfas
I'll do a minor edit on the file and reupload, see whether that changes anything.
#
jeremycherfas
Git sees no difference between the file I had before and after the little edit. Maybe it is the production version only.
#
cweiske
did you try the hexdump command?
#
jeremycherfas
Truly, bizarre.
#
jeremycherfas
I did, and couldn't see anything on the local version.
#
jeremycherfas
I am going to look at the live version in the editor.
#
jeremycherfas
Nothing visible there either. Let me try hexdump on the production file
#
cweiske
cweiske@ahso2:~> curl -s https://www.jeremycherfas.net | grep 'fix them'
#
cweiske
silos, but do not want to decipher terrible, bordering on user-hostile, error messages, and in any case can't fix them.</p>
#
cweiske
<p>ADN had a really interesting revenue-sharing model for the developers who built things that used the platform. Hosting companies have tried to offer one-click installs for various things. If someone were able to create a kind of umbrella that took your money, made IndieWeb tools available and shared your money with the people who built the tools you chose to use, I do believe that could provide a home for the people who want out from the
#
Loqi
Jeremy Cherfas
#
cweiske
also on my server
#
cweiske
not only my current machine
#
jeremycherfas
What's the page down command for hexdump?
#
cweiske
IMO hexdump does not page at all
#
cweiske
you have to pipe it through less
#
cweiske
hexdump -C $file | less
#
cweiske
and less uses normal pageup/pagedown
#
jeremycherfas
OK. Then it does a line at a time after that first few lines.
#
cweiske
spacebar?
[unoabraham] joined the channel
#
jeremycherfas
My .md file shows `65 6d 2e 10 0a 0a 55 6e` at the relevant place. Which hexdump displays as `hem....Un`
#
jeremycherfas
I've got to assume this is something weird in Grav going from md to html.
#
cweiske
the 10 is the problem
#
jeremycherfas
The 0a 0a is two line feeds, right? Which the Grav md interpreter changes to p tags.
#
cweiske
2e is the dot
#
cweiske
the 10 is the problem
[pfefferle] joined the channel
#
jeremycherfas
But because it doesn't actually show anywhere that I can edit it -- unless I edit the hex -- I have no idea how to fix. Is there a tool I can edit hex with? That isn't command line.
#
cweiske
can't you delete the newlines with backspace, and also delete the dot?
#
cweiske
and then re-add the dot and the two newlines in markdown?
#
jeremycherfas
I did that, before I said that git didn't see any diff. I'll try harder.
barpthewire joined the channel
#
jeremycherfas
You'\re not going to believe this. I was looking at the wrong place in BBedit.
#
jeremycherfas
I was in full on panic mode.
#
jeremycherfas
Please take another look cweiske. I've cleared the cache.
#
cweiske
same issue: "just before the introduction of the ^PChorleywood process."
#
cweiske
how-great-canadian-wheat-ruined-industrial-bread<
#
cweiske
you probably have a keyboard shortcut which inserts this character that accidentially trigger :)
#
cweiske
then the feed is - apart from the bread & cheese unescaping - clean
#
jeremycherfas
I can only think it might possibly be something from the Clipboard manager of Alfred.
#
jeremycherfas
Zegnat I don't think it is the feed plugin that is the problem. I think it is more likely to be grav-plugin-taxonomylist, which actually creates those tags.
#
cweiske
but the feed plugin needs to escape the special characters when outputting XML
#
jeremycherfas
But if they were escaped when the html was built, then it wouldn't be a problem, would it?
#
cweiske
I have no idea how the feed plugin works. it surely doesn't parse the html?
#
jeremycherfas
I would need to look.
#
cweiske
just open a bug for that plugin
#
jeremycherfas
About to do that.
[kevinmarks] joined the channel
#
[kevinmarks]
thats very odd that 0x10 is being inserted, I can't think of anything that uses that. Did some developer get mixed up with ASCII 0x0a for LF which is 10 decimal?
#
jeremycherfas
How could I possibly find out? My suspicions are hinging on Alfred at the moment.
#
cweiske
you'd have to find out how to reproduce that issue
#
jeremycherfas
It's on my list ...
j4y_funabashi and KevinMarks joined the channel
#
skippy
what PHP library do folks use for posting to Twitter?
#
skippy
i assume I need to do the OAuth dance, and don't feel like writing that myself.
#
skippy
alternately, what solutions for posting to twitter from bash might exist?
#
skippy
:grin:
KevinMarks joined the channel
#
aaronparecki.com
edited /Posts_about_the_IndieWeb (+308) "/* 2018 */ ¿Qué es la IndieWeb?"
(view diff)
#
jeremycherfas
Am I correct that you can have several h-entry on a page, if that page is, say, a recent posts kind of page?
[kaushal_modi] joined the channel
#
[kaushal_modi]
skippy: I'd be interested in that too. At the moment, I need to post manually, then copy the URL back in my post, and republish. I use Hugo static site generator. So am curious to see what other static site users do. What I do at the moment is not a big deal though, as I don't write too many posts.
#
skippy
i'm cooking up a solution for Hugo, too.
#
[kaushal_modi]
*by "post manually*, I meant, "post to Twitter manually"
#
skippy
I need to push this to Github so others can see how I'm solving this. It's a little convoluted, but it seems to be working (for me).
#
[kaushal_modi]
Awesome! Looking forward to that.
#
cweiske
shouldn't brid.gy be solving that?
#
skippy
bridgy CAN solve that. but I'd prefer to own the whole process, if I can.
#
cweiske
ah, ok
#
aaronpk
!tell tantek micro.blog's webmention processing has been backlogged for a day or two, but that post appears on micro.blog now that it's caught up
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
dgold: for your own twitter account you can make a twitter app and it'll give you a "personal access token" so you can skip the oauth dance
#
aaronpk
twitter's oauth 1 is still annoying enough that you should definitely use a library to make the API request tho since it involves a mess of signing parameters
#
aaronpk
this is the library I use https://twitteroauth.com/
KevinMarks joined the channel
#
skippy
thanks aaronpk
#
aaronpk
oops not sure why I said dgold
#
dgold
:) was wondering
#
aaronpk
I think it's because your colors in my irc client are the same
#
aaronpk
and apparently I associate color+length stronger than the actual letters
[kevinmarks] and KevinMarks joined the channel
#
cweiske
where did you get that wm-processing-backlogged info from?
#
skippy
I found a nice Python library, which I can use from the shell.
KevinMarks_ joined the channel
#
[kevinmarks]
You could use silo pub, but it's not up
Kyle-K and KevinMarks joined the channel; Kyle-K left the channel
#
dgold
skippy the bush kanga-dolphin
#
skippy
heh. haven't heard either of those jokes for some time!
snarfed and tantek joined the channel
#
[kevinmarks]
[jeremycherfas] if you have a lot of h-entry on a page, consider wrapping them in a h-feed so you can give a name and summary of the whole thing
#
jeremycherfas
Thanks kevinmarks. Not a lot, just summaries of five most recent posts.
#
jeremycherfas
Do you think that would still be worthwhile?
#
[kevinmarks]
what's the page?
#
skippy
!tell [kaushal_modi] here's the initial commit of my somewhat convoluted micropub setup for Hugo: https://github.com/skpy/micropub
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[skpy] micropub: a minimal PHP micropub endpoint, with media support
#
skippy
suppose i should add a license to all that....
kaushalmodi joined the channel
#
kaushalmodi
skippy: Thanks
#
kaushalmodi
skippy: I had a quick look.. The setup looks out of my skill level, and also probably won't work on Netlify?
#
kaushalmodi
" I run PHP in a container, which mounts my host's /var/www/html into the container. On my host, /var/www/html holds a WordPress multi-site setup." I wonder if mounting et al would be possible on Netlify.
#
skippy
i dont know anything about netlify.
#
skippy
if netlify gives you php, you can probably streamline this a lot.
#
kaushalmodi
OK, no problem. Micropub setup is on my list of things to investigate.. I will revisit this later.
#
skippy
you wouldnt need the incron stuff.
#
skippy
sure thing. one more example of how to do it. not the only way to do it. the linked examples are good references, too.
#
skippy
s/examples/inspirations/
#
kaushalmodi
kevinmarks: Do you need to tag the elements inside h-entry classes in h-feed?
#
kaushalmodi
i.e. I understood the h-feed > h-entry part. But then, is h-feed > h-entry > p-name, etc. needed too?
#
kaushalmodi
Just confirming because I don't see any mention of doing so in http://microformats.org/wiki/h-feed
#
Loqi
h-feed
#
tantek.com
edited /MediaWiki:Sidebar (+69) "try some emojis"
(view diff)
#
aaronpk
hahaha amazing
#
Loqi
hehe
#
tantek.com
edited /MediaWiki:Sidebar (-2) "copyright cc0"
(view diff)
#
tantek
aaronpk you mean the emojis?
#
Loqi
tantek: aaronpk left you a message 1 hour, 42 minutes ago: micro.blog's webmention processing has been backlogged for a day or two, but that post appears on micro.blog now that it's caught up
#
[kevinmarks]
you should put a p-name in the h-feed for the blog name, like you do in the atom feed:
#
tantek.com
edited /MediaWiki:Sidebar (+18) "indent name of IWC"
(view diff)
#
tantek.com
edited /MediaWiki:Sidebar (+18) "more spaces"
(view diff)
#
Loqi
it is probable
#
www.svenknebel.de
edited /user-agent (+373) "silos can be identified by those too"
(view diff)
#
kaushalmodi
kevinmarks: Thanks, that's what I did. I believe this looks good?: http://xray.p3k.io/parse?url=https%3A%2F%2Fscripter.co
#
tantek
cweiske++ wow thanks for identifying so many dead links! https://indieweb.org/wiki/index.php?title=projects&diff=prev&oldid=41350
#
Loqi
cweiske has 30 karma in this channel (132 overall)
#
tantek
good sign that many (most?) of those projects should be moved/archived
#
tantek
to-do << Identify whole dead [[projects]] from https://indieweb.org/wiki/index.php?title=projects&diff=prev&oldid=41350 and move/archive them to another page accordingly, perhaps with archive-org links for their dead links
#
Loqi
ok, I added "Identify whole dead [[projects]] from https://indieweb.org/wiki/index.php?title=projects&diff=prev&oldid=41350 and move/archive them to another page accordingly, perhaps with archive-org links for their dead links" to the "See Also" section of /to-do
#
tantek
original post link << posts-elsewhere
#
Loqi
ok, I added "[[posts-elsewhere]]" to the "See Also" section of /original_post_link
#
kaushalmodi
About the xray link I posted last, looks like the whole h-entry content is getting merged into the h-entry/name
#
kaushalmodi
So may be I should nest p-name and e-content in there too?
#
kaushalmodi
So: h-feed > h-entry > { p-name, e-content } ?
#
tantek.com
edited /posts (-26) "mv see also"
(view diff)
#
tantek.com
edited /posts-elsewhere (+25) "to here"
(view diff)
#
kaushalmodi
Actually, I just did that/similar ( h-feed > h-entry > { p-name, p-summary } ), and now the JSON tree looks better: http://xray.p3k.io/parse?url=https%3A%2F%2Fscripter.co
#
sknebel
kaushalmodi: you can also look at the direct mf2 parsing output (xray does some post-processing of it's own), e.g. at pin13.net
#
sknebel
oh, that uses a different site. pin13 url for completeness ;) pin13.net/mf2/?url=https://scripter.co
#
kaushalmodi
sknebel: Thanks! Then I wonder why "<p class="p-name hide">A Scripter&#39;s Notes Homepage</p>" isn't working..
#
kaushalmodi
as you see the h-feed/name is set to the whole page string
#
kaushalmodi
I have that p-name nested inside h-feed
tbbrown joined the channel
#
sknebel
hm... the p-tag doesn't seem to be closed, maybe that trips up the HTML parser?
#
kaushalmodi
That's HTML minification at work..
#
kaushalmodi
The minification, I agree, is very aggressive.. though xray detects the name fine.
#
kaushalmodi
I take that back.. xray doesn't detect the p-name at all
AngeloGladding joined the channel
#
KartikPrabhu
!tell cweiske thanks for the heads up. fixed now. somehow introduced a bug in mf2py debug info!
#
Loqi
Ok, I'll tell them that when I see them next
#
kaushalmodi
Not sure if the missing-p-tag issue is the php parser bug or the minification tool's bug.. but I have filed this issue there: https://github.com/tdewolff/minify/issues/194
#
Loqi
[kaushalmodi] #194 Closing HTML tags get removed?
#
Zegnat
P elements do not strictly need a closing tag in HTML. So if the minification just wants the least bytes possible that sounds like a feature.
#
Zegnat
It may be that the PHP HTML parser is to blame. It's not a fully compliant HTML5 parser.
snarfed joined the channel
#
sknebel
the python parser understands it.
#
sknebel
not on the live site though
#
sknebel
but I also can't find a small test case that breaks...
#
aaronpk
hm the <article> tag is not breaking the <p> tag
#
kaushalmodi
aaronpk: correct
#
aaronpk
guessing the php html parser doesn't understand <article> tags then
#
Zegnat
To run the autoclosing algo the parser needs to know what elements are not supposed to go inside P (no phrasing content). PHP does not have an html5 parser and probably doesn't even know article at all.
#
kaushalmodi
After I opened that issue, I found out that a lot of tags don't need closing: http://blog.teamtreehouse.com/to-close-or-not-to-close-tags-in-html5
#
Zegnat
We could switch to a more compliant parser, but will be slower as it will be one written in PHP rather than C
#
kaushalmodi
aaronp: I see that xray also does not parse the h-feed/p-name
#
kaushalmodi
Is it using the same parser?
#
aaronpk
xray uses the php parser yeah
#
aaronpk
it just runs some additional stuff after that
#
aaronpk
maybe we should make the php parser use this if available? https://github.com/Masterminds/html5-php
#
Loqi
[Masterminds] html5-php: An HTML5 parser and serializer for PHP.
#
Zegnat
Yes that would be the one I would recommend switching to, aaronpk
#
aaronpk
since that's a pretty massive dependency, i would want to make it use that library if it's loaded in the environment, but not have it require it
[cleverdevil] joined the channel
#
Zegnat
Make it an optional requirement in the composer config. Make sense to me
#
kaushalmodi
let me know how I can test that if you go that route
#
Zegnat
I can probably PR that when I drag myself out of bed
#
aaronpk
(right now the parser is contained in a single file, and i'd like to keep it that way)
#
aaronpk
so for people who don't want to use composer they will still be able to load just the one file
#
Zegnat
I don't know how to make TravisCI work with that though...
#
aaronpk
hm yeah we'll want to have two sets of tests then, one with each html parser
#
aaronpk
-> #microformats
#
cleverdevil.io
edited /multi-photo (+75) "/* Supporting Services Projects */"
(view diff)
[kevinmarks] joined the channel
#
[kevinmarks]
maybe make that <p> a <div> and close it - it is confusing unmung too
#
KartikPrabhu
[kevinmarks]: hmm mf2py should handle those kinds of things
#
[kevinmarks]
I know- it does if I paste in the html to parse, but giving it the url fails
#
gRegorLove
Node parses with the unclosed <p>
#
[kevinmarks]
very confusing
#
kaushalmodi
It's probably also the <article> that follows the unclosed <p> as Zegnat/aaronpk noted
#
gRegorLove
Though Node gets "article content" as part of the name, so that's not quite right. Same for Ruby.
#
kaushalmodi
.. that's causing the problem as the current parser doesn't recognized HTML5 tags like article
#
gRegorLove
Go only gets "Hello World"
#
sknebel
[kevinmarks]: lxml vs html5lib?
#
kaushalmodi
I guess my site turned out to be a good test case :P
#
KartikPrabhu
yeah possibly html5lib should handle this
#
aaronpk
right the problem is that unless the parser understands html5 tags it thinks <article> is allowed inside <p>
#
Zegnat
Go has a pretty stable HTML parser from what I have gathered.
#
Zegnat
idly wonders what happens if he were to run Tidy first
#
[kevinmarks]
running it locally works, so maybe unmung as deployed is using lxml
#
[kevinmarks]
Go's parser was written after html5 was standardised, so is likely to follow that
#
kaushalmodi
The minify tool that I am using is written in Go, so I assume it uses some Go HTML parser internally or for testing?
#
Zegnat
And PHP is still using libxml for HTML parsing :( There was some work to get Gumbo (a Google made HTML5 parser) into PHP, but that seems to have stalled
#
Loqi
[layershifter] gumbo-php: Low-level PHP extension for HTML5
tantek and tbbrown joined the channel
#
tantek.com
created /❓ (+17) "r"
(view diff)
#
tantek.com
edited /📑 (-2) "from sidebar"
(view diff)
#
tantek.com
created (+33) "r"
(view diff)
#
gRegorLove
Gumbo looks cool. Unfortunate bug, though: https://github.com/layershifter/gumbo-php/issues/6
#
Loqi
[ajgarlag] #6 Double encoding of entities.
#
tantek.com
created /✳ (+35) "r"
(view diff)
#
tantek.com
created /✳️ (+35) "r"
(view diff)
#
gRegorLove
what is 🏰
#
Loqi
A silo, or web content hosting silo, in the context of the IndieWeb, is a centralized web site typically owned by a for-profit corporation that stakes some claim to content contributed to it and restricts access in some way (has walls) https://indieweb.org/%F0%9F%8F%B0
AngeloGladding joined the channel
[jgmac1106] joined the channel
#
tantek.com
edited /Germany (+4) "update"
(view diff)
#
tantek.com
edited /🏰 (+3) "Germany gets the European castle"
(view diff)
#
snarfed
wrote up much of what i did to get python 3 compatible code running on app engine standard (cc [kevinmarks]): https://snarfed.org/python-3-on-app-engine-standard
#
[kevinmarks]
ah, I was being confused by my cache I think
KevinMarks joined the channel
#
tantek
following from #indieweb
#
tantek
I think one key missing piece is one-click responses/actions for everything people are used to doing in social media
#
tantek
so for example we have one-click likes, reposts, (RSVPs even IIRC in Woodwind) working
#
tantek
we don't yet have one-click "follow" (and unfollow)
#
aaronpk
ah yeah the follow UX is still a bit awkward in monocle
#
tantek
which is just one example of broader /webactions
#
tantek
making one-click actions / responses work *without* requiring Micropub auth/perms
#
aaronpk
yeah that's a real trick if you want to avoid leaking information to the site you're visiting, which is analogous to silo versions of the feature
#
tantek
person A has a follow button, person B viewing person A's site wants to click the follow button and have that "just work" to add to their followings list (wherever they keep it, likely on their own site, possibly a microsub server)
#
tantek
aaronpk: pretty sure the indieconfig solution doesn't leak that information
#
tantek
anyway it's getting close
#
aaronpk
it leaks which service is used for the action
#
tantek
I don't think so - that's in the browser protocol handler only
#
aaronpk
hm what am i thinking of then
#
tantek
I think someone (Zegnat ?) asserted it leaked information
#
tantek
but I don't think anyone actually demonstrated how
#
AngeloGladding
i'd love some guidance on follow/associate action flows
#
AngeloGladding
associate being analogous to "Add Friend|Contact|.."
#
Zegnat
Do not think it was metantek, I haven’t touched indieconfig
#
AngeloGladding
oh tantek you may be thinking of me
sebsel joined the channel
#
AngeloGladding
i was hesitant to use it at first but have come around
#
tantek
AngeloGladding: yes I think you're right
#
AngeloGladding
i was worried about a public computer caching the previous user's use
#
tantek
hmm interaction with private browsing mode would be interesting to figure out, but I think orthogonal
#
AngeloGladding
ooh.. good idea
#
tantek
aaronpk: we still need agreed upon ways to make steps 4, 8, 9 work here: https://indieweb.org/The_Social_Network#Features_shown
KevinMarks joined the channel
#
tantek
then we can make the parody of TSN trailer
#
tantek
(yeah this is why I analyzed it)
#
tantek
Though Zegnat has made *some* progress on step 8
#
tantek
4 and 9 are counterparts presumably
#
tantek
and not even sure we want / need those literally
#
aaronpk
i imagine that would be "request to follow a friends-only feed" rather than just "friend"
#
tantek
even that I'm not a fan of
#
tantek
that's the Twitter/IG private account model
#
tantek
dislike
#
tantek
I prefer the Dopplr model
#
tantek
"share private posts by default with ... "
#
aaronpk
the nice thing about the indieweb is we can have both, and people can choose which they like :)
#
tantek
or rather "allow ... to see friends-only posts"
#
tantek
so there is no confirm
#
tantek
but for demo purposes, I'd rather see "Follow" and "Block" working
#
tantek
seems more relevant to the times
#
AngeloGladding
personally i want to be able to add a person to my rolodex -- from there i can chose to relate(trust)/follow/etc.
#
tantek
aaronpk the other challenge is to rebuild SWAT0 functionality, as I think nearly everyone involved in those demos has tools that changed/broke
#
aaronpk
yeah we do need to bring that back
#
skippy
re: posting to twitter from bash: https://github.com/piroor/tweet.sh
#
Loqi
[piroor] tweet.sh: Twitter client written in simple Bash script
#
tantek
aaronpk, make it an annual IWS challenge
#
aaronpk
not a bad idea :)
#
tantek
we should figure out prizes for those who can actually make it work with their own site as player A, B, or C
#
aaronpk
selfie stick?
#
Loqi
totally
KevinMarks joined the channel
#
tantek
badges for their sites
#
tantek
I participated in SWAT0 2018!
neil1 joined the channel
#
Zegnat
Signed stickers? https://www.unixstickers.com/signed-stickers - Collect all the IndieWeb founder signatures.
#
bear
I love the idea of a sticker or badge that has different segments -- to show levels of compliance/functionality
#
aaronpk
swat0 has three roles, that could work nicely :)
gRegorLove_ joined the channel
#
bear
planning for swat0 would be a nice prod for me to get back into delivery changes to my site
#
aaronpk
that would probably also prod me to actually add websub subscriptions to aperture too
#
aaronpk
it's just polling right now so wouldnt look great in a demo
[jeremycherfas] joined the channel
#
[jeremycherfas]
What is swat0
#
Loqi
SWAT0 is an abbreviation for The Social Web Acid Test level 0 and is a user-feature interoperability test for social web functionality defined on 2010-07-18 at FSWS2010 https://indieweb.org/SWAT0
[cleverdevil], tantek and eli_oat joined the channel
#
tantek.com
edited /SWAT0 (+760) "/* IndieWeb Examples */ add Individual Roles section to collect folks who can only do one or more roles but haven't been able to demo interop with 2 other projects/solutions, incremental steps are good, separate mixed silo/indieweb example"
(view diff)
#
tantek.com
edited /SWAT0 (+87) "note dfn of most recent indieweb demo"
(view diff)
#
tantek
what is SWAT0
#
Loqi
SWAT0 is an abbreviation for The Social Web Acid Test level 0, a user-feature interoperability test for social web functionality defined on 2010-07-18 at FSWS2010, and most recently demonstrated passing with IndieWeb examples live at IndieWebCamp 2015 https://indieweb.org/SWAT0
#
tantek
being transparent about the last time we had it working for sure per all requirements
eli_oat, j12t, [kimberlyhirsh], KevinMarks, chrisaldrich, [tantek] and tantek joined the channel
#
www.boffosocko.com
edited /Facebook (+134) "/* How to */ Textile tool for Facebook Export"
(view diff)
[kevinmarks] joined the channel
#
[kevinmarks]
I think acegiak is the only one who could play all 3 roles
#
tantek
[kevinmarks]: not according to the wiki
eli_oat joined the channel
#
tantek
what are metrics
#
Loqi
exercise is a (typically) passive post type that represents some form of physical activity https://indieweb.org/metrics
#
tantek
what are analytics
#
Loqi
analytics is the collection, analysis and reporting of a websites traffic https://indieweb.org/analytics
#
tantek
analytics << 2018-03-21 Criticism: focusing on (common) analytics led to clickbait: Stanford News: [https://news.stanford.edu/2018/03/21/this-stanford-scholar-learned-clickbait-will-surprise/ What this Stanford scholar learned about clickbait will surprise you]
#
Loqi
ok, I added "2018-03-21 Criticism: focusing on (common) analytics led to clickbait: Stanford News: [https://news.stanford.edu/2018/03/21/this-stanford-scholar-learned-clickbait-will-surprise/ What this Stanford scholar learned about clickbait will surprise you]" to the "See Also" section of /website-analytics
snarfed, eli_oat, KevinMarks and [kimberlyhirsh] joined the channel