#indieweb 2017-05-16

2017-05-16 UTC
[kevinmarks] joined the channel
#
[kevinmarks]
hm, why not? I've seen notifications on android chrome work better than desktop chrome on mac
#
[kevinmarks]
my hovercards aren't very good TBH
#
tantek
design challenge or implementation challenge?
#
[kevinmarks]
design challenge mainly - coping with the variety of possible site information, and trying to make things fit in small sizes
#
[kevinmarks]
the ones where I just shrink the website look better than the ones I extract information from; http://www.unmung.com/hovertest
#
tantek
kevinmarks do you have examples of silo hovercards that look good from a design perspective?
#
@benwerd
I completely love that someone has written a @withknown to Mastodon plugin. Publish on your own site, syndicate everywhere. #indieweb
(twitter.com/_/status/864275883145568257)
#
[kevinmarks]
I need to constrain the hovercard size more explicitly, or get a lot better at CSS
nitot joined the channel
#
@ChrisAldrich
The @withknown Derbyshire release v0.9.9 is out! #onthewaytov1point0Release #indieweb #edtech https://github.com/idno/Known/releases/tag/v0.9.9
(twitter.com/_/status/864299083116290048)
tantek, sl007, bignose and KartikPrabhu joined the channel
#
Loqi
[superfeedr] "Liked Chris Aldrich's post on stream.boffosocko.com" by Michael Runcieman on 2017-05-16 http://michael.runcieman.com/2017/liked-chris-aldrichs-post-on-streamboffosockocom-5bca9e1eeb
nitot, wolftune, loicm, cweiske, jihaisse and [kevinmarks] joined the channel
#
cweiske
tt-rss dropped support for websub/pubsubhubbub because I opened a report that complained about missing lease_seconds support :/
loicm joined the channel
#
aaronpk
that seems drastic
__number5__ joined the channel
#
cweiske
something to work at on the nuremberg sunday hackday
[colinwalker] joined the channel
#
Loqi
good morning
nitot, Pierre-O and mlncn joined the channel
#
@manuelpueyo
Rethinking my personal web presence. Remembering good advice from @bruynix @betacowork #wordpress #indieweb https://twitter.com/manuelpueyo/status/864436272051441664/photo/1
(twitter.com/_/status/864436272051441664)
nitot_ joined the channel
#
@meljreedlive
@ScreenAustralia Please watch and share if you like what you see! #RiotGirl #indieweb produced & shot in Queensland https://www.youtube.com/watch?v=cvtMj0FhAwM&feature=youtu.be
(twitter.com/_/status/864436655901392896)
Pierre-O1 and [jeremycherfas] joined the channel
#
@juventud3c
DÍAS CARGADOS DE #indieweb para todos los públicos #TomavistasFest17 #casajuv3can #TresCantos… https://twitter.com/i/web/status/864441431011856384
(twitter.com/_/status/864441431011856384)
jeremycherfas joined the channel
#
Loqi
[superfeedr] "So happy to have @indiehosters to upgrade to latest @withKnown version :) #indieweb" by Ricardo Mendes on 2017-05-16 https://www.rmendes.net/2017/so-happy-to-have-indiehosters-to-upgrade-to-latest-withknown
mlncn joined the channel
#
@joelpurra
Update: meeting tomorrow Wed 19:00 will be held at Bulbul, Görlitzer Str. 38, 10997 #Berlin. Join us! =) #indieweb #webdev
(twitter.com/_/status/864445875187322880)
rMdes1, KevinMarks and indie-visitor joined the channel
#
Loqi
[superfeedr] "9 years later, I'm blogging again" by Sebastian Kippe on 2017-05-09 https://hackerbeach.org/2017/9-years-later-im-blogging-again
KevinMarks, nitot, DanC and KevinMarks_ joined the channel
#
@eli_oat
Indieweb etiquette question: when reposting or liking a link is it polite-er to link directly to the content or is… https://mmmicro.eli.li/2017/05/16/220/
(twitter.com/_/status/864476176148045824)
singpolyma, snarfed, friedcell, KevinMarks, loicm, tantek, jmelesky and jeremycherfas joined the channel
#
jeremycherfas
Looking for help extracting data from webmentions received. Different sources seem to supply vastly different amounts of information. What’s the best approach to extracting the bits I need, when they seem to occupy different key:value pairs in the file?
#
KartikPrabhu
jeremycherfas: are you using microformats?
#
KartikPrabhu
then the data should not be in different "key:value" pairs
#
aaronpk
What is comments presentation?
#
aaronpk
Some notes there
sknebel_ joined the channel
#
jeremycherfas
I am receiving the files as arrays, and there are some microformat properties I recognise in there, such as h-card and h-entry.
#
KartikPrabhu
jeremycherfas: then you should use the h-entry and h-card and parse their properties
#
jeremycherfas
I thought I was dsoing that :( but I think my understanding of parse is non-standard.
#
KartikPrabhu
by parse I simply mean use the "key:value" stuff that is inside the h-entry properties
#
myfreeweb
files? arrays? webmention gives you a source URL, which you fetch and get HTML code, which you feed to a microformats2 parser that gives you JSON with key-values pairs
#
KartikPrabhu
myfreeweb: mf2 parsers can give you "arrays" depending on the language of the parser
#
KartikPrabhu
mf2py does give you python dicitonaries
#
jeremycherfas
That’s what I thought I was doing, but the value for that is correct for one person’s webmentions is different from the other’s.
#
myfreeweb
ah php "arrays" are also dictionaries right
#
KartikPrabhu
jeremycherfas: can you show examples?
#
jeremycherfas
Myfreeweb: that’s somewhat beyond my skill level. My site runs on Grav, and a plugin writes a datafile with the contents of a webmention. That file varies greatly in complexity depending on its source.
#
jeremycherfas
Thanks kartikprabhu. I can. easier to do in Slack than in IRC. Is that OK?
#
aaronpk
Is it storing the parsed microformats?
#
jeremycherfas
I think so, but I’m so new to this I cannot be sure.
#
KartikPrabhu
jeremycherfas: I am not on Slack also I have to rush to a meeting. hoping someone else can take over
#
jeremycherfas
Thanks anyway.
#
KartikPrabhu
jeremycherfas: maybe you could upload the files to some URL on your site or Gist or something
loicm, leg and wolftune joined the channel
#
jeremycherfas
And if I’m doing this sharing wrong, please let me know how.
#
KartikPrabhu
jeremycherfas: cool, what is some data that you'd like to get from it?
#
jeremycherfas
I think it is the nesting of the arrays, and how to addres specific key:value pairs, that is most difficult for me.
#
jeremycherfas
I identified a few things I want to get. h-card:properties:name for the commenter.
#
KartikPrabhu
gaah, really have to run now. I'll try to check this later
#
jeremycherfas
h-entry:properties:in-reply-to to decide whether to include content
#
jeremycherfas
He-entry:content:value if this was a reply — to display what they said
#
jeremycherfas
h-card:url for a link to the commenter’s home page, and finally
#
jeremycherfas
One that I **can** extract, which is the source-url of the comment. The plugin gives that to me separately.
[jeremycherfas] joined the channel
#
[jeremycherfas]
Thanks kartikprabhu
#
myfreeweb
note that the h-card is sometimes in the author property of the h-entry, sometimes just out there, etc. there is an algorithm for determining the actual author: https://indieweb.org/authorship
#
[jeremycherfas]
Exactly! That’s the sort of thing that I find baffling. I wonder whether maybe I need to use json_decode() on my data file.
#
myfreeweb
it looks like YAML
#
sknebel
I'm not even sure what file format that is... Is the "h - item" thing some weird yaml option?
#
[jeremycherfas]
Yes, it is yaml.
#
myfreeweb
no the spaces are just weirdness coming from somewhere
#
myfreeweb
there's also "application / rss + xml" "apple - touch - icon - precomposed" and "in -reply - to"
nitot joined the channel
#
[jeremycherfas]
I added the spaces to help me visualise the nesting.
#
[jeremycherfas]
Sorry; not those spaces, the indenting, I added.
#
sknebel
the grav webmention uses php-mf2 at least, so the parsing should be good
tantek joined the channel
#
sknebel
and apart from the weirdness with the rels it seems fine as well
#
[jeremycherfas]
Obviously I don’t fully understand what I am doing, but a value that gets the name in one case does not get it in the other, and vice versa.
#
ben_thatmustbeme
pops his head in
#
[jeremycherfas]
A big problem is that I do not seem able to access values directly. I have to get them as properties. So in one case `config.plugins.webmention.data.0.source_mf2.items.0.properties.author.0.value` shows me the correct author name, and in the other `config.plugins.webmention.data.0.source_mf2.items.1.1.properties.name` shows me the correct author name.
#
[jeremycherfas]
Now trying to discover whether there is a better way. There must be!
#
ben_thatmustbeme
items.0.properties.author.0.value would be the correct way to access something like that
#
ben_thatmustbeme
items.1.1 ... not quite sure what you would get there
#
ben_thatmustbeme
starts to read back
#
sknebel
(we also should probably move this to -dev)
#
[jeremycherfas]
I feel even more out of my depth in #dev
#
[jeremycherfas]
That’s the thing ben_thatmustbeme The two sets of data received from two different senders are very different.
#
[jeremycherfas]
Happy to take this to #dev. How much do I need to recopy, or what?
#
ben_thatmustbeme
no need to copy, we are in both
#
ben_thatmustbeme
just to keep this channel clear
hs0ucy, [shaners] and [tamaracks] joined the channel
#
[tamaracks]
Thanks for looking into this, jeremycherfas. ? I have been looking again at whether Grav will suit my site. Initially, I worried about performance one I added historical posts, but then I realized I should try and see how caching affects that. I haven’t gotten as far as webmentions yet, but I’ll welcome any progress you make when I do.
snarfed and KartikPrabhu joined the channel
#
[jeremycherfas]
You’re welcome. I made the decision to move to Grav precisely because it is blindingly fast when all goes well, and stretches me understanding how it works. But I am by no means a developer. So in some respects it is too complex, probably. But now that I have it, I want to make it work for me.
#
[tamaracks]
Yeah. I put my blog on Wordpress for now, so I could play with all the Indieweb stuff to see how it works. Wordpress is simple on the surface, but I usually get a headache when I start trying to look at plugin or theme code if it doesn’t already do what I want.
#
[jeremycherfas]
I moved from WP, first to Octopress and then to Grav, and the headaches are very different.
#
[tamaracks]
Yep. I was thinking about Hugo, but I am not sure I want to go to a static site generator yet, because that complicates some of the interactive aspects of indieweb.
#
[jeremycherfas]
True, although lots of indiewebbers seem to have cracked those problems, whereas very few are using Grav.
#
[tamaracks]
Yes, but I haven’t found any of their implementations (yet, anyway) that I thought I could do myself. It always seems to involve ruby or node.js.
#
[jeremycherfas]
what is static
#
Loqi
A static site is a website that is served by a web server directly from the file system https://indieweb.org/static
#
[tamaracks]
Static sites are just html files. Fast to serve, but not dynamic. Like Jekyll. I think Octopress too.
#
[jeremycherfas]
I thought there were examples there, but it seems not
#
myfreeweb
octopress was just a jekyll template IIRC
dch joined the channel
#
[tamaracks]
Well, that is to say that things like Jekyll are static site generators, which generate the HTML files.
#
[tamaracks]
Yeah, that’s what I thought.
#
Zegnat
Octopress had some default plugins too, I believe?
#
voxpelli
I do Micropub, Webmentions and Websub on my Jekyll site
#
[jeremycherfas]
I don’t recall Octopress having any plugins. But I abandoned it a couple of years ago.
#
myfreeweb
http://octopress.org seems the latest edition is more of a jekyll management tool with a ton of stuff
#
[tamaracks]
@voxpelli I saw your micropub to github project. It looks pretty cool, but I have trouble grasping node.js. It might be beyond my capabilities at the moment, particularly to change the output format for something other than Jekyll.
Pierre-O joined the channel
#
[jeremycherfas]
myfreeweb Note the date on that announcement.
#
myfreeweb
[jeremycherfas]: yeah so it's been like that since 2015. so?
#
[jeremycherfas]
OK. Not going to argue.
singpolyma, snarfed and gRegorLove joined the channel
#
Kongaloosh
indiefolks! one question: are there meetups in toronto that anyone's aware of?
#
Kongaloosh
oh, I became voiced
jonnybarnes joined the channel
#
Zegnat
If you are on /IRC-people you will get voiced, Kongaloosh :)
#
aaronpk
at least when that feature works ;)
#
tantek
good to hear from you Kongaloosh !
snarfed joined the channel
#
Kongaloosh
tantek: thanks!
#
Kongaloosh
I've been in grad-student hiding
#
tantek
sounds familiar ;)
#
Loqi
awesome
#
Kongaloosh
I've been promoted to PhD student
#
Kongaloosh
and have been trying to get some interest going for possible HWC events in edmonton
#
Kongaloosh
think I've founds a comfy venue
#
Kongaloosh
so we'll see how that pans out during the summer
#
gRegorLove
What is HWC?
#
Loqi
Homebrew Website Club is a bi-weekly meetup of people passionate about or interested in creating, improving, building, designing their own website, in the same structure as the classic Homebrew Computer Club meetings https://indieweb.org/hwc
#
gRegorLove
I don't see Toronto listed, just your interest in Edmonton
#
Kongaloosh
yeah, I was hoping someone in the IRC might know of something that dosen't have a wiki
#
Kongaloosh
oh well!
#
Kongaloosh
gRegorLove++
#
Loqi
gregorlove has 92 karma in this channel (129 overall)
#
gRegorLove
Kongaloosh: Hope you can get one started. All it takes is a second person. Most of the HWCs I've helped organize have been that way :)
#
Kongaloosh
yeah, it's a matter of finding that second person.
#
Kongaloosh
we've got a strong meetup culture, but it's challenging finding the right people for it
#
Kongaloosh
probably doesn't help that I'm a machine learning person
gkbrk, [shaners], KartikPrabhu and wolftune joined the channel
#
GWG
I have always wanted to visit Toronto
#
Loqi
GWG: mpfefferle left you a message 1 day, 12 hours ago: what do you think if we split the SL code into several classes for specific problems, so that we can keep the methods smaller and simpler? for example an author-handler, and entry-handler, ...
tantek joined the channel
#
Loqi
[superfeedr] "Yes: I'm all booked and looking forward to attending IndieWeb Summit 2017." by Ben Werdmüller on 2017-05-16 http://werd.io/2017/yes-im-all-booked-and-looking-forward-to-attending-indieweb
snarfed and mlncn joined the channel
#
Loqi
[superfeedr] "ChrisAldrich on Twitter: "The @withknown Derbyshire release v0.9.9 is out! #onthewaytov1point0Release #indieweb #edtech https://t.co/NEHaKA9LxM"" by Jonathan LaCour on 2017-05-16 https://twitter.com/ChrisAldrich/status/864299083116290048
hs0ucy joined the channel
#
@johnjohnston
Enjoyed tonight’s drive home listen: Tantek Çelik – The once and future IndieWeb on Huffduffer ripped from ... http://johnjohnston.info/blog/enjoyed-tonights-drive-home-listen-tantek-celik-the-on/
(twitter.com/_/status/864585368783466496)
#
@eli_oat
Here I am again. Considering hosing wordpress for a homemade indieweb solution . https://mmmicro.eli.li/2017/05/16/228/
(twitter.com/_/status/864589376487120896)
#
tantek
interesting, I should try listening to just the audio and see how that comes across
snarfed and [colinwalker] joined the channel
#
[colinwalker]
It's on my list for tomorrow
Pierre-O, dougbeal|mb1, asteres, tanlaan, friedcell, snarfed, KevinMarks_, KartikPrabhu, KevinMarks, Gold and [chrisaldrich] joined the channel
#
miklb
heads up WP users, 4.7.5 is out with several security fixes https://wordpress.org/news/2017/05/wordpress-4-7-5/
leg joined the channel
#
GWG
Hello, miklb
#
miklb
howdy!
#
GWG
miklb: Anything to report?
#
miklb
not really. Was feeling in a rut, work load was low, so took a few days away from the code editor. Hope to get things fire up tonight.
#
GWG
I understand. I feel the need to recharge mentally sometimes.
#
miklb
I need to break down the theme work into a process, instead of a bunch of unorganized to-dos. Feel like it was keeping me from methodically building it.
#
GWG
I'm still working on Semantic Linkbacks. pfefferle had some feedback, so I need to redo what I did.
#
miklb
I may take it live on my site as soon it is minimally viable to see where the pain points are and force/speed up the work
#
miklb
I've tried to keep up on that discussion, but do not really have anything to add
#
GWG
How many examples of an h-cite nested inside a in-reply-to have people seen?
#
GWG
I didn't account for that
KevinMarks_, KevinMarks, benwerd, asteres and [kevinmarks] joined the channel