معرفی شرکت ها


django-wm-4.0.1.dev4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Webmention support for Django.
ویژگی مقدار
سیستم عامل -
نام فایل django-wm-4.0.1.dev4
نام django-wm
نسخه کتابخانه 4.0.1.dev4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Michael Beaton
ایمیل نویسنده michael@beatonma.org
آدرس صفحه اصلی https://beatonma.org/webmentions_tester/
آدرس اینترنتی https://pypi.org/project/django-wm/
مجوز GPLv3
# `django-wm` [![Tests](https://github.com/beatonma/django-wm/actions/workflows/runtests.yml/badge.svg)](https://github.com/beatonma/django-wm/actions/workflows/runtests.yml) [![pypi package](https://badge.fury.io/py/django-wm.svg)](https://badge.fury.io/py/django-wm) `django-wm` lets you add [Webmention](https://indieweb.org/Webmention) functionality to your Django project with minimal setup. ### Upgrading Please check the [upgrade guide](https://github.com/beatonma/django-wm/wiki/Upgrading) for any breaking changes before upgrading. See the [changelog](./CHANGELOG.md) for full details. ### Getting started [Setup instructions](https://github.com/beatonma/django-wm/wiki/Guide_Getting-started). [Code for an example project](./sample-project). All done? You can use the [testing tool](https://beatonma.org/webmentions_tester/) to make sure it works. ### Features - Endpoints: - `/webmention`: Receives incoming Webmentions from other sites. - `/webmention/get`: Used to retrieve Webmentions for a page on your site. e.g. `/webmention/get?url=/my-article` will return any received Webmentions that target `/my-article` on your site. ```json5 // /webmention/get?url=/my-article { "target_url": "https://my-site.org/my-article", "mentions": [ { "hcard": { "name": "Jane Bloggs", "avatar": "https://gravatar.com/janebloggs", "homepage": "https://jane-bloggs-example.org" }, "quote": null, "source_url": "https://jane-bloggs-example.org/some-article", "published": "2020-01-17T21:45:24.542Z", "type": "webmention" } ] } ``` - `WebmentionHeadMiddleware` adds your `/webmention` endpoint to the headers of your pages so that it can be discovered by other sites. - `{% webmentions_endpoint %}` template tag to include your `/webmention` endpoint to your Django templates <head> HTML element. - `MentionableMixin` enables automatic submission of Webmentions to other sites when you mention them in your content.


نیازمندی

مقدار نام
>=4.6 beautifulsoup4
>=2.2 Django
>=1.1 mf2py
>=2.20 requests
>=5.2.2 celery
- pytest
- pytest-django


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl django-wm-4.0.1.dev4:

    pip install django-wm-4.0.1.dev4.whl


نصب پکیج tar.gz django-wm-4.0.1.dev4:

    pip install django-wm-4.0.1.dev4.tar.gz