#dev 2019-08-10

2019-08-10 UTC
#
aaronpk
that looks right
#
shrysr
aaronpk: then my question is whether I can run the receiving service locally on a vps for my website?
[jgmac1106] joined the channel
#
aaronpk
yes you should be able to. you'll nee to make sure it's publicly accessible from the outside of course
#
shrysr
i'm trying to wrap my head around it. When you say accessible from the outside, you mean similar to my website being served, i.e opening a port and having the server listen there?
#
shrysr
or like a docker container serving an app on a port.. right?
#
shrysr
ah. that i can do with ufw .. okay. i will give it a shot. I don't see any articles doing this online though, or am i missing something?
#
shrysr
the few articles i did see seemed to implement their own methods for receiving webmentions.
#
aaronpk
I didn't document that aspect of it because it's part of running any ruby web app
#
shrysr
aaronpk: ah ok. I'm afraid - i am not a developer. I'm sort of hacking it together.
#
shrysr
aaronpk: when you get a minute - your advice on https://mastodon.technology/@kaushalmodi/102589481618049724 would be great.
#
aaronpk
that's intentional
#
aaronpk
it likely means the webmention has been updated
#
aaronpk
er, the source page has been updated
#
shrysr
They were update.. a LOT of stuff was happening then really... so you mean that I could safely set a cron job on the index.xml page of my website with webmentions.app and people would not get repeated notifications, unless the source changes ?
#
shrysr
I'd essentially run something like >> npx webmention /var/www/html/s.ragavan.co/public_html/post/index.xml --limit 0 --debug in the cron job
#
aaronpk
well, you shouldn't send a webmention unless your source page has changed
#
aaronpk
but, receivers need to be able to handle receiving multiple webmentions from the same URL
#
aaronpk
some peoples' software is better than others and will only alert the user if there were changes, but that isn't something you should rely on as a sender
#
shrysr
ok. I'm using hugo to generate the webpages. Any advice on how I could implement sending a webmention, only when the source page changes? Should it be hooked to hugo ?
#
aaronpk
yes, IIRC hugo is smart about only rebuilding pages that change, so there's probably a hook you can hook in to for that
#
shrysr
is there a channel for hugo ? :D
#
shokuninDiscord[
probably #hugo on freenode?
#
shrysr
thank you aaronpk for your patience. i will be at it and hope to get this up this week.
#
shrysr
shokuninDiscord[: i dont think that is it
IWSlackGateway, vika_nezrimaya, [tantek] and PermawebEmbedDis joined the channel; MatrixBridgeDisc, WidgetBotiocli1D and DisWeb0142[m] left the channel
#
KartikPrabhu
shrysr: this post and the ones it links to might help https://prettygoodhat.com/post/2018-01-14-retuning-indieweb/
[tantek], IWSlackGateway, Hey, rainmanjam, [Lewis_Cowles], [Rose], [fluffy], [KevinMarks], jeremych_, KartikPrabhu, [jgmac1106], vika_nezrimaya, loicm, dhanesh95, [davidmead], [snarfed] and [svandragt] joined the channel