#aaronpki'm trying to decide if i should list recent webmentions, let you browse all of them, or require that you type in a URL to see webmentions just on that post
#aaronpkor no UI, and you have to make an API call
#tanteklisting recent webmentions with [x] buttons would be an added bonus for sure. suggested MVF of paste in a URL in a field
#Loqi[tantek] brainstorm possible "minimal" UI:
* IndieAuth login
* form field to enter a webmention source to "delete"
* Delete button - deletes all webmentions from that source (exact URL match only) to all targets with the domain that was IndieAuth verified
#tantekand assuming that (minimum text field UI) worked with a form submission, then I could on my end (on my site) have a buttons (visible only when logged into my site) on each webmention displayed on my site that I could click to delete which would do a form post to the UI on wmio
#tantekwould be nice if the result could confirm the # of webmentions deleted
#tantekthen that form submission becomes a defacto API of sorts as well (though the client has to be cookie'd in already via IndieAuth)
#aaronpk(assuming i don't do CSRF checks on the form)
#tantekoh that's interesting, I'm going to run into that same challenge building a "Got an indie RSVP? Enter the URL here: ______" form that submits to wmio
#aaronpkthat form is intentionally not supposed to have a CSRF check for exactly that purpose
#jeremycherfasAaronpk: I was managing to send webmentions from one local site to another, but now I seem to be getting 404 back when I try to use curl.
#jeremycherfasBut with the webmention endpoint rather than xray.
#jeremycherfasIs there a command to discover the webmention endpoint of a site?
#aaronpkThe PHP webmention client has a function for that. Not sure if anyone has turned that into a proper command line tool
#jeremycherfasBut I could use the example in your readme and make a little PHP program?
#jeremycherfasThe file lives in user/data/webmention/data_sent.yaml
#jeremycherfasAnd that gets written to when a source url sends a webmention.
#ZegnatI am at a loss there… Do you really need to go through that tool though? Shouldn’t Grav automatically sent webmentions when you create a new post
#jeremycherfasAll Grav knows about webmentions it knows through that plugin. Natively, it does nothing. And the plugin must be run from the command line (or, if I ever get it working) as a cron job).
#jeremycherfasI keep thinking that trying to fix this plugin is in the end not as efficient as building an entirely new plugin, but while I am sort of happy to tinker with something someone else has beuilt, I don’t think I could build something myself.
#jeremycherfasHang on. Maybe it does. Rereading the documentation.
#jeremycherfasThere is a setting in the sender module for automatic. If true, it sends metions as soon as the page has been built. There is a warning that this will slow down the site if a page is link heavy. But most of my pages are not link heavy. So I might try changing that.
#jeremycherfasI wonder whether that might avoid the hanging problem.
#aaronpkare you running into this problem on your dev machine or on the real site?
#ZegnatIt shouldn’t even really slow down your site, I think, jeremycherfas. If it is in the build process, the slowdown would only be visible to you when you first create a page, right? That can’t be too bad.
#aaronpkjeremycherfas: depending on how your local PHP is configured, it could be that the server is blocked serving the one request so isn't able to serve the request your server makes to itself to verify the webmention
#aaronpki've had that happen before, tho i think more often on ruby sites because of the way the dev environment is run
tantek joined the channel
#jeremycherfasAaronpk I’m afraid you’ve lost me. What would I check?
#aaronpkyeah the thing i was thinking of was a stretch
#jeremycherfasI’m coming to the conclusion that, impossible thought it may seem now, I need to think about this from the ground up. Steal what I can, simplify where I can. Break it down ibnto units I can maybe manage.
#jeremycherfasAnd then throw myself on the mercy of all you good people.
#ZegnatLooking forward to your demo on Wednesday jeremycherfas ;)
#jeremycherfasNo way. I’m going away on monday and tuesday. I suppose I might have some sort of old skool flow diagram.
#Loqi[John Johnston] Wondering of there could be #webmention support in mastadon? even it the same way bridgy added it to twitter? Still figuring out various #indieweb things on my blog and micro.blog.
#eli_oatSO, the major reason I use <title> is laziness. It is easier to parse the <title> in PHP than the p-name. I've played with some of the libraries for that, but wasn't pleased with the consistency
#ZegnatFor longer posts, like https://licit.li/595611f87aae1, I specifically add a p-name for people to use. I should probably put those in <title> …
#schmartyi can tell you that all it does is look for posts with h: event, normalize the start/end properties, convert the description into a single line with \n characters, and then renders a template
#schmartythat template is based on a "save to calendar" that i did from an eventbrite event
#tantekyou're essentially "responding" to the subset of the page indicated by the "screenshot of the element that I liked", thus that latter part makes sense to use as your reply-context
#prtksxnatantek: I understand. And to maintain a grid of all such replies, I'll just have to make explicit tags that I use internally?
#tantekprtksxna: it's not clear which subset of your posts you want to show why, hence the questions / suggestions before leaping to "have to use"
#prtksxnatantek: The subset would be the posts that belong to the scrapbook in general. As you made me understand, those would be ones which are 'like-of' and have a 'reply-context' that has in <img>.
#prtksxnaaaronpk: Would that be akin to 'categories'?
#aaronpki think it's similar to wordpress categories
#tantekprtksxna: ok that helps a bit - however do you really want to limit to snaps you like? sometimes it's useful to collect examples of things to avoid too ;)
#aaronpksince wordpress has a separate idea of categories and tags
#tantekor things that are just "meh" from otherwise supposedly good designers or corps
#tantekI'm skeptical of conflating "like" with "scrapbook"
#prtksxnaaaronpk: You aren't using u-photo instead of reply-context for your /bookmarks?
#aaronpkyeah but as part of *my* post, not as a reply context
#prtksxnatantek: I think I've read that while reading the new WebAnnotation spec. I don't think it solves stuff for me. For example a screenshot of a website, or an animation for an interaction.
#aaronpki guess i don't really think of my bookmarks as replies to the posts
#aaronpkas much as linking to some other post in a note or article is sure
#tantekas I display likes (with counter), I'm definitely looking at displaying # of times bookmarked as well
#aaronpkbut i don't want to display them like my replies
#aaronpkthey're responses from the PoV of the thing i'm bookmarking, but not for me
#tantekespecially for long form articles, I see it as useful feedback how many people have bookmarked it
#prtksxnaI don't think of bookmarks as responses as they are personal. I feel no need to inform the other person of my action, unlike a reply or a like.
#tantekaaronpk: not sure how you can say they are not responses? you're posting something in response to something you saw
#prtksxnaI am saving what I saw in a list, not responding to it.
#tantekyou're literally responding rather than just creating
#aaronpkbecause i think of it as making my own content
#aaronpkbecause i add tags and such, and sometimes pull quotes
#tantekprtksxna: separately, do you know anything about the microforrmats or mf2 related projects at Wikipedia? I think ben_thatmustbeme and/or gRegorLove were looking into it
#prtksxnagRegorLove: We are going to have infoboxes be populate through Wikidata some time soon™. I think it'd be best that the extension responsible for creating the markup uses mf2.
#prtksxnagRegorLove: I'll look at the wikiproject closely tomorrow :)
#gRegorLoveprtksxna: Cool! I'm quite new to that wiki project so I don't know much about it. Just kinda familiar with setting up wiki templates
#gRegorLoveWould be awesome if infoboxes started automatically having mf2