olopost / snotra_rss

Wagtail extension for RSS and twitter aggregator feature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snotra_rss logo

GitHub issues GitHub forks GitHub stars GitHub license Twitter

Overview

  • Self hosted rss feed agregator based on wagtail cms.
  • Self hosted twitter feed agregator based on wagtail cms.

This is a Wagtail extension adding RSS aggregator feature and Twitter aggregator home

Big news

Now full support Fever API ! Please configure your account in Feed account

New in 0.2 twitter aggregator and now on pypi just install snotra-rss with pip

feed account

Capture

capture

capture of article

Test with docker

  • build docker images with
# in snotra rss directory, type :
docker build -t snotra .
# run image with
docker run -p 8000:8000 --rm snotra

Install

add the following line to your requirements.txt file :

snotra-rss

after that add snotra_rss to INSTALLED_APPS section of your wagtail settings: please also add taggit if not already done

INSTALLED_APPS = [
    'taggit',
    'snotra_rss',
    'corbeille',
    'search',
    'wagtail.contrib.forms',
    'wagtail.contrib.redirects',
    'wagtail.embeds',
    'wagtail.sites',
    'wagtail.users',
    'wagtail.snippets',
    'wagtail.documents',
    'wagtail.images',
    'wagtail.search',
    'wagtail.contrib.modeladmin',
    'wagtail.contrib.table_block', # ajout support des tableaux
    'wagtail.core',
    'wagtail.admin',
    'modelcluster',
    'wagtail.contrib.styleguide',
    'wagtail.contrib.postgres_search',
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles'
]

after that add urls of snotra_rss to your urls section of your wagtail apps

from snotra_rss import urls as snotra_urls


urlpatterns = [
    url(r'^django-admin/', admin.site.urls),

    url(r'^admin/', include(wagtailadmin_urls)),
    url(r'^documents/', include(wagtaildocs_urls)),

    url(r'^search/$', search_views.search, name='search'),

    # For anything not caught by a more specific rule above, hand over to
    # Wagtail's page serving mechanism. This should be the last pattern in
    # the list:
    url(r'', include(wagtail_urls)),
    url(r'', include(snotra_urls))

    # Alternatively, if you want Wagtail pages to be served from a subpath
    # of your site, rather than the site root:
    #    url(r'^pages/', include(wagtail_urls)),
]

Usage

  1. First create feeds in your admin section, you should see Rss feeds section
  2. after that, go to your app url /update uri
  3. entries is updated, you can see them in the rss entries section

good usage

Release note

  • 0.2.5.5

    • update setup.py
  • 0.2.5.4

    • Fix tag issue
  • 0.2.5.3

    • add rss feed parser timeout to 2s (please try in gui if you check some error)
  • 0.2.5.1

    • fix icon bug
  • 0.2.5.0

    • fix bug for url string too long (more than 200 characters)
    • add refresh entries button to menu bar
  • 0.2.4.0

    • Refactor organisation and add a homepage if use standalone
  • 0.2.3.9

    • correct last refresh bug
  • 0.2.3.8

    • Optimisation / last refresh (block is refresh take less than 2 minutes)
  • 0.2.3.7

    • bug correction - mark all as read
  • 0.2.3.6

    • Improvement in tweet display
  • 0.2.3.5

    • Add some client_ip tracking
  • 0.2.3.4

  • 0.2.3.3

    • review logging policy and adapt them for graylog
    • OVH Data log compatible
  • 0.2.3.2

    • Add datalog support
  • 0.2.3.1

    • change logging mode for request
  • 0.2.2 and 0.2.3

    • Add twitter hashtag followup
      • You can add hashtag in RSS feed in the name field (don't forget to check the twit box)
  • 0.2.1

    • Add twitter followup for person
      • You can add twitter person in RSS feed in the name field (don't forget to check the name field)

Thanks

  • thanks to Torchbox for wagtail cms application

About

Wagtail extension for RSS and twitter aggregator feature

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 94.4%Language:Dockerfile 2.8%Language:HTML 2.8%