{ "info": { "author": "Filip Varecha", "author_email": "xaralis@centrum.cz", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-disqus-sync\n=================\n\nThis app is lightweight SEO optimizer for DISQUS comment system for your Django\napplication.\n\nIt features Django management command/Celery task to sync comments from DISQUS to\nyour database and to embed them to the page for web crawlers like Google. DISQUS\ncomment system is JS based and Google still has issues indexing it.\n\nThis app also features template tag to embed prerendered comments to your page.\n\nInstallation & usage\n-----\n\nFirst, install using pip:\n\n\n```\npip install django-disqus-sync\n```\n\nNext, you need to create DISQUS app in order to be able to use their API to download\ncomments.\n\nYou can create your app here: https://disqus.com/api/applications/\n\nThen, configure in your django `settings.py` using keys you were given:\n\n```\nDISQUS_API_KEY = '...'\nDISQUS_API_SECRET = '...'\nDISQUS_WEBSITE_SHORTNAME = '[NAME OF YOUR DISQUS FORUM HERE]'\n```\n\nAlso make sure you have **some cache configured** since this apps needs it to\nsave queries and load temporary URL to THREAD list.\n\nNext, you need to setup period updates of comments in your forum. Either set up\na cron to run management command:\n\n```\nmanage.py disqus_sync\n```\n\nOr, you can use Celery to run it. Celery task should be auto-registered and you\nonly need to configure Celerybeat to fire it up from time to time.\n\n\nLast, use the templatetag in your templates to embed comments:\n\n```\n{% load disqus_sync %}\n{% render_disqus_comments %}\n```\n\nThat's it, comments should be rendered to your page. **They will not be seen\nin browser, because they are by default wrapped in \"display: none;\" div.**\n\nYou can override template used to render the comments by creating\n`disqus_sync/comments.html`, `disqus_sync/comment.html` or both.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "GPLv2", "maintainer": null, "maintainer_email": null, "name": "django-disqus-sync", "package_url": "https://pypi.org/project/django-disqus-sync/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-disqus-sync/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/django-disqus-sync/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "Sync Disqus comments to your database and render them as HTML for better SEO", "version": "1.0.3" }, "last_serial": 1399730, "releases": { "1.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8e80b5935c71e1283df37887bc26d092", "sha256": "6d9e74594a4101018906607ce8d76daa7af015855f0c0e7cc38e763bf0a3a913" }, "downloads": -1, "filename": "django-disqus-sync-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8e80b5935c71e1283df37887bc26d092", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13531, "upload_time": "2014-12-16T14:40:33", "url": "https://files.pythonhosted.org/packages/65/2a/920299bf198dbf6f71e3abce65c590996bc4cd579ca5862a788c3e881b16/django-disqus-sync-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "51bc9d32fcbdd39986ba0580b87e19cc", "sha256": "861e9129adf3cdaaf9f127802ad8c6c18e13b08e51e4e12213d38c4c86302c10" }, "downloads": -1, "filename": "django-disqus-sync-1.0.2.tar.gz", "has_sig": false, "md5_digest": "51bc9d32fcbdd39986ba0580b87e19cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13461, "upload_time": "2014-12-16T15:03:55", "url": "https://files.pythonhosted.org/packages/11/16/e99568ba091b58f4c1002eaf03e88c12fd66197a64b8cd5390b3ca3b6773/django-disqus-sync-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "32e5fed80891441417286b40a136dba0", "sha256": "f4525d6cb41110e8792a8acd4190bcfd063593c4a7979d97ddb4d8c9caa44986" }, "downloads": -1, "filename": "django-disqus-sync-1.0.3.tar.gz", "has_sig": false, "md5_digest": "32e5fed80891441417286b40a136dba0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13460, "upload_time": "2015-01-28T09:06:12", "url": "https://files.pythonhosted.org/packages/3d/01/a1fbeb9e4738a649f960a25e0b3732a2bd392879fcf5986abd99c42648ab/django-disqus-sync-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "32e5fed80891441417286b40a136dba0", "sha256": "f4525d6cb41110e8792a8acd4190bcfd063593c4a7979d97ddb4d8c9caa44986" }, "downloads": -1, "filename": "django-disqus-sync-1.0.3.tar.gz", "has_sig": false, "md5_digest": "32e5fed80891441417286b40a136dba0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13460, "upload_time": "2015-01-28T09:06:12", "url": "https://files.pythonhosted.org/packages/3d/01/a1fbeb9e4738a649f960a25e0b3732a2bd392879fcf5986abd99c42648ab/django-disqus-sync-1.0.3.tar.gz" } ] }