Skip to content

Feeds aggregator and delivery service for Hasadna's Eknights/projects.

Notifications You must be signed in to change notification settings

noamoss/notifier

Repository files navigation

notifier

Goal

Open Knowledge and Data should reach us proactivley. The Notifier enables users to sign up for relevant feeds (API based) and get updates when relevant data/info is published.

Installation

  1. clone me.
  2. 'pip install requirements.txt'

mail delivery setup

  1. python export PYTHONPATH= `<project_path>`
  2. set SENDGRID_KEY, sender address and titles on local_config.py
  3. use ./mail_sender/mail_sender.py to check sending
  4. add dictionary of social sharing netweork and links on _config.py:
sharing_services = {
    'facebook': "https://www.facebook.com/sharer/sharer.php?u={2}",
    'email':"mailto:?&subject={0}: {1}&body={2}",
    'linkedin':"https://www.linkedin.com/shareArticle?mini=true&url={2}&title={0}:{1}&summary=&source=",
    'twitter':"https://twitter.com/intent/tweet?url={2}&text={0}:{1}.via @hasadna",
    'google': "https://plus.google.com/share?url={2}"
    }

db initiation and migration

python db_migrate db init and/or python db_migrate db migrate

run local

python app.py

add project's feed

set on views route (/addfeed/porjectname): <notifier_url>/add/<project_name>?link=<feed_url>&otherparam=<value>

About

Feeds aggregator and delivery service for Hasadna's Eknights/projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages