#dev 2019-01-28

2019-01-28 UTC
ed-e, [cleverdevil], [jgmac1106], paroneayea and snarfed joined the channel
#
aaronpk
Interesting, i wonder what that does ^^
[jdpinto1] joined the channel
#
[jdpinto1]
Just a thought from an amateur: for static sites hosted on GitHub, would it be possible / a good idea for a webmention endpoint to simply add new webmentions to a JSON file on the site’s repository and push changes as they come?
#
[jdpinto1]
webmention.io keeps all webmention data on its own site, which a bit of JavaScript on a static site can call and parse through—that’s my current set-up and it works well. I think webmention.herokuapp.com, which is specifically geared towards static sites, works the same. But keeping all the webmention data in the repository itself would provide much more flexibility, create automatic backups of webmentions, and—most importantly—would
#
[jdpinto1]
third-party site.
#
[jdpinto1]
Has this been tried before? Or is there a problem with it that I haven’t thought of?
coolboy joined the channel
#
[jdpinto1]
I imagine a single JSON file with all of the site’s webmentions could get too large to load quickly, but the data could be kept in a separate JSON file for each page that receives webmentions. That way, the browser would only have to load the data for the specific page it’s on.
#
aaronpk
I don't know if that exact approach has been done, but there are several versions of webmention processing thingies for static sites
#
Zegnat
Much like how there is a Micropub-to-GitHub bridge, I imagine a Webmention one is very possible too. I am not sure if there is enough of a standard way for storing Webmentions that it would make sense as a service though
#
aaronpk
IIRC there is one for Jekyll
#
aaronpk
but yeah it totally depends on how the static site wants to store that data
[frank] joined the channel
#
[frank]
Talking about webmentions, are there scripts or repos with a possibility to receive a notification when I receive a webmention? I know I can use webhooks but I have no idea how to integrate this in the Heroku setup I use now.
[Vincent] and edgardini joined the channel
#
Zegnat
I think some people have experimented with things like Pushbullet and/or similar services to get push notifications
#
Zegnat
Not sure any of it was published as open source projects
#
[Vincent]
[jdpinto1] I store webmentions locally from Webmention.io My Heroku server receives the POST from webmention.io and turns it in to a JSON file, I store in my repo. When my website rebuilds I rebuild the webmentions each time.
#
[Vincent]
I stored them separately (rather than in one file) because there were complicated race conditions if a site sent you multiple mentions at once. You would be updating the file to add the first mention while the second/third etc would try to access the file and fail. I didn’t want to build a complicated queue system to manage this, so I store each mention based on their ID and use the webemention datestamp as the file location.
stevestreza joined the channel
#
[Vincent]
In a nutshell, yes you can do it. And it’s simpler to store them locally one per JSON file. 🙂
#
[jdpinto1]
[Vincent] Excellent! I knew someone must already be doing this! I’ll have to take a look at your setup when I have the time and maybe ask you some questions. Thanks! 👍🙃
cweiske joined the channel
#
cweiske
who is grantcodes
#
Loqi
Grant Richmond is a freelance web developer working on WordPress and node.js projects https://indieweb.org/User:Grant.codes
#
cweiske
grantcodes[m], could you add real git tags to the micropub helper repository?
dustyweb_ and [grantcodes] joined the channel
#
[grantcodes]
cweiske: I probably could, never used them before though
[Vincent] joined the channel
#
[Vincent]
[jdpinto1] happy to help!
#
cweiske
git tag v1.2.3
#
cweiske
git push --tags
barpthewire, swentel, swentie, [jgmac1106] and [frank] joined the channel
#
[frank]
Is anyone familiar with Statamatic? https://statamic.com/
[jgmac1106], jeremych_, [pfefferle], eli_oat, [davidmead], [smerrill], snarfed, KartikPrabhu and [eddie] joined the channel
#
[eddie]
!tell GWG FYI your podcast cover art is still your profile photo 🙂 https://eddiehinkle.com/media/1d41ba6b8862c9e5d1e6549187bb3579.jpeg
#
Loqi
Ok, I'll tell them that when I see them next
KartikPrabhu and [jgmac1106] joined the channel
#
[jgmac1106]
Can anyone tell me what I am doing wrong with this podcase ? I can get my player to poll the site: https://stuffedworld.dogzone.com and https://stuffedworld.dogzone.com/feed.xml and
dustyweb, KartikPrabhu, [schmarty] and [jgmac1106] joined the channel; dustyweb left the channel
#
[jgmac1106]
!tell snarfed best repo for brig.gy want to change the directions in wordpress to A say use HTML widget and put the link to widget under the link they have to copy
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
I hope snarfed has a better time trying to parse that sentence than me, [jgmac1106] ;)
#
[jgmac1106]
sorry...meaning after watching 30 people install it. I want to change the directions based on user feedback. A: You should use the custom html and not the text widget. B: the liobe of code to copy should be above "Next Step Click this link
#
[jgmac1106]
So so many people click the link before copying the line and then be like, "Now what do I do?"
#
aaronpk
punctuation++
#
Loqi
punctuation has 1 karma over the last year
#
Zegnat
Are those changes for the Brid.gy website, or the WordPress plugin?
#
GWG
I need to remove references to the Bridgy plugin
#
Loqi
GWG: [eddie] left you a message 2 hours, 15 minutes ago: FYI your podcast cover art is still your profile photo 🙂 https://eddiehinkle.com/media/1d41ba6b8862c9e5d1e6549187bb3579.jpeg
#
GWG
Eddie, I really need to fix that
#
GWG
I thought I had
#
GWG
I need a tester that isn't caching
KartikPrabhu, [schmarty], snarfed and [eddie] joined the channel
#
[eddie]
GWG I think this should work https://castfeedvalidator.com/
#
GWG
I will fiddle. Fixing the recorder is my next podcast priority before I scare jerenycherfas away
benwerd, [Rose], swentel, snarfed, KartikPrabhu and [tantek] joined the channel
#
[tantek]
what is statamatic
#
Loqi
Statamic is a commercial flat-file CMS built on PHP, with Antlers templating, and YAML + Markdown for storing articles and pages (YAML for metadata, Markdown for the content), but no known IndieWeb building blocks support yet, nor IndieWeb examples https://indieweb.org/statamatic
KartikPrabhu, [metbril], [schmarty], benwerd and leg joined the channel
#
[tantek]
[frank] ^^^
[jgmac1106] and snarfed joined the channel
#
jacky
finally added that background job processing to Koype
#
jacky
so nice
#
jacky
I want to add it to my micropub endpoints (like around creating and the like) but I don't get an a usable URI until I save the entry
iasai joined the channel
#
snarfed
jacky just fyi your wm endpoint is 500ing
#
Loqi
snarfed: [jgmac1106] left you a message 3 hours, 38 minutes ago: best repo for brig.gy want to change the directions in wordpress to A say use HTML widget and put the link to widget under the link they have to copy
KartikPrabhu and [jgmac1106] joined the channel
#
jacky
D: D:
#
jacky
ah the dedupe of webmentions
#
jacky
thankfully today is slow so I think I can look into this
[Rose], snarfed, [jgmac1106], benwerd, rubenverborgh and jgmac1106 joined the channel