This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Integration of https://github.com/matthiask/django-newswall to Leonardo CMS.

This module uses this fork https://github.com/michaelkuty/django-newswall.git#egg=newswall py of newswall wich is compatibile with Django 1.7<1.9

Installation

pip install leonardo-newswall

or as leonardo bundle

pip install django-leonardo["newswall"]

Optionally use leonardo-celery for periodical update, or just call update_newswall however you want.

Load new templates to db

python manage.py sync_all -f

Providers

newswall has a few bundled providers, those being:

Elephantblog

Adds news entries for every active entry in a elephantblog installation on the same website. No additional configuration required (or possible). Add the following JSON configuration to the Source entry:

{"provider": "newswall.providers.elephantblog"}

Facebook Graph Feed

This provider adds news entries for every wall post on a Facebook page. The wall posts are accessed through the Graph API; you’ll need a copy of the Python Facebook SDK somewhere on your Python path. You’ll need an access token with offline_access permission for this provider. Required configuration follows:

{"provider": "newswall.providers.fb_graph_feed",
"object": "FEINHEIT",      // used to construct the Graph request URL
"from_id": "239846135569", // used to filter stories created by the
                           // object referenced above, ignores stories
                           // sent by others
"access_token": "..."
}

We suggest to use App Access Tokens to query the Facebook Page feed, because they don’t expire. To get an App Access Token, simply open this URL with your browser, after filling in the required fields (the all caps words):

https://graph.facebook.com/oauth/access_token?client_id=YOUR_APP_ID&client_secret=YOUR_APP_SECRET&grant_type=client_credentials

More infos according the App Access Tokens can be found on the official Facebook documentation: <https://developers.facebook.com/docs/opengraph/using-app-tokens/>

To obtain the “from_id” configuration parameter, you can query the Facebook Open Graph API Backend with your Browser:

https://graph.facebook.com/OBJECT

f.e.: <https://graph.facebook.com/FEINHEIT>

RSS Feed

The RSS feed provider can take any RSS or Atom feed (in fact anything parseable by feedparser and turn the stories into news entries:

{
"provider": "newswall.providers.feed",
"source": "http://twitter.com/statuses/user_timeline/unsocialrider.rss"
}

Twitter API Feed

Required: tweepy:

pip install leonardo-newswall[twitter]

Usage:

Create a twitter app. You’ll find the consumer_key/secret on the detail page. Because this is a read-only application, you can create your oauth_token/secret directly on the bottom of the app detail page.

Required configuration keys:

{
"provider": "newswall.providers.twitter",
"user": "feinheit",
"consumer_key": "...",
"consumer_secret": "...",
"oauth_token": "...",
"oauth_secret": "..."
}
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0.post1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1.dev1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
leonardo-newswall-0.1.1.tar.gz (6.7 kB) Copy SHA256 Checksum SHA256 Source Oct 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting