{ "info": { "author": "Chris Grice", "author_email": "chris@chrisgrice.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "==================\nDjango Static Blog\n==================\n\ndjango-staticblog is a\n`markdown `_-based blog\nsystem for `Django `_ that compiles to\nstatic html.\n\nRequirements\n------------\n\ndjango-staticblog requires:\n\n- Python 2.6+\n- Django 1.4+\n- markdown\n- html2text\n\nInstallation\n------------\n\n``pip install django-staticblog``\n\nor\n\n``python setup.py install``\n\nafter checking out the code from\nhttp://github.com/cgrice/django-staticblog\n\nAdd ``staticblog`` to your ``INSTALLED_APPS`` setting, and add\n\n::\n\n url(r'^preview/', include('staticblog.urls'))\n\nto your ``urls.py``\n\nConfiguration Options\n---------------------\n\n``STATICBLOG_ROOT`` - root directory of your django project\n\n``STATICBLOG_POST_DIRECTORY`` - full path to the directory which holds\nyour blog posts in markdown format. Defaults to your\n``STATICBLOG_ROOT + '/posts'``\n\n``STATICBLOG_COMPILE_DIRECTORY`` - full path to the directory which will\nhold compiled post and archive html pages. Defaults to\n``MEDIA_ROOT + '/posts'``\n\n``STATICBLOG_STORAGE`` - Defines how ``staticblog`` stores images\ndefined in blog posts. Defaults to ``DEFAULT_FILE_STORAGE``.\n\nUsage\n-----\n\nTo start using ``staticblog``, write some posts in your\n``STATICBLOG_POST_DIRECTORY``. These posts should be formatted in\n`markdown `_. Post\nfilenames should contain alphanumeric characters and dashes only, and\nend with ``.post``. For examples, please see the ``examples`` folder in\nthis repository.\n\nEach post can also contain metadata used for title tags and post\ninformation. For example:\n\n::\n\n Title: Look, I'm blogging!\n Summary: A concise summary of a post\n Author: John Doe\n Date: 2009-08-05 11:25:53 GMT\n\nYou can include remotely hosted images in your posts - these will\nautomatically be downloaded and stored in the location defined by\n``STATICBLOG_STORAGE``.\n\nTo include local files, create a folder with the same name as your post\nfile, minus the ``.post`` extension. You can then add image files to\nthis folder, and reference them in your markdown like so:\n\n::\n\n ![Alt Text](post-name/image.jpg)\n\nCompiling Posts\n~~~~~~~~~~~~~~~\n\nTo display your posts, you need to compile them. To do this,\n``staticblog`` provides a management command named ``update_blog``. By\ndefult, this command will process all new blog posts, handle their\nimages, and create a folder in your ``STATICBLOG_COMPILE_DIRECTORY``\nwith the post name, with an ``index.html`` file containing the blog\npost.\n\n``update_blog`` also creates a post listing, which it stores in an\n``index.html`` file in your ``STATICBLOG_COMPILE_DIRECTORY``.\n\n``update_blog`` takes two optional arguments:\n\n``--all`` - process all blog posts regardless of whether they already\nexist ``--name=POST,POST2`` - process a list of blog posts by post name\n\nTemplates\n---------\n\n``staticblog`` provides two default templates - ``staticblog/post.html``\nand ``staticblog/archive.html``. You can overwrite these in your own\ntemplate directory to integrate the posts with your site.\n\nTemplate Variables\n~~~~~~~~~~~~~~~~~~\n\n``staticblog/post.html``\n^^^^^^^^^^^^^^^^^^^^^^^^\n\n- ``post`` : a dict containing:\n\n - ``content`` : blog content in html format\n - ``title``\n - ``date``\n - ``author``\n - ``summary``\n\n``staticblog/archive.html``\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n- ``posts`` : a list of ``post`` dicts as defined in ``post.html``\n above\n\nChangelog\n---------\n\n0.2.5 - 2012-10-16\n~~~~~~~~~~~~~~~~~~\n\n* Bugfixes for setup.py\n\n0.2.4 - 2012-10-16\n~~~~~~~~~~~~~~~~~~\n\n* URL for rendering posts is no longer hardcoded to '/preview'\n* Added view to handle github post-receives and render blog", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/cgrice/django-staticblog/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-staticblog", "package_url": "https://pypi.org/project/django-staticblog/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-staticblog/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/cgrice/django-staticblog/" }, "release_url": "https://pypi.org/project/django-staticblog/0.2.5/", "requires_dist": null, "requires_python": null, "summary": "Markdown-based blog engine that compiles to static html pages", "version": "0.2.5" }, "last_serial": 790751, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6a7636b5014b8fb053207c98d49b5dfb", "sha256": "8df9b7c18c5a211c3ce6f4212f6f9387f38aab17cb16ddd728bdd2cd476a9865" }, "downloads": -1, "filename": "django_staticblog-0.1-py2.6.egg", "has_sig": false, "md5_digest": "6a7636b5014b8fb053207c98d49b5dfb", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 14460, "upload_time": "2012-10-04T20:05:44", "url": "https://files.pythonhosted.org/packages/d5/8a/46c103b11aa4565bfed2721322a38e86dc57b52103c2ca31c8d8eddfd028/django_staticblog-0.1-py2.6.egg" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "0f0eea0165818c030a40cddce021168a", "sha256": "6ef7940b743afcd45e6bea72621051e4d504b130eed5c31619f8052776b779bb" }, "downloads": -1, "filename": "django-staticblog-0.2.tar.gz", "has_sig": false, "md5_digest": "0f0eea0165818c030a40cddce021168a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4855, "upload_time": "2012-10-04T20:58:24", "url": "https://files.pythonhosted.org/packages/91/35/822f6a8e7378506a48207e62af22258108fe71b3c3a27ee1665f9dd98c2c/django-staticblog-0.2.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "8bf03946aedd4534bce608ea5763afbd", "sha256": "782bec1d830e2dd22f46c1d2dcd23af7c46e048df4fafc63efcafc8c233f153e" }, "downloads": -1, "filename": "django_staticblog-0.2.2-py2.6.egg", "has_sig": false, "md5_digest": "8bf03946aedd4534bce608ea5763afbd", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 15029, "upload_time": "2012-10-04T21:00:39", "url": "https://files.pythonhosted.org/packages/6b/3a/4defc3f8e0093eb1fc563f493b91405f886aab0f9ce6098064942f82a213/django_staticblog-0.2.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "7b9be556055127e855f18323c9c141dd", "sha256": "04ac3f523d22182847505b668329abd3343f990bcc11ca15d8fe51eab43fc32c" }, "downloads": -1, "filename": "django-staticblog-0.2.2.tar.gz", "has_sig": false, "md5_digest": "7b9be556055127e855f18323c9c141dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4863, "upload_time": "2012-10-04T21:00:35", "url": "https://files.pythonhosted.org/packages/6a/60/25377818a6e3a36cecca194bcd13c313898189950ae464ecdc97c2f421bf/django-staticblog-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "662f4549424742e77dd622d4ad3f643d", "sha256": "a780e0c2f62834828a90b215e86a1e3a16e87c9303bf7d7047e3877c2ba2269b" }, "downloads": -1, "filename": "django_staticblog-0.2.3-py2.6.egg", "has_sig": false, "md5_digest": "662f4549424742e77dd622d4ad3f643d", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 15035, "upload_time": "2012-10-04T21:09:55", "url": "https://files.pythonhosted.org/packages/18/70/06063f83d4f19ee582516f07d2db274e52ece4521a3073698906a8ed1b10/django_staticblog-0.2.3-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "f82613caba69d8918ec605e9b81817a9", "sha256": "1911242971c78c5008ca62d55ce5d0be9463dd86d54d31977ff03a083e2eb585" }, "downloads": -1, "filename": "django-staticblog-0.2.3.tar.gz", "has_sig": false, "md5_digest": "f82613caba69d8918ec605e9b81817a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4871, "upload_time": "2012-10-04T21:09:56", "url": "https://files.pythonhosted.org/packages/fe/3b/c7a0a2af4e5fe5dddfdc7b708c88a16262a61124938bb161dbe26be2bdae/django-staticblog-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "87215e62d7415d2b8980b0e24e899340", "sha256": "4e716cbb9dbaf0e7b6a240a901a453f0944b937c56c54d35a37caf78ed3b8e85" }, "downloads": -1, "filename": "django_staticblog-0.2.4-py2.6.egg", "has_sig": false, "md5_digest": "87215e62d7415d2b8980b0e24e899340", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 29329, "upload_time": "2012-10-16T14:30:38", "url": "https://files.pythonhosted.org/packages/61/f9/8f623f908039b62e51e62f40dd2a5fc587bfa9394237a5a3ba36da43a503/django_staticblog-0.2.4-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "cea78b6c9bd3e8cdcda63a3c397f16af", "sha256": "4e85d5e5489db33916cf96195dd17f21be4416bde80f273c40c884591a83ea90" }, "downloads": -1, "filename": "django-staticblog-0.2.4.tar.gz", "has_sig": false, "md5_digest": "cea78b6c9bd3e8cdcda63a3c397f16af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9693, "upload_time": "2012-10-16T14:30:33", "url": "https://files.pythonhosted.org/packages/06/74/fe77985af2e173c95905ba40731d954a4c0843bf4febff9ffe0856b72bc6/django-staticblog-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "012b23d779658fcff6c7f206d1ed446c", "sha256": "0c1e4f7a4256be737f1e918801f69b6334f4e01aa9e52fdccb327335ff372387" }, "downloads": -1, "filename": "django_staticblog-0.2.5-py2.6.egg", "has_sig": false, "md5_digest": "012b23d779658fcff6c7f206d1ed446c", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 30864, "upload_time": "2012-10-16T15:01:36", "url": "https://files.pythonhosted.org/packages/a4/68/96e3d59be8c6540343490c8bca6dd73548617f96624412d3854dda2a5dc1/django_staticblog-0.2.5-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "ac6b72ec9aa58ae6e244a4c7e955fa02", "sha256": "2186c33f8299d2fdd81e4e2f4f1a4157ef6c72edfe6dd243c2a7a1fd03df619e" }, "downloads": -1, "filename": "django-staticblog-0.2.5.tar.gz", "has_sig": false, "md5_digest": "ac6b72ec9aa58ae6e244a4c7e955fa02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6936, "upload_time": "2012-10-16T15:01:21", "url": "https://files.pythonhosted.org/packages/33/f1/3cc5571671b4f68b82e4a9eea2e1c1734cd2d5120e0e2e8a6d032b49fb23/django-staticblog-0.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "012b23d779658fcff6c7f206d1ed446c", "sha256": "0c1e4f7a4256be737f1e918801f69b6334f4e01aa9e52fdccb327335ff372387" }, "downloads": -1, "filename": "django_staticblog-0.2.5-py2.6.egg", "has_sig": false, "md5_digest": "012b23d779658fcff6c7f206d1ed446c", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 30864, "upload_time": "2012-10-16T15:01:36", "url": "https://files.pythonhosted.org/packages/a4/68/96e3d59be8c6540343490c8bca6dd73548617f96624412d3854dda2a5dc1/django_staticblog-0.2.5-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "ac6b72ec9aa58ae6e244a4c7e955fa02", "sha256": "2186c33f8299d2fdd81e4e2f4f1a4157ef6c72edfe6dd243c2a7a1fd03df619e" }, "downloads": -1, "filename": "django-staticblog-0.2.5.tar.gz", "has_sig": false, "md5_digest": "ac6b72ec9aa58ae6e244a4c7e955fa02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6936, "upload_time": "2012-10-16T15:01:21", "url": "https://files.pythonhosted.org/packages/33/f1/3cc5571671b4f68b82e4a9eea2e1c1734cd2d5120e0e2e8a6d032b49fb23/django-staticblog-0.2.5.tar.gz" } ] }