Skip to main content

Simple plugin to show a a rss feed in your django cms site.

Features

  • Show specified number of feeds in the page.

  • You can choose to open the feed in current window or new window.

  • Show any rss feed you specified, it can be your external rss url, or your internal rss relative url like ‘/myblog/rss’.

  • The feed list would be cached for specified time long.

  • You can choose the template of your RSS feed or use the default

Usage

Installation:

$ pip install django-rss-plugin

Add rssplugin to your INSTALLED_APPS in Django settings.py file, Like following:

INSTALLED_APPS=(
      'rssplugin',
)

Run south migrate to install plugin database:

$ python manage.py migrate rssplugin

If no south, just run:

$ python manage.py syncdb

template filter

  1. parsed_to_date:

    {% load rss_tags %}
    {{ entry.published_parsed|parsed_to_date|timesince }}

see rss.html for usage examples.

Notice, both external link like ‘http://example.com/rss’ and internal link like ‘/blog/rss’ are supported.

Using custom template

Use CMS_RSS_PLUGIN_TEMPLATE = “path_to_your_template.html” in settings.py to set a custom template, default is rss/rss.html.

Feed timeout

Use CMS_RSS_PLUGIN_FEEDPARSER_TIMEOUT = seconds in settings.py to set a custom socket timeout, default is 60

Online Resources

Change History

  • 03/04/2015, Version 0.0.9

    Added socket timeout settings when fetching feed.

  • 01/01/2015, Version 0.0.8

    Added customized template support, thanks to Felix-neko contribution.

  • 2/13/2013, Version 0.0.7

    Fix a template bug.

  • 2/12/2013, Version 0.0.6

    New feature:

    1. Can specify both external link and internal path.

  • 2/11/2013, Version 0.0.5

    New features:

    1. If no entries found, show “no entries found”.

  • 2/8/2013, Version 0.0.4

    First stable release published to Pypi.

Metadata

Release files for django-rss-plugin 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 django-rss-plugin 0.1.0
File Size Uploaded Provenance Actions
django-rss-plugin-0.1.0.tar.gz 6.5 kB Without provenance Details for django-rss-plugin-0.1.0.tar.gz

Release files / django-rss-plugin-0.1.0.tar.gz

Download URL django-rss-plugin-0.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2195524ce27d6f89d596729a8efb06e805baf5affaad832c60a176753ea80489
BLAKE2b-256 checksum
How to use checksums
419952494ad31f6234ceaf2a1c0c2942ce661f81193b5388cd140c7a7a076396
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-rss-plugin 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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