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.
Metadata
Release files for django-blogconnector 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-blogconnector-1.0.0.tar.gz | 30.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_blogconnector-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.9 kB
Release files / django-blogconnector-1.0.0.tar.gz
| Download URL | django-blogconnector-1.0.0.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
776bac0ea3ecee599f4d5756d35debe26244ddfa1dcd5d9c15d1626a13919908
|
|
BLAKE2b-256 checksum How to use checksums |
52549f39f68e912ee93345b9b10409442340e7b401fb0a556ecfe70c0780ead3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.0 CPython/3.6.7
|
Release files / django_blogconnector-1.0.0-py3-none-any.whl
| Download URL | django_blogconnector-1.0.0-py3-none-any.whl |
|---|---|
| Size | 40.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
684cfd81025386d15e20448636b4216d9edc4035fb920961380414f6e9efb562
|
|
BLAKE2b-256 checksum How to use checksums |
8f156e2f2207c9a346c042c270f6f2c5fa60a78d044cb9bec4ab5f41e10948db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.0 CPython/3.6.7
|