#dev 2018-03-26
2018-03-26 UTC
eli_oat joined the channel
theReal33mhz and renem_ joined the channel
#
AngeloGladding snarfed tantek using HEAD and an async job queue good enough for now -- can understand why brid.gy breaks spec -- will be sure to document my future webmention caching endeavors
#
AngeloGladding thanks guys
#
AngeloGladding and snarfed++ thanks for the granary port -- looking forward to reuse
#
AngeloGladding and tantek, from way back, webactions++ really tie things together nicely
#
AngeloGladding snarfed++
#
AngeloGladding webactions++
#
AngeloGladding :)
[miklb] joined the channel
#
tbbrown as a learning experiment, got indieauth login via goodreads working: https://github.com/herestomwiththeweather/IndieAuth.com/commit/5c023e804d46d654b6b4751770d28ce12d73f5ae
#
tbbrown (test server is https://indieauth-demo.herokuapp.com but only supports github and goodreads)
oodani, matigo, cweiske and [cleverdevil] joined the channel
#
[cleverdevil] Fiddling around on a new page: https://cleverdevil.io/overview
#
[cleverdevil] I *may* make some variant of this my front page.
#
[cleverdevil] But, I can't decide yet 🙂
#
[cleverdevil] (Lots of work to do to clean up the markup, which is horribly incorrect from a microformats perspective)
[kevinmarks] joined the channel
#
[cleverdevil] Oh it’s totally boned on mobile at the moment.
#
[cleverdevil] In no way responsive 😀
[pfefferle], barpthewire and [gerwitz] joined the channel
KevinMarks_ and KevinMarks joined the channel
[jeremycherfas] and KevinMarks joined the channel
kaushalmodi and j4y_funabashi joined the channel
#
Zegnat kaushalmodi, you can look at the form that dgold is using here: https://github.com/dg01d/reproach/blob/master/layouts/partials/mention.html
#
Zegnat You can use exactly that same HTML form, you just have to have a way for your CMS to fill the target URL. And you have to point the form action at your receiving endpoint (https://webmention.io/scripter.co/webmention).
kaushalmodi_ joined the channel
#
Zegnat kaushalmodi, you can look at the form that dgold is using here: https://github.com/dg01d/reproach/blob/master/layouts/partials/mention.html
#
Zegnat You can use exactly that same HTML form, you just have to have a way for your CMS to fill the target URL. And you have to point the form action at your receiving endpoint (https://webmention.io/scripter.co/webmention).
#
kaushalmodi_ Hello, correct, I already looked at that
#
kaushalmodi_ But that uses a heroku app as I mentioned in the other channel
#
kaushalmodi_ and I cannot join it
#
kaushalmodi_ ah, so I just replace https://webmention.herokuapp.com with https://webmention.io?
#
kaushalmodi_ Thanks very much! I'll try that out
KevinMarks joined the channel
#
j4y_funabashi morning all
#
kaushalmodi_ thanks for your help
#
j4y_funabashi almost got my micropub server moved over to lambda \o/
KevinMarks joined the channel
#
kaushalmodi_ Zegnat, yep. dgold: Your theme helped me; I have credited you for that send webmention button.
#
kaushalmodi_ "Send Webmention" button deployed! Thanks all :)
kaushalmodi_, KevinMarks and [eddie] joined the channel
j4y_funabashi joined the channel
#
petermolnar so... if I grab a few million URLs and send each of them as source, in a loop, through the heroku page, who's webmention endpoint would survive it?
#
petermolnar nyah, misread it, doesn't matter, random digitalocean node with cURL would be just as good
#
petermolnar I'd probably be fine with accepting, but wouldn't be able to build my site for a while, it would take very long to chew through the queue
#
petermolnar the process can be reversed though, to ask as many webmention endpoints as possible to scrape a specific site
#
petermolnar sknebel: I process the queue on build, if there's anything in there
#
petermolnar yes
#
petermolnar was that ever solved in WP?
#
petermolnar https://indieweb.org/2016/Brighton/webmention - I've talked about these and more with aaronpk a long while ago
#
petermolnar one of the ideas was to disallow 3rd party and require 'source' to send webmention for 'source'
#
petermolnar well... essentially sPF
#
petermolnar SPF
#
petermolnar unfortunately nothing has been put to practice so far
KevinMarks joined the channel
#
petermolnar you could whitelist the form on your own site
eli_oat and KevinMarks joined the channel
#
petermolnar we could leave out dns, in theory: add another meta, say, webmention-spf, into the header, on first fetch, cache it for a while; this only protects from one type of the attacks though
#
petermolnar at least it would stay within HTTP, so no obscure, arcane, distasteful DNS knowledge required ;)
[kevinmarks] joined the channel
#
[kevinmarks] Mention-tech will check the validity itself before sending ding them in, but that will potentially fetch the page.
#
[kevinmarks] So if you post to mentiontech.com it will post through to the actual endpoint, and cache it in case there isn't one.
#
j4y_funabashi huzzah! my lambda based micropub endpoint passes all the micropub.rocks test I care about
#
j4y_funabashi now to move my micropub client across
#
Loqi Lambda is a service from Amazon Web Services that runs individual functions of code rather than running a server https://indieweb.org/Lambda
#
Loqi It looks like we don't have a page for "mentiontech" yet. Would you like to create it? (Or just say "mentiontech is ____", a sentence describing the term)
#
Loqi It looks like we don't have a page for "mentiontech.com" yet. Would you like to create it? (Or just say "mentiontech.com is ____", a sentence describing the term)
KevinMarks_ and KevinMarks joined the channel
#
[kevinmarks] I thought we had a page
#
[kevinmarks] Oh it's mention.tech derp
#
[kevinmarks] Though I should redirect mentiontech.com
#
[kevinmarks] And apparently I should filter it for bogus sale calls instead of urls
barpthewire and KevinMarks joined the channel
#
j4y_funabashi some weird sql injection attempts going on there http://mention-tech.appspot.com/
[kim_landwehr] joined the channel
#
[kevinmarks] Good luck with sql injection on an app engine data store site
kaushalmodi joined the channel
#
vanderven.se martijn edited /endpoint (+391) "Examples of endpoints: Webmention, 2× IndieAuth, and Micropub" (view diff)
gRegorLove_, KevinMarks, [cleverdevil] and [eddie] joined the channel
#
[cleverdevil] I'm also curious to hear about it. You should write it up somewhere, j4y_funabashi 🙂
[Mike] joined the channel
[pfefferle] and oodani joined the channel
#
j4y_funabashi [eddie] [cleverdevil] I store everything as json files in s3 + dynamoDB
#
j4y_funabashi I will do a little write up when it is a bit more polished
#
j4y_funabashi the files on s3 are for easy backup, reprocessing etc. dynamoDB is the 'db cache' which powers the views
#
j4y_funabashi what is serverless
#
Loqi It looks like we don't have a page for "serverless" yet. Would you like to create it? (Or just say "serverless is ____", a sentence describing the term)
#
j4y_funabashi I have had the same setup in one form or another across the many iterations of my site (json files + DB cache)
#
[eddie] Currently my files are all YAML, but that means lots of conversion to and from JSON/YAML and I find I have more issues manually editing the yaml because of the white space requirements. I always mess up my whitespace, where as with JSON it’s much more rare to have issues and with a JSON linter it’s almost never happens. So I’m thinking when I transition from a static site to a dynamic site, I might convert all my YAML to JSON
#
j4y_funabashi j4y.co uses sqlite
#
j4y_funabashi oof yeah manually editing json or yaml doesnt sound like fun
#
j4y_funabashi yeah true
#
[kevinmarks] as long as you have an editor that is verifying structure
#
j4y_funabashi I am converting the code behind j4y.co to lambda/dynamo and also switching domains
#
j4y_funabashi The files I store in s3 are microformats json, then when I insert to dynamo I convert it to 'jf2'
AngeloGladding joined the channel
#
j4y_funabashi golang
#
j4y_funabashi https://github.com/j4y-funabashi/inari <- thats the non lambda version
#
j4y_funabashi https://github.com/j4y-funabashi/inari-sls <- lambda version
#
j4y_funabashi aaronpk's lovely sunset https://jay.teamfunabashi.com/p/805330aa-db9b-47b3-9d56-e671f27acacc
#
Loqi [Jay Funabashi] Micropub test of creating a photo referenced by URL https://micropub.rocks/media/sunset.jpg
#
j4y_funabashi [eddie]: Yeah I am liking storing jf2 in the DBcache as it makes all the view code alot simpler
#
[kevinmarks] flashback to when I used XOXO as the bus format at technorati so it was all previewable in a browser.
#
j4y_funabashi XOXO?
#
j4y_funabashi [eddie]: yeah the views are serverless too (the sunset link I posted above ^^^)
#
[kevinmarks] pretty much json except <ol><li> for [] and <dl><dt><dd> for {} http://microformats.org/wiki/xoxo
#
[kevinmarks] and a bit of extra magic to turn url into clickable links
#
j4y_funabashi [eddie]: I do want to enhance with some form of js eventually but it isnt v high up on my list :)
#
[kevinmarks] with html5 syntax the tags are self-closing
#
j4y_funabashi yeah thats what I am doing - using the serverless framework makes it easy as it provisions all the infra for you
#
j4y_funabashi awesome! lmk if you need a hand with anything, however I am by no means an expert :)
#
j4y_funabashi puts that on his cv :D
jjuran and [cb] joined the channel
#
aaronparecki.com edited /timeline (+0) "/* Microsub */ found older draft on my laptop, unsure of start date but this was the oldest date i found" (view diff)
[cleverdevil] joined the channel
#
[cleverdevil] Yes very cool work j4y_funabashi!
#
[cleverdevil] Using a framework to set up all the API Gateway stuff is pretty much mandatory. Otherwise it’s sort of painful :P
snarfed, tantek, KevinMarks, KevinMarks_, [miklb], [cb], KartikPrabhu and kaushalmod joined the channel
#
kaushalmod About u-photo: I was trying to make sure that I was putting in all the right microformats2 classes by validating my page on indiewebify.me
#
kaushalmod But the validation says that u-photo is missing: https://indiewebify.me/validate-h-entry/?url=https%3A%2F%2Fscripter.co%2Fhugo-leaf-and-branch-bundles%2F
#
kaushalmod Though I do have an h-card with u-photo on each page
#
kaushalmod yes
#
kaushalmod it shouldn't be?
#
kaushalmod I have h-card on all my site pages in the footer (even non-post pages). So it is always sitting outside h-entry
#
Loqi authorship is how to determine who the author(s) of a post are https://indieweb.org/authorship
#
kaja.sknebel.net edited /User:Kaja.sknebel.net/upcoming-hwcs (+304) "update from /Events" (view diff)
#
kaushalmod @aaronpk so just duplicate the h-card?
#
kaushalmod one always in footer and another in h-entry too?
#
kaushalmod hmm. so I don't have an h-card URL..
#
kaushalmod it's a segment of HTML code inserted using templating on all pages
#
tantek aaronpk: I believe that's why we have rel=author in /authorship
[colinwalker] joined the channel
#
aaronpk https://indieweb.org/authorship#How_to_determine step 6 is the only reference to rel=author and that is only for permalinks
#
kaushalmod @tantek Yes, I already have it that way i.e. h-card in footer with my site url
#
kaushalmod ```
#
kaushalmod nevermind.. can you do code blocks here? :)
#
kaushalmod <div class="h-card"> <img class="u-photo" alt="Photo of Kaushal Modi" src="http://localhost:1313/images/me.png"/> <a class="p-name u-url" href="http://localhost:1313/">Kaushal Modi</a> <p> <a class="u-email" href="mailto:kaushal.modi@gmail.com" rel="me">kaushal.modi@gmail.com</a> </p> <p class="p-note">
#
kaushalmod a geek who likes playing with command-line tools. Uses Emacs. </p> </div> </footer>
#
kaushalmod so that's in the footer (ignore the "localhost" as u-url.. it shows the correct scripter.co url in th edeployed site
#
kaushalmod cool! But I didn't get what should go in the h-entry
#
tantek aaronpk I believe your question is orthogonal, that is, what is (or should be) the scope of /authorship
#
kaushalmod at the moment I have just " <p rel="author" class="p-author h-card">Kaushal Modi</p>" as my h-card identifying thing in h-entry
#
tantek I put rel=author in /authorship for backcompat, not for modern use-cases
#
kaushalmod So with rel="author" added to the u-url in my h-card, I need to add just "<a href="/" class="u-author h-card">Kaushal Modi</a>" in my h-entries. Correct?
#
kaushalmod aaronpk: ok
#
kaushalmod so you mean u-url in h-card must match with the u-author in h-entry
#
kaushalmod alright, working on it. Thanks
#
aaronpk you can use https://xray.p3k.io/ and https://sturdy-backbone.glitch.me/ to test it too
#
aaronpk btw who's going to implement the next microsub server? that will be the tipping point to 2+ clients and servers! https://indieweb.org/timeline#Microsub
#
kaushalmod aaronpk: sorry to intrude again.. but indiewebify.me validator doesn't yet seem to link the h-card from h-entry
#
kaushalmod in that second link, photo is null
#
kaushalmod ah, so I need to remove h-card from that u-author link?
#
kaushalmod ok, right now I have <a href=https://scripter.co/ class="u-author h-card">Kaushal Modi</a>
#
kaushalmod will do
#
kaushalmod thanks Zegnat
#
kaushalmod aaronpk: Now the xray validation looks good!
#
kaushalmod Though indiewebify.me complains You’re marking up your post’s author as a string — add h-card to make it a full h-card!
#
tantek perhaps indiewebify.me needs updating to do more of /authorship?
#
kaushalmod yes will do
#
tantek meanwhile I'll go add some informational notes to /authorship
snarfed and barpthewire joined the channel
#
tantek aaronpk /authorship already describes how to for both posts and streams of posts, thus apparently we decided on permalink + streams (home page or separate feeds)
#
tantek.com edited /authorship (+423) "update how to publish to not recommend rel=author explicitly, since it was intended for backcompat, and mixed class/rel suggestions are known to be more confusing than just class, note rel-author link detection for backcompat" (view diff)
#
tantek also just re-seeing https://indieweb.org/authorship#Does_not_implement_standards (which clearly I responded to before) but seriously does anyone here even *know* anyone using or especially *depending on* "meta author" ?
#
tantek who wants extra stack overflow points? provide an updated answer to this question with h-card (currently has an hCard example, that could be drastically simplified with mf2) https://stackoverflow.com/questions/5125856/should-i-use-meta-name-author-content-your-name-or-link-rel-author-hr
#
Loqi [Aaron Parecki] End of an era. StackOverflow is dropping support for OpenID. https://meta.stackexchange.com/questions/307647/support-for-openid-ends-on-july-1-2018
#
kaushalmod I'm now onto representative h-card validation.. Is it a normal practise to set rel=me for the site URL (homepage) too?
#
kaushalmod in addition to the usual twitter, github, email, etc. link tags
#
KartikPrabhu I don't see the use in setting a rel=me from a page to itself
#
kaushalmod no.. from the page to the site baseurl
#
kaushalmod Add a u-url property which matches a rel=me link on the same page so this h-card can be identified as the h-card which represents the page.
snarfed joined the channel
#
kaushalmod Ah, I thought the "representation" meant that I truly was the author of that post
#
kaushalmod hmm, ok. Sorry for the noise, learning a lot of new lingo
#
kaushalmod Zegnat++
#
kaushalmod I see
#
kaushalmod Also I missed "homepage" in "Check your homepage h-card:" on that validation page
#
kaushalmod the h-card validates as being representative on the homepage alright
#
Zegnat The question behind the representative h-card: “Given a URL to a page that represents a person, how do you determine which hCard on that page is the hCard for that person?” - http://microformats.org/wiki/representative-hcard
#
Loqi The representative h-card for a page is an h-card on that page that represents that page, if any, as not all pages are about a person or organization, a page might not have a representative h-card https://indieweb.org/representative_h-card
kaushalmodi joined the channel
#
loqi.me edited /404 (+188) "tantek added "<nowiki>http://webmarketingnow.com/tips/meta-tags-meta-author.html</nowiki> via "source" linked from https://stackoverflow.com/questions/942575/how-to-search-google-for-meta-name-author" to "See Also"" (view diff)
jjuran joined the channel
oodani, chrisaldrich and [stefp] joined the channel
#
tantek.com edited /mobile_posting (+66) "including reply and share in dfn since that's a key scenario the page covers" (view diff)
#
loqi.me created /sharing_on_mobile (+27) "prompted by tantek and redirect added by tantek" (view diff)
#
loqi.me created /mobile_replying (+27) "prompted by tantek and redirect added by tantek" (view diff)
#
sebsel But according to https://indieweb.org/token-endpoint it should be a GET for the verification
jjuran joined the channel
[sdepolo] joined the channel
#
www.boffosocko.com created /use_case (+2624) "stub page with links to extant broad use cases" (view diff)
#
tantek in reading http://kimberlyhirsh.com/dear-indieweb/ has anyone else had this problem/challenge? "Posting notes to Facebook and Twitter without weird link previews or my Gravatar popping up"
#
tantek I feel like there's an opportunity here to document a /link-preview#How_to that specifically says how to *not* have a link-preview
j12t, j12t_, KevinMarks and tbbrown joined the channel
#
gRegorLove That sounds like messed up mf1 in WordPress templates.
#
tantek possibly. gRegorLove did you see https://github.com/microformats/h-entry/issues/7 ?
#
@ChrisAldrich Thinking about going #IndieWeb, but haven't made a platform choice? @GrabaPerch is an interesting choice with Webmention support and more. Also currently on sale! #DeleteFacebook
https://twitter.com/grabaperch/status/978314153705295877 (twitter.com/_/status/978397591355437062)
#
gRegorLove Or maybe not. Could be OGP finding their gravatar as the only image on a post and showing that in the preview. That would make more sense. I mis-read the comment at first.
#
gRegorLove I have run into this: the image I specified for OGP quite a while ago is smaller than FB's "required" resolution, so link preview finds other larger images on my links and defaults to them instead.
#
gRegorLove And that's explicitly using their ogp tag, so that's frustrating.
#
gRegorLove The UI does give the option to select other images, so I can click an arrow until it shows my icon instead of the larger photo.
#
gRegorLove Yep
#
gRegorLove I've been mostly manually POSSE to FB. I haven't tried in a while, but when I was using Bridgy Publish I wasn't always getting backfeed if the post showed a link-preview underneath.
#
gRegorLove So I paste in my link and remove the link-preview.
#
gRegorLove And sometimes, like with that Ars Technica piece, I actually post the entire note text to FB instead of a title+link, so manual is easiest for me currently.
kaushalmodi joined the channel
#
kaushalmodi tantek: Continuing from the indieweb channel: (1) Export Disqus XML.. there's only one way: https://help.disqus.com/customer/portal/articles/472149-comments-export
#
kaushalmodi (2) this was a one time thing.. so I just googled to see if there's an easy way to convert xml to json and found this: http://www.utilities-online.info/xmltojson/
#
kaushalmodi (3) Once I have JSON, Hugo has amazing Data reading methods: https://gohugo.io/templates/data-templates/
#
Loqi Disqus is a comments hosting silo https://indieweb.org/Disqus
#
kaushalmodi I save that JSON to <site repo>/data/disqus_comments.json and then just loop through it, and output the comments where the page RelPermalink matches that in the db
#
kaushalmodi It took about 45 mins to get this: https://gitlab.com/kaushalmodi/hugo-theme-refined/blob/master/layouts/partials/disqus-json.html, but still a lot less time than I expected :)
#
tantek cool https://indieweb.org/Disqus#Exporting_a_blog.27s_comments links to the help disqus page - but it would be great if you could add the others! Perhaps
#
kaushalmodi I didn't go into the hassle of created nested comments (figuring out parent/child, etc)
#
kaushalmodi But came up with this: https://scripter.co/command-to-every-pane-window-session-in-tmux/#comments
#
tantek kaushalmodi: better yet - could you add a "From Disqus" section here? https://indieweb.org/Hugo#Migrating_to_Hugo
#
kaushalmodi I simply put a snippet from parent comment and the parent author, so anyone reading that can get some sense out of it
#
kaushalmodi I plan to write a blog post soon (on this and everything I learned about webmentions, syndication, etc)
[asuh] and chrisaldrich joined the channel
eli_oat joined the channel
#
tantek.com edited /Getting_Started (+120) "disambig link at the top for folks that are already on WordPress or know they want to" (view diff)
#
tantek.com edited /micro.blog (+67) "reduce criticism about post type, note features explicitly" (view diff)
#
www.boffosocko.com edited /silo-quits (+861) "Singer/Actress Cher quit Facebook on 3/20/18" (view diff)
#
tantek.com edited /micro.blog (+562) "slight copy editing / splitting into three different why / entry points for Why micro.blog" (view diff)
#
www.boffosocko.com edited /silo-quits (+1338) "Actor Jim Carrey Facebook quit; Actress Tea Leoni Facebook quit" (view diff)
#
tantek chrisaldrich: can you review edits to https://indieweb.org/micro.blog#Why ?
[kevinmarks] and eli_oat joined the channel
