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 · 3 comments
Open

Provide example javascript rendering code #104

cweiske opened this issue Mar 22, 2018 · 3 comments

Comments

@cweiske
Copy link

@cweiske 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.

@mxstbr
Copy link

@mxstbr 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

@jamietanna jamietanna commented Sep 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants