#dansupaaronpk: 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
#dansupJust started it last night, but I'm making pretty good progress already. Basic stuff like registering and posting to the local timeline is done
#aaronpkwell the easy place to start is adding microformats to the site, then everyone using indieweb readers can follow the posts. then you could send and receive webmentions like micro.blog does.
#Loqi[dansup] I don't think webmentions are appropriate for the fediverse. The privacy implications, along with the potential for abuse (DDoS) do not justify any benefits in my opinion. #webmentions #fediverse
#dansupIf you have ActivityPub support on your site, I can remote follow you and my server will push any updates I make to your site
#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.
#dansupaaronpk: 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?
#aaronpkthe point is webmention is just the federation plumbing, and is just how it works. no need to enable or disable
#aaronpkif you're really concerned, you could avoid sending webmentions to links that are just a plain mention of a URL, e.g. just linking to something in a post. but any like-of or reply-to URLs should always get a webmention, since you're saying you're actively replying to that link
#dansupYeah, maybe I am being too paranoid. I would be okay with blacklisting webmentions to facebook and google and enabling them ;)
#aaronpk"luckily" facebook and google don't accept webmentions right now anyway so you're safe
#GWGaaronpk: That cookie that pfefferle put in isn't working.
#GWGEditing the episode of that podcast where I talked to Chris about the IndieAuth plugin, and told him that my endpoint has a UI for revoking tokens.
#[miklb]aaronpk I’m looking over dgold’s installation instructions and it mentions ” need to have a token endpoint set up already in order for Aperture to know how to verify access tokens it receives in Microsub requests” I don’t follow that step
#aaronpkIf you already support Micropub clients it should work fine
#aaronpkAperture will ask your token endpoint to check if a token is valid
#j12taaronpk: so Watchtower has three entry points? 1) Web server request, 2) a persistent .service, and 3) a cron job? What's the difference between 2 and 3?
#aaronpkThe cron job triggers the scheduler to run the background tasks
#aaronpkI want to combine 2 and 3 at some point but this was easier
#[kevinmarks]Right but dansup and gargnon are talking as if webmention is qualitatively different and I don't understand why
#swentelless quality in what exactly ? the data you receive?
[snarfed] joined the channel
#[snarfed]I'm guessing they (and AP) need private sharing, and we don't really have even private posts (much less wms) thoroughly worked out and widespread in the wild in indieweb, so they don't know that it's possible or how to do it
#[snarfed]if so, they're kinda right. onus is on us!
#swentelhmm yeah, I've been thinking about that yesterday, I see a private property in the webmention payload, but haven't thought about it how it would work nicely
#swentelespecially in combination with bridgy for instance
#swentelin a way it doesn't make much sense anyway
#swentelit's something I wouldn't want to code either, too sensitive
#Zegnat“how are the privacy and ddos implications different for activitypub” - AP includes the whole message in the POST body to my inbox, right? If I do not need to fetch an unknown external resource, that may make for different ddos implications?
[unoabraham] and dgold joined the channel
#petermolnarZegnat: 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
#loqi.mecreated /balloons (+36) "prompted by [kevinmarks] and redirect added by [kevinmarks]" (view diff)
jeremych_ and [jgmac1106] joined the channel
#dgold!tell [miklib] oops, that could be clearer. will amend
#[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?
#swenteluse a parameter on the call to the js ? e.g. <script src="file.js?id=1"> - augment the counter to get a fresh version should work
[jgmac1106], KartikPrabhu, leg, [pfefferle] and [miklb] joined the channel
#loqi.meedited /Fatwigoo (+131) "Zegnat added "The name is inspired by the worst offenders, social media buttons: '''Fa'''cebook, '''Twi'''tter, '''Goo'''gle." to "See Also"" (view diff)
[kevinmarks] joined the channel
#[kevinmarks]That should use browser caching, so if it is not working right you may have your cache headers misset
#LoqiIt 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
#[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
#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?
#tantekanyone who thinks stuff "just" works with side-files / feed files has never had to incrementally implement new content types in their own CMS / site and feel the actual engineering / development pain of having to implement *twice* (or more) for every feature.
#kaushalmodiAfter the debate, I tried implementing jf2 json files for my static site, and it was a much better experience than manually embedding the mf2
#tantekside-files do not "just work", they force you to double (or more) your code maintenance tasks, including bugfixes over time
#tantekkaushalmodi: you're mistaking the cost of initial implementation, for the cost of lifetime implementation, which is 99% maintenance, 1% intial implementation
#tantekno, when you add new features to your CMS, new content types, new properties for higher fidelity content, you have to maintain your code, updating it accordingly
#tantekif all you want to do is reimplement early 2000s RSS then yes, "there's hardly any maintenance neeeded"
#tantekif you want to create something feature competitive with modern social media tools, you will have to keep incrementally implementing new features
#tantekevery (side-file / feed file) format you add support for increases your code maintenance burden accordingly
#tantekcode meaning the code that generates the static sites
#ZegnatAdding 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.
#kaushalmodiFor 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.
#kaushalmodiAdding jf2 sidefiles did not need me to mess with the content (HTML)
#tantekkaushalmodi: mf2 was designed to minimize or not even need any changes in the markup - if you're finding you have to do that, share your example and ask for help
#tantekprobably means we could provide more examples
#kaushalmoditantek: By meta-data, I mean.. the data not used to show the content on browser.
#aaronpkthere's definitely a maintenance cost to adding mf2. that's why I haven't even added mf2 to some of my post types yet
#kaushalmodiI had to add many divs and spans with .hide class just for adding p-author, h-card, etc.
#tantekthat's not what meta-data is, meta-data is literally data about data
#kaushalmodiBecause I treat that as meta-data, not something to display on my site
#tantekkaushalmodi: you shouldn't have had to add "many divs and spans" - sounds like there may be a misunderstanding of how mf2 works
#Loqizegnat has 53 karma in this channel (196 overall)
#ZegnatWell done Loqi, getting my name and everything!
#singpolymayou 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
#tantekinteresting, I use a visible <input> at the end of my posts to make it easier to copy/paste the URL when you've finished reading it
#LoqiA permalink is a URL which typically represents and retrieves a single post (also explicitly called a post permalink) https://indieweb.org/permalink
#kaushalmoditantek: About copying, I just do Ctrl+L Ctrl+C :)
#singpolymaIn general, people can copy the permalink from their location bar. But I do still linkify my title because it's easy
#Zegnatwebviews on Android haven’t been hard on me, but I may not end up in them often enough. Most of them have a way to send whatever is open to Chrome where you get the full UI.
#kaushalmodiZegnat: I see one problem implementing your trick.. My "single post" template touches just the body tag.
#ZegnatE.g. Facebook just lets you break out of the webview on Android
#tantekkaushalmodi: also many (most?) CMS put various ?utm_crap in the URL in the address bar
#tantekso after you paste it you have to edit that crap out
#Zegnatkaushalmodi, ah, yes, that would be a setback.
#kaushalmodiTo add that rel=canonical, I will need to rearrange my template structure to include head tag in the "single post" layout too
#singpolymakaushalmodi: or move the link tag to body, maybe?
#tantekkaushalmodi: if you have to, <a class="u-url" href=""></a> also works
#kaushalmoditantek: 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
#ZegnatA big part of the static site generator I am playing with is actually just smartly adding a wrapper div to my content to make e-content work. So I totally see where people are coming from when they say they need to reorganise their HTML to add mf2 :)
#kaushalmodiI was just looking into refactoring that into rel=canonical
#tantekkaushalmodi: but you don't need to replicate your permalink
#tanteksince relative URL resolution will fix it in your case (since you don't use any ?utm nonsense)
#singpolymakaushalmodi: tantek means that markup literall. empty string for href
#Loqitantek has 27 karma in this channel (427 overall)
#tantekkaushalmodi: the broader purpose of the data tag is to markup data that is different from the visible text, e.g. <data class="p-rsvp" value="yes">I'm going!</data>
#ZegnatHa, the example showing “a blog post using the article element” in the HTML spec can’t be marked up with mf2 without adding a wrapper <div> either. Atleast not to cover what most people expect from h-entry.
#tantekZegnat - worth a pull request to improve the HTML spec :)
#ZegnatNot really. There is simply no <content> element. Which we would need to add e-content
#kaushalmodiJust to clarify.. can u-* type be a non-link?
#ZegnatAnything can be anything. u-* just instructs parsers to look in e.g. href-attributes first. And to resolve from relative URLs to absolute ones.
#ZegnatYou could use p-url as well, if the URL isn’t in a href-attribute but in plain text.
#kaushalmodiI failed to note of an issue.. some p-*/u-*/?? did not work in the wrong tag.
#ZegnatBasically the classes are: [parser instruction]-[property name]
#kaushalmodiLet me see if I recorded that in any of my commits
#Zegnatp- is never going to look in href-attributes, for instance.
#ZegnatThat HTML is actually super close to how I have been authoring my posts for grapefruit.zegnat.net. My static site generator adds the wrapping <div> required for e-contents when I am done writing.
#kaushalmodiZegnat: What SSG are you using? Have the theme in public?
#ZegnatMy SSG is 1 file of PHP DOM-mutation code that I wrote myself.
#ZegnatIt parses the HTML of a template file, parses separate post files. From every post file it extracts the root “article” tag, does some magic to embed mf2, and then appends it to the month-view-template.
#ZegnatThen writes 1 file per month, and sets a symbolic link for index.html to the latest month.
#ZegnatOf course whether the month stuff works I will not know until next month ;)
#tantekZegnat hah - I used to keep one static file per month in my original blog! (2002-2008)
#tantek(I mean it's still there at tantek.com/log )
#tantekand enabled preserving some of the stylistic creativity I experimented with early on
#tantekbut since I noticed that I stopped changing the styling for the last many months of those years of the blog, I decided I could let go of the simplicity of that "feature" when building Falcon for my new blog
#tantek!tell grantcodes I'm also thinking such minimal examples would be great for each microformat page on the microformats wiki e.g. microformats.org/wiki/h-card /h-entry/h-event etc.
#[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
#tantekuse-case, compact reply-contexts for reacji posts (especially in-stream)
#sknebel[kevinmarks]: don't think it's fair to say node is better than python just because python has a bad one in the stdlib instead of none at all like node
#aaronpkI don't think the difficulty of emoji detection is limited to php
#Loqisebsel: 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?
#grantcodestantek: 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
#Loqigrantcodes: tantek left you a message 18 minutes ago: I'm also thinking such minimal examples would be great for each microformat page on the microformats wiki e.g. microformats.org/wiki/h-card /h-entry/h-event etc.
#tantek.comedited /reacji (+296) "move a couple of display reacjis posts up to upper section, note distinction in sections" (view diff)
#Loqicweiske has 34 karma in this channel (137 overall)
snarfed, swentel, [kevinmarks], iasai, swentel_ and tantek joined the channel
#tantekcweiske++ for running/hosting indie chat search.
#Loqicweiske has 35 karma in this channel (139 overall)
#tantekif you can estimate an annual cost that you think is the % use of that hosting fee for the search, maybe we can apply some opencollective funds to help pay for it
#tantekIMO it's definitely a very valuable service to the community that is worth at least helping to cover the hosting costs for
#schmartyI’m traveling at the moment but I can tell you that it does the simplest possible thing. A form encoded POST with audio, photo, name, description, tags. The metadata from the mp3 comes in as id3-title, id3-duration, etc