Skip to main content

Tools for implementing a webmention enpoint.

Project description

went stands for webmention endpoint tools.

import went
webmention = went.Webmention(source_url, target=target_url)
webmention = went.Webmention(source_html, target=target_url)

webmention.date == '2015-02-26'
webmention.url == 'http://someone.com/blog/hello.html'
webmention.name == 'Hello world'
webmention.html == '<a href="http://otherpage.com/">to see my <i>hello world</i> go to this other page</a>'
webmention.body == '[to see my _hello world_ go to this other page](http://otherpage.com/)'
webmention.via == 'twitter.com' # bridgy-specific
webmention.author['name'] == 'Someone'
webmention.author['url'] == 'http://someone.com/'
webmention.author['photo'] == 'http://someone.com/photo.jpg'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

went-0.0.12.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page