Skip to main content

Wagtail RSS feed

Wagtail RSS feed is a Django app that provides custom content block that can be used with any Wagtail page model.

This way you can load any RSS feed and display it on a any Wagtail page.

Quick start

  1. Install "wagtail_rss_feed_block" using pip

    $ pip install wagtail-rss-feed-block
    
  2. Add "wagtail_rss_feed_block" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        "wagtail_rss_feed_block",
    ]
    
  3. Use RSSFeedBlock in your Wagtail Page model for example like this:

    from wagtail.models import Page
    from wagtail.fields import StreamField
    from wagtail_rss_feed_block.blocks import RSSFeedBlock
    
    class BlogPage(Page):
        body = StreamField([
            ...
            ('rss_feed', RSSFeedBlock()),
            ...
        ])
    
        content_panels = [       
            FieldPanel('body'),
        ]
    
  4. Make and apply database migrations with new changes:

    $ python manage.py makemigrations
    $ python manage.py migrate
    

Development

  1. Clone this repo:

    $ git clone git@github.com:LESPROJEKT/wagtail-rss-feed-block.git
    
  2. Use pip to install this package from newly cloned repo folder to your local Django project ( -e argument stands for --editable and it's handy for local development. It will reload your Django project every time you make changes to wagtail-rss-feed-block.):

    $ pip install -e <path to repo folder>
    
  3. Now you can continue from step no. 2 of Quick start guide above.

Metadata

Release files for wagtail-rss-feed-block 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-rss-feed-block 0.1.0
File Size Uploaded
wagtail-rss-feed-block-0.1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-rss-feed-block 0.1.0
File Interpreter ABI Platform
wagtail_rss_feed_block-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / wagtail-rss-feed-block-0.1.0.tar.gz

Download URL wagtail-rss-feed-block-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4bb72db16b63261d7a9c42c111cdd3dec0af50247b81e3dce53f183096d1f065
BLAKE2b-256 checksum
How to use checksums
9ea4008fcc42e113eae832d5c106832b227fd06acbe1d8370b0cc16c30c9be92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wagtail_rss_feed_block-0.1.0-py3-none-any.whl

Download URL wagtail_rss_feed_block-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96ebb56907d16b17c0a9f6b235b66364e170a3e34584d80bbf4c762c136cb7ea
BLAKE2b-256 checksum
How to use checksums
bf5493b37c0a8a5ef9e163693c65fb194270f9645a4bdc2377f1c0784378cbd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page