#dev 2018-04-17
2018-04-17 UTC
jjuran joined the channel
#
dansup aaronpk: interesting, is your site compatible with gnusocial?
#
dansup interesting
tantek joined the channel
#
dansup aaronpk: I'm working on a federated image sharing web app (like instagram meets mastodon), I'll have to bug you sometime and figure out how we can get interop
#
dansup Just started it last night, but I'm making pretty good progress already. Basic stuff like registering and posting to the local timeline is done
jjuran joined the channel
#
dansup aaronpk: I'm not sure that webmentions are the best idea for use in the fediverse, privacy wise. https://mastodon.social/@dansup/99798566933190785
#
dansup If you have ActivityPub support on your site, I can remote follow you and my server will push any updates I make to your site
#
dansup no I made that thread I linked.
#
aaronpk but directly related https://mastodon.social/@dansup/99808239582872418
#
Loqi [dansup] @deadsuperhero Privacy should be the priority. Gargron made a good point here https://mastodon.social/@Gargron/99798054496158900. If webmentions are implemented, it should default to opt-out with a setting to enable it.
#
dansup aaronpk: If webmentions are supported, I think it should be opt-in by default. The user might not be aware of that, so I think privacy wise it should be disabled by default. What do you think?
#
dansup Yeah, maybe I am being too paranoid. I would be okay with blacklisting webmentions to facebook and google and enabling them ;)
eli_oat joined the channel
#
gRegorLove This is a weird PHP thing I don't think I've seen before: `class Foo {}` followed by just `Foo;` not `new Foo();`
#
gRegorLove Inherited code on a PHP 5.4 server (ouch)
#
gRegorLove That's what I'm trying to figure out, hah. In my testing no, just treats it as an undefined constant, so treats it as 'Foo'
#
gRegorLove The files were encrypted with ionCube, so I'm wondering if the decryption messed something up.
AngeloGladding joined the channel
#
aaronpk so I got this error "The authorization server replied with me=https://tiny.xyz.dev/ but we were expecting https://scratch.io.dev/"
Mandrake and renem_ joined the channel
#
@ChrisAldrich Today I updated the IndieAuth plugin for #WordPress, and I can now use my own website as an #IndieAuth authorization endpoint (including provisioning and revoking tokens) for a multitude of things including a huge number of micropub clients.
http://boffosocko.com/2018/04/16/indieauth-for-wordpress/ (twitter.com/_/status/986059289658777600)
leg and [miklb] joined the channel
jjuran joined the channel
#
vrij-inter.net profile bijnasimon moved /User:Vrij-inter.net_profile_bijnaSimon to /User:BijnaSimon "Looks nicer"
[eddie] joined the channel
#
@bijnaSimon Heb net mijn @withknown (micro)blog gekoppeld aan mijn Twitter-account. Met de resulterende mogelijkheid van http://IndieAuth.com om met mijn domein in te loggen, heb ik op de IndieWeb-wiki een gebruikerspagina aangemaakt — https://indieweb.org/User:bijnaSimon (https://vrij-inter.net/s/4Ih8m) (twitter.com/_/status/986083647945093120)
AngeloGladding, [jeremycherfas], cweiske, eli_oat[m], [pfefferle], mindB, plindner, grantcodes, schmarty, myfreeweb, peterlawson[m] and zoglesby joined the channel
KartikPrabhu, [unoabraham], [jeremycherfas] and [kevinmarks] joined the channel
#
[kevinmarks] [dansup] how are the privacy and ddos implications different for activitypub than webmention?
swentel joined the channel
#
[kevinmarks] If you accept @ mentions from people, how is using webmention versus activitypub different?
#
[kevinmarks] Right but dansup and gargnon are talking as if webmention is qualitatively different and I don't understand why
[snarfed] joined the channel
#
[snarfed] short answer is https://indieweb.org/private_posts
[unoabraham] and dgold joined the channel
#
petermolnar Zegnat: see the history of trackback on that
[kevinmarks] joined the channel
#
[kevinmarks] And see the history of email for the inbox outbox model that activitypub uses
jeremycherfas joined the channel
jeremych_ and [jgmac1106] joined the channel
[jgmac1106] joined the channel
#
[jgmac1106] I use a script for all my nav menus on my courses. I release modules once a week. My students have to delete their browser cache to get the javascript to load my side navigation. Is there anything I can do so they don't have to do this?
[kevinmarks] joined the channel
#
[kevinmarks] how is the js loading the data?
iasai_ joined the channel
#
[jgmac1106] swentel I just tried it. tjhat works thanks
#
[jgmac1106] sorry Kevin didn't see you asked. I was using: var xhr = new XMLHttpRequest();
#
[jgmac1106] xhr.open('GET', encodeURI('sidebar.html'));
#
[jgmac1106] xhr.onload = function() {
#
[jgmac1106] if (xhr.status === 200) {
#
[jgmac1106] //alert('User\'s name is ' + xhr.responseText);
#
[jgmac1106] document.getElementById('sidebar-wrapper').innerHTML = xhr.responseText;
#
[jgmac1106] }
#
[jgmac1106] else {
#
[jgmac1106] alert('There is no sidebar.html to load. Error: ' + xhr.status);
#
[jgmac1106] }
#
[jgmac1106] };
#
[jgmac1106] xhr.send();
[miklb] joined the channel
#
www.svenknebel.de edited /Fatwigoo (+186) "also potentially an issue if content is included in other pages" (view diff)
[jgmac1106], KartikPrabhu, leg, [pfefferle] and [miklb] joined the channel
[kevinmarks] joined the channel
#
[kevinmarks] That should use browser caching, so if it is not working right you may have your cache headers misset
singpolyma and Mandrake joined the channel
#
@Uxlco0 ↩️ @Tamala75 @MaisOuVaLeWeb La blockchain des blogs ?
aah oui Webmentions ;) (twitter.com/_/status/986263073886560257)
KartikPrabhu, tantek and [jgmac1106] joined the channel
#
[jgmac1106] <meta http-equiv="Cache-control" content="no-cache"> in the header would that work?
#
[jgmac1106] that doesn't seem smart though
#
Loqi It looks like we don't have a page for "cache-control" yet. Would you like to create it? (Or just say "cache-control is ____", a sentence describing the term)
#
[jgmac1106] reading the MDN article now so not answering, have to hand it to the crew Documentation getting better and better.
benharri joined the channel
#
[jgmac1106] ooh may play with <expires> since I release moduels on a weekly schedule
#
@Tamala75 ↩️ @Uxlco0 @MaisOuVaLeWeb mmmh je découvre Webmention, je vais creuser ça :) https://t.co/ju2Gtd2n8n (twitter.com/_/status/986269851953004544)
#
[jgmac1106] "Cache-Control: max-age=604799, must-revalidate" maybe better will this on a supershort interval and then see if I can deploy for next week
snarfed joined the channel
#
tantek !tell sebsel thanks for the link https://seblog.nl/2017/02/20/4/day-36-reacji - I'm having difficulty understanding what the screenshot is about though - is it a screenshot of your home page/stream? or is it how you show reacji from other to your posts?
kaushalmodi joined the channel
#
kaushalmodi Surprised to see Org mode referenced here; I use it for my site source :)
singpolyma and jjuran joined the channel
#
kaushalmodi After the debate, I tried implementing jf2 json files for my static site, and it was a much better experience than manually embedding the mf2
#
kaushalmodi jf2feed: https://scripter.co/jf2feed.json
#
kaushalmodi Of course I am talking from my perspective, but there's hardly any maintenance neeeded in the case of static sites.. it's just 2 lines to implement the jf2post.. which will work independently of how the page HTML changes: https://gitlab.com/kaushalmodi/hugo-theme-refined/blob/0f371f0fecbaabadaf7ff2621eb020d5f53ba313/layouts/_default/single.jf2post.json#L20-21
#
Zegnat Adding mf2 to your HTML also adds maintenance, I think that is the argument some people are making. So if (plain HTML + sidefile) is less maintenance than (plain HTML + mf2), that is totally doable. E.g. kaushalmodi saying adding a jf2 file was less maintenance than adding mf2 into the HTML.
#
kaushalmodi correct
#
kaushalmodi Someelse else presented the benefit of sidefiles.. basically separating the content from metadata.
#
kaushalmodi If I disable jf2 generation (by commenting just one line in my site setup), my site will still be functional.
#
kaushalmodi I cannot disable mf2 embedding that easily.
#
kaushalmodi For mf2 embedding, you might have to structure your HTML a particular way.. for example, I needed to add few extra div wrappers for mf2 classes.
#
kaushalmodi Adding jf2 sidefiles did not need me to mess with the content (HTML)
#
kaushalmodi tantek: By meta-data, I mean.. the data not used to show the content on browser.
#
kaushalmodi I had to add many divs and spans with .hide class just for adding p-author, h-card, etc.
#
kaushalmodi Because I treat that as meta-data, not something to display on my site
#
kaushalmodi OK, let's not consider the technicality of meta-data vs data for now.
#
kaushalmodi What I am getting at is that I needed to add this for h-entry compability:
#
kaushalmodi <!-- To complete the h-entry meta-data as per https://indiewebify.me/validate-h-entry/ --> <a class="u-url hide" href="
{{ .Permalink }}"></a>#
kaushalmodi no, not on that same page
#
kaushalmodi On the list/feed pages, I of course had the post permalinks, so there this hide class was not needed
#
kaushalmodi tantek: https://scripter.co/optimize-your-fontawesome/ For example: why would I need a permalink for a page on itself?
#
singpolyma I've always done that, but I know some people don't
#
kaushalmodi also, some posts don't have dates too.. like "about" page or "colophon" page
#
singpolyma the default WP theme still does
#
singpolyma ... and "about" page is not a post
#
kaushalmodi so that's the point I am making..
#
kaushalmodi with sidefiles, you can pack all the needed "data" in there, without messing with the normal page HTML structure
#
Zegnat kaushalmodi, a possibly slightly less ugly way to do it is to use link[rel="canonical"]. See source here: https://vanderven.se/martijn/big5.html
#
kaushalmodi Zegnat++ Very cool, will do that.
#
singpolyma you certainly don't need the class=hide in your case because (a) you have no text in the anchor tag, so it won't show anyway and (b) you can target u-url directly with CSS
#
Loqi A permalink is a URL which typically represents and retrieves a single post (also explicitly called a post permalink) https://indieweb.org/permalink
#
kaushalmodi tantek: About copying, I just do Ctrl+L Ctrl+C :)
#
singpolyma In general, people can copy the permalink from their location bar. But I do still linkify my title because it's easy
#
singpolyma and helps some users
#
singpolyma really? Which mobile?
#
singpolyma interesting
#
singpolyma Oh man. that sounds horrible
#
singpolyma I use mobile all day. Just not iOS :)
#
singpolyma Good to hear about these limitations
#
kaushalmodi Zegnat: I see one problem implementing your trick.. My "single post" template touches just the body tag.
#
kaushalmodi To add that rel=canonical, I will need to rearrange my template structure to include head tag in the "single post" layout too
#
singpolyma kaushalmodi: or move the link tag to body, maybe?
#
kaushalmodi tantek: that's why I stick with static sites.. think work exactly as I designed.. but I can see a use of permalinks in those cases
#
kaushalmodi s/think works/things work/
#
kaushalmodi tantek: That's was I have right now
#
kaushalmodi .. the a tag with u-url class
#
kaushalmodi I was just looking into refactoring that into rel=canonical
#
singpolyma kaushalmodi: tantek means that markup literall. empty string for href
#
kaushalmodi ah, understood, thanks
#
kaushalmodi tantek: I'll just leave it as it is for now. Replicating the permalink is not a problem.. it's just .Permalink in my template
#
kaushalmodi I've always been a fan of absolute links
#
kaushalmodi Thanks. Can that data tag live in the body tag?
#
kaushalmodi Cool! data class="u-url" value="
{{ .Permalink }}" /> it is then :)#
kaushalmodi s/data/<data/
#
kaushalmodi oh
#
kaushalmodi ok, thanks.. I thought that data tag was analogous to self-closing meta tags in head
snarfed joined the channel
#
kaushalmodi TIL. Thanks tantek++
#
kaushalmodi Loqi did not see that?
#
kaushalmodi tantek++ :)
#
kaushalmodi Just to clarify.. can u-* type be a non-link?
#
kaushalmodi I failed to note of an issue.. some p-*/u-*/?? did not work in the wrong tag.
#
kaushalmodi Let me see if I recorded that in any of my commits
snarfed joined the channel
#
Zegnat The example blog post from the HTML5 spec, but featuring mf2: https://gist.github.com/Zegnat/23b1edc42c1b0d48d2443cea922cf8be ... if only I could mark up the contents.
#
kaushalmodi Zegnat: What SSG are you using? Have the theme in public?
#
kaushalmodi Thanks for that info.
#
aaronpk is it supposed to be https://push.superfeedr.com/ ?
AngeloGladding joined the channel
#
tantek.com edited /reacji (+514) "GitHub - list specific reacji, link to Bridgy Publish support, supported since with citation" (view diff)
[kevinmarks], [xavierroy] and snarfed joined the channel
#
tantek !tell grantcodes https://indieweb.org/User:Grant.codes/post-type-markup-experiment is very cool. Are you interested in feedback / suggested improvements?
#
[kevinmarks] Node and Go have post html5 default parsers, which is helpful. PHP, python, Ruby and java all have various sgml/xml based things that need care.
#
[kevinmarks] I need to make that "I <? PHP" t-shirt again
#
[kevinmarks] Is strlen bytes?
#
[kevinmarks] Does that work on Welsh and Scottish flags?
#
[kevinmarks] I can see that, sknebel as you could pick a bad lib, but python has 3 legacy ones built in that lead you astray.
#
Loqi sebsel: tantek left you a message 1 hour, 54 minutes ago: thanks for the link https://seblog.nl/2017/02/20/4/day-36-reacji - I'm having difficulty understanding what the screenshot is about though - is it a screenshot of your home page/stream? or is it how you show reacji from other to your posts?
#
tantek sebsel: last two summers for Pride. and documented: https://indieweb.org/reacji#Facebook
#
sebsel oh, seems like past-me made this page: https://seblog.nl/reacji
#
tantek can you add yourself to https://indieweb.org/reacji#IndieWeb_Examples ?
#
grantcodes tantek: feedback welcome on that, I'm working on turning it into a wiki plugin to automate generating the other outputs from html so it is never out of date
#
Loqi grantcodes: tantek left you a message 19 minutes ago: https://indieweb.org/User:Grant.codes/post-type-markup-experiment is very cool. Are you interested in feedback / suggested improvements?
#
tantek.com edited /reacji (+296) "move a couple of display reacjis posts up to upper section, note distinction in sections" (view diff)
#
tantek sebsel fixed. https://indieweb.org/reacji#Sebastiaan_Andeweg
[pfefferle] and [miklb] joined the channel
#
[kevinmarks] Not many flags in http://emojitracker.com
#
[kevinmarks] Looks like they're used more like tags https://twitter.com/TheVampsband/status/986303250201800706?s=19
#
@TheVampsband Who wants to come #OnStageWithTheVamps in Cardiff tonight? 🏴 (twitter.com/_/status/986303250201800706)
#
@ColombianEng 🇺🇸 Over there. 🏴 Over there. 🇦🇺 Over there. 🇨🇴 😗😗😗 #ColombianEnglish (twitter.com/_/status/986264332890755072)
cweiske joined the channel
#
Loqi cweiske: sebsel left you a message 3 days, 11 hours ago: There's a 500 on https://indiechat.search.cweiske.de/ :(
snarfed, swentel, [kevinmarks], iasai, swentel_ and tantek joined the channel
#
tantek seblog++ this is SUPER helpful! Thank you! https://indieweb.org/reacji#Sebastiaan_Andeweg
[miklb], eli_oat, Tom, iasai_ and [cleverdevil] joined the channel
tantek and snarfed joined the channel
snarfed joined the channel
Kaja__ joined the channel
#
GWG schmarty: Would you consider working on https://github.com/martymcguire/screech/issues/3
