Package: djangocms-hubspot-blog
Copyright (c) 2018 BlueshoePermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.Description: .. image:: https://badge.fury.io/py/djangocms-hubspot-blog.svg:target: https://badge.fury.io/py/djangocms-hubspot-blog==================================djangoCMS Hubspot Blog Integration==================================- Management command to fetch Authors, Topics and Posts and store them in the database- djangoCMS App to hook list and detail view into a pageInstallation==================================- ``pip install djangocms-hubspot-blog``- Add the app ``djangocms_hubspot_blog`` to your ``INSTALLED_APPS``- Add the settings listed below to your settings file- Override the templates listed belowSettings==================================+-------------------------+----------+---------------+| Setting Name            | Required | Default Value |+=========================+==========+===============+| HUBSPOT_API_KEY         | yes      | /             |+-------------------------+----------+---------------+| HUBSPOT_BLOG_ID         | yes      | /             |+-------------------------+----------+---------------+| PORTAL_ID               | yes      | /             |+-------------------------+----------+---------------+| HUBSPOT_BLOG_PAGE_LIMIT | no       | 10            |+-------------------------+----------+---------------+Views & Templates==================================It's recommended to override the given templates. Take a look at the templates on how to do it.+------------------------+---------------------------------------------+--------------------------------------------+| View                   | View Name                                   | Template                                   |+========================+=============================================+============================================+| HubspotPostsList       | ``djangocms_hubspot_blog:posts-list``       | ``djangocms_hubspot_blog/post_list.html``  |+------------------------+---------------------------------------------+--------------------------------------------+| HubspotTopicList       | ``djangocms_hubspot_blog:topic-list``       | ``djangocms_hubspot_blog/post_list.html``  |+------------------------+---------------------------------------------+--------------------------------------------+| HubspotAuthorPostsList |``djangocms_hubspot_blog:author-posts-list`` | ``djangocms_hubspot_blog/post_list.html``  |+------------------------+---------------------------------------------+--------------------------------------------+| HubspotPostDetail      | ``djangocms_hubspot_blog:post-detail``      | ``djangocms_hubspot_blog/post_detail.html``|+------------------------+---------------------------------------------+--------------------------------------------+The pagination has an additional partial template at ``djangocms_hubspot_blog/partials/pagination.html``How to fetch blog posts-----------------------**Automatically**The best aproach is to **automatically** fetch posts, authors and topics byperiodically running the management command ``import_blog_posts`` via CRONor calling ``djangocms_hubspot_api.update_blog_posts()`` from a task queue.**Manually**However, it's also possible for site editors to **manually** trigger an update via a button in the admin.Missing Functionality-------------------------- Localization (Currently it's German only)Contributing----------------You're welcome to submit Pull Requests! :rocket:Just take a look at the open issues.Keywords: django,Django CMS,hubspot,hubspot blog,blog,CMS,BlueshoePlatform: UNKNOWNClassifier: Development Status :: 4 - BetaClassifier: Framework :: DjangoClassifier: Environment :: Web EnvironmentClassifier: Intended Audience :: DevelopersClassifier: Operating System :: OS IndependentClassifier: Programming Language :: PythonClassifier: Programming Language :: Python :: 2Classifier: Programming Language :: Python :: 2.7Classifier: Programming Language :: Python :: 3Classifier: Programming Language :: Python :: 3.4Classifier: Programming Language :: Python :: 3.5Classifier: Programming Language :: Python :: 3.6Classifier: Topic :: Internet :: WWW/HTTPClassifier: Topic :: Internet :: WWW/HTTP :: Dynamic ContentClassifier: Topic :: Software Development :: Libraries :: Python ModulesClassifier: Topic :: Software Development :: Libraries :: Application Frameworks