#dev 2019-01-03

2019-01-03 UTC
#
[tantek]
for you to link to both, you need something visible that makes sense to the user and worth their time to consider clicking on, for both
#
jacky
right - so I'm leaning towards a facepile
#
[tantek]
start with what visual design you want, i.e. how you want to present your likes
#
[tantek]
in a facepile there is a single affordance (the icon) thus you're constrained by your design choice to make one link per like
#
[tantek]
URL of their like is sufficient because presumably from there you can browse to their h-card / homepage
#
jacky
hmm okay
#
jacky
so re: above, I'm working on my "responses" region
#
jacky
all of the data there is filler
#
jacky
I'm using <details> + <summary> to let the browser "toggle" content (no JS needed!)
#
jacky
even the comments themselves are immediately hidden
[kevinmarks] joined the channel
#
[kevinmarks]
When you're at __ for spaces in tags you could just go straight to %20
[tantek] joined the channel
#
[tantek]
um no %20 is much less readable than __ - remember this is all in plain text
#
[tantek]
also % is not a valid hashtag character
#
[tantek]
jacky++ that's a really slick way of using details & summary for progressive disclosure of /responses!
#
Loqi
jacky has 5 karma in this channel over the last year (23 in all channels)
[davidmead] joined the channel
#
snarfed
agreed! the wordpress facepiles ellipsize and expand collapse nicely but use JS
#
GWG
snarfed: Think we should try that.
#
snarfed
meh. extremely low priority
#
GWG
snarfed: I have some people who wanted fixes to the design.
#
snarfed
GWG: if anything i'd vote you maybe work on an option for https://chat.indieweb.org/2019-01-03/1546474763493800 instead
#
snarfed
huh no Loqi. ok.
#
GWG
snarfed: Not sure how that would look though.
Jookia joined the channel
#
snarfed
a per-silo (ie domain) option in synd links to render without links, and instead maybe with strikethrough and/or some kind of hover text instead to indicate the silo post was deleted
#
snarfed
i'll prototype it myself
#
GWG
Happy to put it in at some point
#
GWG
I am doing themes right now
#
GWG
I decided jgmac1106 was right and even if I don't think my theme fork is anything special we need more themes in the repo
[tantek] joined the channel
#
jacky
thank you snarfed & [tantek]!
[tantek] and snarfed joined the channel
#
Zegnat
jacky, have you seen sebsel’s design for facepiles? E.g. scroll down to “3 personen vinden dit leuk” on https://seblog.nl/2018/11/13/3/pushapi-without-notifications - avatars link to homepages, icons link to the like/bookmark/whatever post
#
Zegnat
He even supports reacji in that location: https://indieweb.org/reacji#Sebastiaan_Andeweg
#
jacky
ah reacji was something I was afraid to look into right now
#
jacky
largely b/c of how I'd fold that in
#
jacky
peeks
#
jacky
hmm that link doesn't seem to resolve (re: seblog.nl)
#
jacky
hmm seblog.nl doesn't seem to be up at all
#
Zegnat
It was for me when I just went looking for an example
[scottgruber] joined the channel
#
Zegnat
Still loads for me...
#
jacky
weird - it's resolving nw
snarfed, leg, barpthewire, cweiske, KartikPrabhu, [voss], [kevinmarks], swentel, swentie, krychu_, [metbril], [pfefferle], deathrow1 and grobot joined the channel
#
grobot
hello
#
Jookia
Another dumb question: Any CMS suggestions? I don't want something that's going to pwn my server if I don't update it very often, so currently I'm using a static site. But having dynamic content and pingbacks/webmentions means I need something dynamic anyway
deathrow1, [davidmead], [voss] and [metbril] joined the channel
#
[metbril]
Jookia you should have a look at the wiki for CMS
#
[metbril]
what is CMS
#
Loqi
A content management system (often abbreviated as CMS) is software used to create, enter, edit, update, delete content on websites; some CMSs are used for IndieWeb sites, see the tables on this page for current usage https://indieweb.org/CMS
#
Jookia
Thanks
[davidmead] joined the channel
#
petermolnar
Jookia: there's a strong WordPress/ClassicPress support, you can talk to them in the indieweb-wordpress channel. There are modules for Drupal and Grav; there's Known with a lot of built-in support; there are a few of us with static/semi-static sites using external services.
deathrow1, [stefp] and [voss] joined the channel
#
GWG
Was someone talking about rel-prev/next recently?
snarfed and [Vincent] joined the channel
#
GWG
Hi, snarfed. Thanks for the issue
#
snarfed
welcome!
#
GWG
I will be implementing something next time I work on the plugin
#
GWG
I am working on updating my 2016 fork and taking jgmac1106's thought about submitting it to the repo so there's another compatible theme.
#
GWG
I wish I was better at design and CSS
[xavierroy], grobot, [eddie], krychu, [davidmead], [voss], snarfed, [tantek] and [cleverdevil] joined the channel
#
@koddsson
↩️ I've mostly hacked together stuff in nodejs + sqlite here https://github.com/koddsson/koddsson.com/blob/master/micropub.js with the intent to refactor and replace over time. Then I use http://webmentions.io, http://brid.gy, http://Micro.blog, http://indieauth.com and more.
(twitter.com/_/status/1080899699329122307)
#
@koddsson
↩️ I've mostly hacked together stuff in nodejs + sqlite here https://github.com/koddsson/koddsson.com/blob/master/micropub.js with the intent to refactor and replace over time. Then I use http://webmentions.io, http://brid.gy, http://Micro.blog, http://indieauth.com and more.
(twitter.com/_/status/1080899699329122307)
KartikPrabhu, krychu and snarfed joined the channel
#
[tantek]
GWG, same 🙂
#
[tantek]
GWG yes we discussed use of rel-prev for pagination and readers being able to provide a UI to view someone's previous posts that way!
#
[tantek]
what is rel-prev
#
Loqi
rel-previous is the use of the HTML rel attribute on a hyperlink to page previous to the current page with the value of "previous" to provide a way for consuming code to discover that link and navigate to it to show content previous to the current page; like an indieweb archive page that links to the previous archive page in a time series https://indieweb.org/rel-prev
#
sknebel
hm, isn't rel=prev the "canonical" one and rel=previous the less common one?
#
[tantek]
sknebel, could be. I use rel=prev myself. do you have a citation for prev being canonical? perhaps add it to the page?
#
[tantek]
just fixed the grammar / examples a bit
#
[tantek]
what is rel-prev
#
Loqi
rel-previous is the use of the HTML rel attribute on a hyperlink to the page previous to the current page with the value of "prev" or "previous" to provide a way for consuming code to discover that link and navigate to it to show content previous to the current page; like a monthly archive page linking to the previous month, or a link from a homepage with a stream to an archive page of previous posts in the stream https://indieweb.org/rel-prev
#
sknebel
microformats wiki says " Refers to the previous document in an ordered series of documents. Some user agents also support the synonym "Previous". with the HTML4 spec as source, WHATWG html5 says "Synonyms: For historical reasons, user agents must also treat the keyword "previous" like the prev keyword."
#
sknebel
I'll swap the two around so rel-previous redirects to rel-prev and add a section with that info?
#
[tantek]
good catch and sounds right. go for it!
#
[tantek]
if you just move the page to the correct location, the move should take care of the swap
#
GWG
Should that be in the head or on a visible link?
[schmarty] joined the channel
#
[schmarty]
GWG I believe either should work
#
GWG
Any pro or con? Does anything consume?
#
[tantek]
GWG, visible links are always preferred
#
GWG
I was looking under navigation
[Vincent] joined the channel
#
[Vincent]
Webmentions question, I spotted some of my webmentions from Swarm now contain an ID “wm-id”. Is this Swarm specific, or is it coming from Webmention.io ?
#
snarfed
[Vincent]: i assume you mean from https://ownyourswarm.p3k.io/
#
KartikPrabhu
snarfed: doesn't bridgy also use rel-prev/next for feed pages?
#
[tantek]
[aaronpk] OYG question, I noticed Instagram now supports alt text on photos, is OYG providing that alt text in its micropub posts? https://www.engadget.com/2018/11/28/instagram-alt-text-visually-impaired/
#
snarfed
KartikPrabhu: nope, just first page iirc
#
aaronpk
now that the alt text for microformats has been incorporated into the spec i can do that
#
Loqi
aaronpk: [tantek] left you a message 1 day, 15 hours ago: does OwnYourGram support retrieving the alt text from Instagram posts (https://www.engadget.com/2018/11/28/instagram-alt-text-visually-impaired/) and passing it along with the image to micropub?
#
aaronpk
i'll need to think about how to roll it out though, since it's going to be a breaking change for peoples' micropub endpoints
#
[Vincent]
[snarfed] sorry yes
#
[tantek]
aaronpk I thought micropub already had this in 1.0 since it was an issue we had to resolve address the a11y review
#
sknebel
it had, but apropos: can you make an editorial change removing this warning? https://www.w3.org/TR/micropub/#json-syntax-p-10
#
sknebel
or are all changes blocked with the end of the WG?
#
[tantek]
sknebel, it is possible. file an issue to remove it on the spec
#
[tantek]
if we can produce an updated REC with purely editorial changes, W3C staff can publish it on our behalf
#
[tantek]
that's a handy part of the process that allows for at least *some* maintenance
#
[tantek]
also good catch!
#
Loqi
[sknebel] #115 warning about microformats2 alt-text format can be removed
#
[tantek]
sometimes I'm tempted to put a special "www." handler (when there's no referer) Apache rule that redirects to a "Y U TYPE WWW WHEN U NO NEED TO" page
#
pstuifzand
!tell [schmarty] the unread int/bool bug is fixed by the latest commit of ek
#
Loqi
Ok, I'll tell them that when I see them next
#
[schmarty]
pstuifzand: nice! and thanks!
#
pstuifzand
It seems I missed a few cases, but the `channels` command works as expected.
#
@rubygems
authorization-endpoint (0.1.4): Discover a URL’s authorization endpoint for use with Micropub and IndieAuth clients. https://rubygems.org/gems/authorization-endpoint
(twitter.com/_/status/1080930441002213376)
tantek and [smerrill] joined the channel
#
@rubygems
redirect-uri (0.1.1): Discover a URL’s registered callback URLs for use with Micropub and IndieAuth clients. https://rubygems.org/gems/redirect-uri
(twitter.com/_/status/1080932532642897921)
#
[smerrill]
i stuffed all my Tweet archives into Hugo data files, instead of one-file-per-tweet, and my Hugo build times went from 15 seconds to 1.5. Huzzah!
#
@rubygems
token-endpoint (0.1.3): Discover a URL’s token endpoint for use with Micropub and IndieAuth clients. https://rubygems.org/gems/token-endpoint
(twitter.com/_/status/1080935199456808961)
snarfed and jackjamieson joined the channel
#
@rubygems
webmention-endpoint (2.0.2): Discover a URL’s Webmention endpoint. https://rubygems.org/gems/webmention-endpoint
(twitter.com/_/status/1080938215316639751)
kisik21, snarfed, tomasparks, [cleverdevil] and KartikPrabhu joined the channel
#
sknebel
jacky: why?
#
jacky
my microformats parser doesn't expect / understand them
#
jacky
or rather the one I'm using
#
sknebel
huh, which one?
#
jacky
it feels a bit yak-shavy when I have to go in and patch things to work
#
Loqi
[ckruse] microformats2-elixir: Microformats2 parser in Elixir
#
jacky
I'm adding some logic to Koype to detect and resolve relative and absolute h-cards if it's not an inline one
#
sknebel
can't contribute a fix to the parser instead?
#
jacky
I will - using my project to dogfood the solution
#
jacky
(it's easier for me to test in-line!)
#
jacky
but I think I can def work on the other thing I reported in it: https://github.com/ckruse/microformats2-elixir/issues/3
#
Loqi
[jalcine] #3 Use More Specific `h-${prop}` matching
#
jacky
that caused some problems with my page since my CSS framework uses `h-` as a prefix for CSS classes
#
sknebel
just commented on that
#
sknebel
generally, a parser should/must not do anything that's specific to specific types or properties, parsing is generic
#
@rubygems
webmention-cli (0.1.1): A command-line interface for Webmention. https://rubygems.org/gems/webmention-cli
(twitter.com/_/status/1080950727596523521)
#
sknebel
(exception is compatibility code for microformats1, that's specific to the microformats1 types)
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
jacky
my class name issue would still occur
#
jacky
I'd have to actively ignore some entries but not rely on the parser to do that
#
jacky
That actually works with me tbh since I got an abstraction between that library and how Koype handles MF2
#
sknebel
which ones would collide?
#
sknebel
the h-100 etc don't match that pattern
#
jacky
there's no mention what to ignore for `h-` on that wiki afaics
#
sknebel
I quoted the exact bit in my response
#
jacky
hmm maybe I'm not understanding it
#
jacky
so like `h-x100-entry` is valid but `h-100` wouldn't be
#
jacky
interesting
#
jacky
thanks for that clarification!
#
sknebel
only vendor prefixes are allowed digits, and there can be only one vendor prefix, and there has to be an [a-z] block after a vendor prefix
#
jacky
looks like I might have some weekend patching
#
sknebel
also weird with the links, to me it looks like there is a function for turning a url to absolute, but it maybe doesn't work right?
#
jacky
yeah it's expecting a <base> it seems on the page
#
jacky
but not a lot of people use that (or specify one)
KartikPrabhu joined the channel
#
sknebel
but it also takes a base_url as input
#
jacky
which I provide but it seems to not use
#
jacky
tests would help with this
#
jacky
more time on the weekend
#
snarfed
testing++
#
Loqi
testing has 10 karma in this channel over the last year (16 in all channels)