-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webmentions? #57
Comments
Yes, a server side component would be necessary. webmention.io is one such option. There's a Jeykll Gem plugin that handles sending and storing the webmentions from wm.io JSON response so something like that could be built for eleventy |
This repository is now using lodash style issue management for enhancements (see https://twitter.com/samselikoff/status/991395669016436736) This means enhancement issues will now be closed instead of leaving them open. The enhancement backlog can be found here: https://github.com/11ty/eleventy/issues?utf8=%E2%9C%93&q=label%3Aneeds-votes+sort%3Areactions-%2B1-desc+ |
Hope this helps! You can do Webmentions on a static site (I am currently building my own for Jekyll) but this can get quite complicated. Using the Jekyll Gem is a looooooong build process, so I wouldn't go down that route. The larger your content becomes the larger the build time, it's a bad pattern. Having one plugin to "rule them all" is a brittle bottleneck. A better pattern is the following: For Incoming mentions around the web
For posting data in to the static site Your right you need a separate service to do this. The best implementation I've seen is by @voxpelli https://github.com/voxpelli/webpage-micropub-to-github This service polls for mentions on other services such as Ownyourgram or OwnyourSwarm. Once it gets those it creates a markdown file and submits it to your Github repo. Accepting the merge, will then trigger the site to rebuild, adding the new post in to your post list and then auto-deploying to Netlify. Probably best hosted on Heroku or something similar (This is what I am building on my own at the moment). I've tried a lot of different methods to try and support webmentions over on my website and this is the method I believe is the most sensible I've come across in terms of build time impact and separation of concerns. |
👋 Happy to answer questions if there's any. Apart from what's mentioned, there is the voxpelli/webpage-webmentions#37 issue for my webmention.io alternative (https://webmention.herokuapp.com/) that would enable it to post received webmentions to micropub (which using my micropub-endpoint would then result in a comment being added to the page in Jekyll) |
Awesome related resource from @maxboeck https://mxb.at/blog/using-webmentions-on-static-sites/#webmentions |
@zachleat I was wondering if something like this could be abstracted into a plugin, similiar to Aarons Jekyll solution (https://aarongustafson.github.io/jekyll-webmention_io/) - but as far as I can see eleventy plugins can't provide global JS data... 🤔 Might be something for a future release? |
FYI: I made a starter template based on https://github.com/maxboeck/eleventy-webmentions |
@maxboeck if you need any inspiration I wrote a blog post here that could help: https://vincentp.me/articles/2018/11/14/20-00/ I'm using Jekyll at the moment (moving very soon to 11ty). Most of what I have is platform agnostic. |
Count me in! Thanks for the links above :-) |
https://indieweb.org/Webmention
Looks like this may require a server side component, not sure of the options here yet.
https://twitter.com/nhoizey/status/961271272167694336
The text was updated successfully, but these errors were encountered: