{ "info": { "author": "rage2000", "author_email": "lafaye@emencia.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. _django-taggit: https://pypi.python.org/pypi/django-taggit\n.. _twitter: https://pypi.python.org/pypi/twitter\n.. _python-instagram: https://pypi.python.org/pypi/python-instagram\n.. _facebook-sdk: https://pypi.python.org/pypi/facebook-sdk\n.. _feedparser: https://pypi.python.org/pypi/feedparser\n.. _google-api-python-client: https://pypi.python.org/pypi/google-api-python-client\n.. _django-cms: http://www.django-cms.org/\n.. _django-filebrowser: https://github.com/sehmaschine/django-filebrowser\n.. _django-filebrowser-no-grappelli: https://github.com/smacker/django-filebrowser-no-grappelli\n\nemencia-django-social-aggregator\n================================\n\nThis app is an aggregator of social network.\n\nA command script will recover data from social network/external site from\n**Aggregator** info that you specified into admin. It will stock them into\ndatabase, like **Ressource** and you could manage them into admin. You could\nregroup **Ressource** by **Feed** and return them into JSON or HTML view.\n\nOptionally you can use it as a plugin for `django-cms`_ if installed.\n\nSince version ``0.3``, the *DjangoCMS 2.x* and *Django<1.6* has been dropped. A ``djangocms_2`` branch has been opened to maintain ``0.2.x`` version serie if needed.\n\nLinks\n*****\n\n* Download his `PyPi package `_;\n* Clone it on his `Github repository `_;\n\nRequires\n********\n\n* `django-taggit`_;\n* `twitter`_;\n* `python-instagram`_;\n* `facebook-sdk`_;\n* `feedparser`_;\n* `google-api-python-client`_;\n* `django-filebrowser-no-grappelli`_ >= 3.5.6;\n\nInstall\n*******\n\nIn your settings.INSTALLED_APPS : ::\n \n 'taggit',\n 'filebrowser',\n 'socialaggregator',\n\nAnd some `django-filebrowser-no-grappelli`_ basic settings (see its documentation for more details) : ::\n\n FILEBROWSER_VERSIONS_BASEDIR = '_uploads_versions'\n\n FILEBROWSER_MAX_UPLOAD_SIZE = 10*1024*1024 # 10 Mb\n\n FILEBROWSER_NORMALIZE_FILENAME = True\n \nThen import basic settings in your settings file : ::\n\n from socialaggregator.settings import *\n\n.. _intro_usage:\n\nUsage\n*****\n\nAs a view\n---------\n\nFirst, add this row in your ``urls.py`` : ::\n\n url(r'^socialaggregator/', include('socialaggregator.urls')),\n\nThen you will access to your feed ressources list as a HTML page with an url like this : ::\n\n /socialaggregator/feed/sample/\n\nOr you can use the JSON version : ::\n\n /socialaggregator/feed/sample/?format=json\n\nAlso there is a view to display **all** resssources from all feeds : ::\n\n /socialaggregator/\n\nThe default template use in these views comes from ``settings.EDSA_PLUGIN_TEMPLATE``.\n\nAs a templatetag\n----------------\n\nThe tag syntax is the following : ::\n \n {% ressource_by_feed slug template_name %}\n\nWhere : \n\n* ``slug`` argument is a String containing the slug feed;\n* ``template_name`` is a String containing the template path to use, default to ``settings.EDSA_TAG_TEMPLATE``;\n\nSo for example, load the templatetag and use the tag giving it the feed slug to use to list its ressources : ::\n\n {% load socialaggregator_tags %}\n\n
\n {% ressource_by_feed 'parrot-apps-usa' %}\n
\n\n\nAs a django-cms plugin\n----------------------\n\nJust use the plugin named \"Socialaggregator Feed Plugin\" in your page with selecting the feed you want to list the ressources.\n\nThe default used template path comes from ``settings.EDSA_PLUGIN_TEMPLATE`` to display the feed ressources, change it in your project to use your own HTML layout.\n\nUnified content datas\n---------------------\n\nBecause feeds can contains ressources from many social networks, a method ``get_unified_render`` exist on the ``Ressource`` model. The method use formatter loaded from the setting ``RESSOURCE_FORMATTER`` if defined, else it will load the default formatter ``socialaggregator.formatter.RessourceFormatterDefault``.\n\nThe default formatter return a dict with an unified data scheme, so you can use it in your template without to test if a field is filled or not, etc.. This is optionnal, you can still directly use the ressource instance and play with its fields. You can use it like so : ::\n\n {% for ressource_item in feed_ressources %}{% with ressource_item.get_unified_render as ressource %}\n
  • \n {% if ressource.title %}

    {{ ressource.title }}

    {% endif %}\n {% if ressource.description %}

    {{ ressource.description|safe|linebreaksbr }}

    {% endif %}\n
  • \n {% endwith %}{% endfor %}\n\nNote that the formatter is not automatically applied, so the JSON view output still return ressource instances serialized.\n\n.. _intro_changelog:\n\nChangelog\n=========\n\n0.3.2\n*****\n\n* Fix dependancies in ``setup.py``;\n\n0.3.2\n*****\n\n* Replace *django-filer* usage in profit of *django-filebrowser*;\n* Replace previous migration (0016) to suit this change;\n\n0.3\n***\n\n* Drop support for *DjangoCMS 2.x* and *Django<1.6* in profit of *DjangoCMS 3.x* and *Django>=1.6*;\n* Use *django-filer* to manage image fields in models;\n* Make the app menu in the cms toolbar;\n\n0.2.9\n*****\n\n* Improved admin view for Feeds and Aggregators models;\n\n0.2.8\n*****\n\n* Add in Ressource model some display options (``background_color`` and ``new_page``);\n\n0.2.3\n*****\n\n* Add ``ressource_by_feed`` template tag to display ressources from specified feed without any pagination;\n* Add ``EDSA_VIEW_TEMPLATE``, ``EDSA_TAG_TEMPLATE``, ``EDSA_PLUGIN_TEMPLATE`` settings and use them in view, tag and plugin;\n* Some cleaning on the default template for views;\n\n0.2.2\n*****\n\n* Add Sphinx documentation in ``docs/``;\n\n0.2.1\n*****\n\n* Add new method on Ressource model to get unified content data;\n\n0.2\n***\n\n* Add optional django-cms plugin to display feed ressources, little changes on default view template;\n\n0.1.dev\n*******\n\n- Initial release. Alpha version", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://emencia.fr/", "keywords": "django,emencia,social networks,aggregation", "license": "AGPL License", "maintainer": null, "maintainer_email": null, "name": "emencia-django-socialaggregator", "package_url": "https://pypi.org/project/emencia-django-socialaggregator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/emencia-django-socialaggregator/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://emencia.fr/" }, "release_url": "https://pypi.org/project/emencia-django-socialaggregator/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "Django app for aggregate some feeds from social networks.", "version": "0.3.3" }, "last_serial": 1624647, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "3cad18643fd43b75083a22953b19d49e", "sha256": "cc3fe3fc6867dfcc9dcaef849a4996620df679d9addbfa064d05e4f0b1564427" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.2.tar.gz", "has_sig": false, "md5_digest": "3cad18643fd43b75083a22953b19d49e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30137, "upload_time": "2014-02-05T12:10:50", "url": "https://files.pythonhosted.org/packages/1e/b9/b95071a3337f3ffe7c229b10b63c2aa8f53403f191e82b7b439baa507e0e/emencia-django-socialaggregator-0.2.2.tar.gz" } ], "0.2.2.1": [ { "comment_text": "", "digests": { "md5": "d9c0b5c4631c250f9d834d4c412cfae2", "sha256": "998416daf1ced99a3b0637ed9e73bcc9cc6a7a870612b249d014a65ee4e34602" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.2.1.tar.gz", "has_sig": false, "md5_digest": "d9c0b5c4631c250f9d834d4c412cfae2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30269, "upload_time": "2014-02-05T15:23:03", "url": "https://files.pythonhosted.org/packages/e7/35/a34ed510326c63ad8ab9b22026e44a5882d7e9bcad5e01c818ae9f34efaa/emencia-django-socialaggregator-0.2.2.1.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "d0eec20388cdac249c0bb384630b80f7", "sha256": "b9896e4967fc8d972cbaffc8ac4fc8548eb867b7355911a267f38547b9f40b48" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.3.tar.gz", "has_sig": false, "md5_digest": "d0eec20388cdac249c0bb384630b80f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31307, "upload_time": "2014-04-15T22:32:10", "url": "https://files.pythonhosted.org/packages/a9/61/5f7a65d9ab9a96e90df4851b38003038e4cb3aee5d16ef903444603c6259/emencia-django-socialaggregator-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "717bfaf5e61da3b20bceefcaeb459a3f", "sha256": "a14a1bb75d5d6dea123d4d896292941ee281107bee9d7c3594b1cf3027147cfa" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.4.tar.gz", "has_sig": false, "md5_digest": "717bfaf5e61da3b20bceefcaeb459a3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31477, "upload_time": "2014-05-20T07:48:44", "url": "https://files.pythonhosted.org/packages/d0/56/1dbfb4605fa7148422e86497dbbb493b3ab39be501d0bf7ccd2d1a7557a9/emencia-django-socialaggregator-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "44a50a2229a1f3b12b1ff3afbec449a6", "sha256": "4da0de8470f36557f75a14392563061143d66751cfc5cb77c971e374fb7488e3" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.5.tar.gz", "has_sig": false, "md5_digest": "44a50a2229a1f3b12b1ff3afbec449a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31492, "upload_time": "2014-05-20T08:12:11", "url": "https://files.pythonhosted.org/packages/ba/1b/5c20539fe63da3615642de5fb4ef63e3a71b0f51b84bdcb8702de8dd006e/emencia-django-socialaggregator-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "4c3526f17d0382a70f9aa4b759507b75", "sha256": "3b70e35573ac2c062d4a0950dc9942e098acceba701e0824f1f3e71d52ccd801" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.6.tar.gz", "has_sig": false, "md5_digest": "4c3526f17d0382a70f9aa4b759507b75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31495, "upload_time": "2014-05-20T08:20:58", "url": "https://files.pythonhosted.org/packages/8d/ad/34fc26535bce668b722f3f4e0c2f78e477ddc316c9bd07b38a8ad6dc3469/emencia-django-socialaggregator-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "92eb6ab6ce14db597e6295aa4ddfafeb", "sha256": "4f971823306ceb882778ef0ba5d20950b3111d98058a4c2aedae84207a160003" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.7.tar.gz", "has_sig": false, "md5_digest": "92eb6ab6ce14db597e6295aa4ddfafeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31504, "upload_time": "2014-06-04T14:05:50", "url": "https://files.pythonhosted.org/packages/f3/4a/2af922154e5e0f5b916d6048f79873606f8e6212dc3b009b638f00bf4f13/emencia-django-socialaggregator-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "85c180f3f234821db0bd134cdcbf9bc9", "sha256": "7b723b0753ddf99c1b67c5c8a45cd5caea1f67c5689b5cc3dcf38c59c837b615" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.8.tar.gz", "has_sig": false, "md5_digest": "85c180f3f234821db0bd134cdcbf9bc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32424, "upload_time": "2014-09-15T11:28:38", "url": "https://files.pythonhosted.org/packages/23/31/14050e368ac0dcde1a09f325d51efdcb1462ec64a5d73eb97b71abb9b310/emencia-django-socialaggregator-0.2.8.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "bc41f8f7291a0b4eb926c7f2b58dbb16", "sha256": "ce6c626e016b0ec53f01b14a8f5ff923be63ed1f1ef2a4244afa314e5fa97a29" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.9.tar.gz", "has_sig": false, "md5_digest": "bc41f8f7291a0b4eb926c7f2b58dbb16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32525, "upload_time": "2014-10-06T14:00:26", "url": "https://files.pythonhosted.org/packages/6e/08/2e2b8782b9f2cfb9340512874fd7da26a624125f6a975dd966f814eca479/emencia-django-socialaggregator-0.2.9.tar.gz" } ], "0.2.9.1": [ { "comment_text": "", "digests": { "md5": "406d61d868b50571e6b60c5c906d535a", "sha256": "eb36648b3821831fd4e7756617d24d3cc0e6ac636e5959504c3fd66d235be93d" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.2.9.1.tar.gz", "has_sig": false, "md5_digest": "406d61d868b50571e6b60c5c906d535a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32340, "upload_time": "2015-07-08T15:50:07", "url": "https://files.pythonhosted.org/packages/d4/1c/2d66100835c7351c1ddf2e88546d4913a42a97fee21a3ae747837072e41f/emencia-django-socialaggregator-0.2.9.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "8087b7694df0bdb6396be23837b29211", "sha256": "a2bd61e5a24fab32841977cfc1edbe59b7e6ed063699d13ad7e9471b07858dc7" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.3.tar.gz", "has_sig": false, "md5_digest": "8087b7694df0bdb6396be23837b29211", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34280, "upload_time": "2014-10-18T01:40:15", "url": "https://files.pythonhosted.org/packages/45/e3/14e067f4f8dffb578213ca35fa4196880cc8595aae1b661f928c36778379/emencia-django-socialaggregator-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "716b22ab22ca9318581d9f12a2199581", "sha256": "34b7115c357b36e73e7341b5df5fbdd901edfc1310f79cf3c7870b2272d0e2ba" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.3.1.tar.gz", "has_sig": false, "md5_digest": "716b22ab22ca9318581d9f12a2199581", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33875, "upload_time": "2014-10-24T02:33:36", "url": "https://files.pythonhosted.org/packages/eb/6e/0b5e5fe3289f665e62732a3f67589f0e53788543749288163b09ac5d8d88/emencia-django-socialaggregator-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "60a97ff08070ce771aa6affc44142497", "sha256": "ccbb101d12cceb6c2ad73b082fb4477acba926cc0642d5508b149074da7a1b35" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.3.2.tar.gz", "has_sig": false, "md5_digest": "60a97ff08070ce771aa6affc44142497", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33898, "upload_time": "2014-10-24T02:38:11", "url": "https://files.pythonhosted.org/packages/c8/c6/c42481f1e53593011d095759a6e96216e60cbafe5d2dc7f726deb72ba923/emencia-django-socialaggregator-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "2af96ad43ab25acc553160cf807c754d", "sha256": "23e84c5002d5250ddf42b7177d7871fc31f319402b20c624d22dd51e9beadfb3" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.3.3.tar.gz", "has_sig": false, "md5_digest": "2af96ad43ab25acc553160cf807c754d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33755, "upload_time": "2014-10-26T03:45:34", "url": "https://files.pythonhosted.org/packages/ed/54/bed13dd27632fd5281973b9b235e8115e0cd088c091de94c494537944f77/emencia-django-socialaggregator-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2af96ad43ab25acc553160cf807c754d", "sha256": "23e84c5002d5250ddf42b7177d7871fc31f319402b20c624d22dd51e9beadfb3" }, "downloads": -1, "filename": "emencia-django-socialaggregator-0.3.3.tar.gz", "has_sig": false, "md5_digest": "2af96ad43ab25acc553160cf807c754d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33755, "upload_time": "2014-10-26T03:45:34", "url": "https://files.pythonhosted.org/packages/ed/54/bed13dd27632fd5281973b9b235e8115e0cd088c091de94c494537944f77/emencia-django-socialaggregator-0.3.3.tar.gz" } ] }