Skip to content
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

Provide example javascript rendering code #104

Open
cweiske opened this issue Mar 22, 2018 · 4 comments
Open

Provide example javascript rendering code #104

cweiske opened this issue Mar 22, 2018 · 4 comments
Labels

Comments

@cweiske
Copy link

cweiske commented Mar 22, 2018

It would be nice if there was some example code that fetches the webmentions for an URL and then takes the JSON data and actually renders the HTML and appends it to the page.

Use case would be not-so-technical users that want to use webmention.io on their static site.


Related to #94.

@cweiske
Copy link
Author

cweiske commented Mar 23, 2018

@mxstbr
Copy link

mxstbr commented Feb 9, 2019

I implemented web mentions for my blog at https://mxstbr.com/thoughts, which is a React app built with Next.js. Here is the source for the components that fetch and render web mentions! https://github.com/mxstbr/mxstbr.com/tree/master/components/WebMentions

Hope that can be helpful for somebody 👍

@jamietanna
Copy link
Contributor

There's also https://github.com/PlaidWeb/webmention.js which a few of the community are using 😄

@kwaa
Copy link

kwaa commented Feb 14, 2023

Hello everyone!
I've written a new rendering component - it's a WebComponent, so it should work for most sites.
GitHub | NPM | StackBlitz (modify the target to show the webmention of the corresponding page)

@aaronpk aaronpk added the devex label Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants