Skip to main content

An easy way to show the contents of a blog in your Django app.

Project description

Build Status CodeFactor PyPI - Downloads PyPI - Downloads

Django-BlogConnector

A very simple app that pulls in Posts, categories and Authors from a Blog's RSS/Atom feed.

Only tested with a WordPress blog so far. Adding others should be possible.


Installation and Setup

You can install it easily from pypi by running

pip install django-blogconnector

After installing the package, add django_blogconnector in in your INSTALLED_APPS settings

INSTALLED_APPS = (
    ...
    'django_blogconnector',
)

After this, you can either include the sample urls in your urls.py.

urlpatterns = [
    ...
    path('blog/', include('django_blogconnector.urls')),
    ...
]

or create your own views for blog posts.

There are some template tags to simplify template creation:

{% posts %}  - Render the list of posts with the template at blog_connector/post.html

{% posts <category-slug> %} - Same as posts, but for a single category.

{% categories %} - Renders the category list with the blog_connector/category.html and blog_connector/category_link.html templates.

{% ...|paragraphs:n }% - Renders the first *n* paragraphs of the variable passed into it.

Everything has admins, so you can add blogs, edit posts, link blog users to your own users, rename categories, etc.

Project details


Release history Release notifications

Download files

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

Files for django-blogconnector, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django_blogconnector-1.0.0-py3-none-any.whl (40.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-blogconnector-1.0.0.tar.gz (30.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page