Skip to main content

JSONFeed syndication in Django.

Project description

CI Status Documentation Status

This library intends to support JSON Feed in Django and feedgenerator.

Usage

If you are using Django:

from django.contrib.syndication.views import Feed
from jsonfeed import JSONFeed

class ExampleFeed(Feed):
    type = JSONFeed

If you are using this library without Django, you will first need to install the feedgenerator Python package:

from jsonfeed import JSONFeed

feed = JSONFeed(
    title='Hello, World!',
    link='https://example.com/',
    language='en'
)

feed.add_item(
    title='One',
    link='https://example.com/1/',
    pubdate=datetime(2018, 2, 28, 15, 16)
)

return feed.writeString()

Installation

$ pip install django-jsonfeed

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

django-jsonfeed-0.3.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_jsonfeed-0.3.1-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-jsonfeed-0.3.1.tar.gz.

File metadata

  • Download URL: django-jsonfeed-0.3.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.8.1

File hashes

Hashes for django-jsonfeed-0.3.1.tar.gz
Algorithm Hash digest
SHA256 4e59cfab439176574bcb1709233dd2409eb2f99a8de0b9bca06815e52749184b
MD5 91bf6a3bcb60a0cc531f0b4338b4933a
BLAKE2b-256 bc8007cf479d7d020ed1b679f97f099cca0e6d3d47b39d01ca04238e1ce2126a

See more details on using hashes here.

File details

Details for the file django_jsonfeed-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: django_jsonfeed-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.8.1

File hashes

Hashes for django_jsonfeed-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e8f8bc8de72c45cc0d80c3fa25bdcd74283d6761c95df778b38ad8af9cdb53d1
MD5 a9d197fac5081c503578d9fe5cbfa20c
BLAKE2b-256 e404563220d93c12921b2e01a1375e667d09b0afd050641abb9f9488969d01f1

See more details on using hashes here.

Supported by

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