{ "info": { "author": "Axel Haustant", "author_email": "noirbizarre+pelican@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Software Distribution" ], "description": "Microdata plugin for Pelican\n============================\n\n.. image:: https://secure.travis-ci.org/noirbizarre/pelican-microdata.svg?tag=0.3.0\n :target: https://travis-ci.org/noirbizarre/pelican-microdata\n.. image:: https://coveralls.io/repos/noirbizarre/pelican-microdata/badge.svg?tag=0.3.0\n :target: https://coveralls.io/r/noirbizarre/pelican-microdata?tag=0.3.0\n.. image:: https://img.shields.io/pypi/l/pelican-microdata.svg\n :target: https://pypi.python.org/pypi/pelican-microdata\n.. image:: https://img.shields.io/pypi/pyversions/pelican-microdata.svg\n :target: https://pypi.python.org/pypi/pelican-microdata\n\n`Microdata`_ semantic markups support for `Pelican`_ static blog generator.\n\nInstallation\n------------\n\nInstall the plugin via ``pip``:\n\n.. code-block:: bash\n\n ~$ pip install pelican-microdata\n\n\nUsage\n-----\n\nTo load the plugin, you have to add it in your settings file.\n\n.. code-block:: python\n\n PLUGINS = (\n 'microdata',\n )\n\nOnce loaded you have access to microdata rst directives.\n\n\nDirectives\n~~~~~~~~~~\n\nMicrodata plugin provides two directives:\n\n- ``itemscope``, a block directive allowing to declare an itemscope block:\n\n .. code-block:: ReST\n\n .. itemscope:: \n :tag: element type (default: div)\n :itemprop: optionnal itemprop attribute\n :compact: optionnal\n\n Nested content\n\n- ``itemprop``, an inline directive/role allowing to annotate some text with an itemprop attribute.\n\n .. code-block:: ReST\n\n :itemprop:`Displayed text `\n :itemprop:`Displayed text `\n\nSettings\n~~~~~~~~\n\nYou can define a vocabulary to use with the ``MICRODATA_VOCABULARY`` setting.\n\n.. code-block:: python\n\n MICRODATA_VOCABULARY = 'http://data-vocabulary.org'\n\nIf not set, `schema.org ` is the default value.\n\nExample\n~~~~~~~\n\nThis reStructuredText document:\n\n.. code-block:: ReST\n\n .. itemscope:: Person\n :tag: p\n\n My name is :itemprop:`Bob Smith `\n but people call me :itemprop:`Smithy `.\n Here is my home page:\n :itemprop:`www.exemple.com `\n I live in Albuquerque, NM and work as an :itemprop:`engineer `\n at :itemprop:`ACME Corp <affiliation>`.\n\n\nwill result in:\n\n.. code-block:: html\n\n <p itemscope itemtype=\"http://schema.org/Person\">\n My name is <span itemprop=\"name\">Bob Smith</span>\n but people call me <span itemprop=\"nickname\">Smithy</span>.\n Here is my home page:\n <a href=\"http://www.example.com\" itemprop=\"url\">www.example.com</a>\n I live in Albuquerque, NM and work as an <span itemprop=\"title\">engineer</span>\n at <span itemprop=\"affiliation\">ACME Corp</span>.\n </p>\n\n\n.. _Microdata: http://schema.org/\n.. _Pelican: http://getpelican.com/\n\nChangelog\n=========\n\n0.3.0 (2017-02-02)\n------------------\n\n- Support for Pelican 2.7 and Python 3.3+\n- Drop support for Python 3.2\n- Use schema.org as default vocabulary prefix\n- Make vocabulary prefix configurable with ``MICRODATA_VOCABULARY``\n\n\n0.2 (2013-06-21)\n----------------\n\n- Start working on Python 3 compatibility\n- Added ``compact`` option to ``ItemScope`` block\n- Consider nested ``<p>`` tags as ``compact``\n\n\n0.1 (2013-03-25)\n----------------\n\n- Initial implementation\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/noirbizarre/pelican-microdata", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "pelican-microdata", "package_url": "https://pypi.org/project/pelican-microdata/", "platform": "", "project_url": "https://pypi.org/project/pelican-microdata/", "project_urls": { "Homepage": "https://github.com/noirbizarre/pelican-microdata" }, "release_url": "https://pypi.org/project/pelican-microdata/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Microdata semantic markups support for Pelican Blog Generator", "version": "0.3.0" }, "last_serial": 2613114, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "12ff0d7604b8af296bbb4518c7298ed2", "sha256": "0b6dfa2df399a7c6c70c2fdf7b632439b458ff774e74de0dc7714c0f6cd7fe7b" }, "downloads": -1, "filename": "pelican-microdata-0.1.tar.gz", "has_sig": false, "md5_digest": "12ff0d7604b8af296bbb4518c7298ed2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7030, "upload_time": "2013-03-25T12:06:56", "url": "https://files.pythonhosted.org/packages/a4/3b/c9fc4e4abbb09ff814ec23d92d9fc758ef58c969297bb6f7de167ecb5ba4/pelican-microdata-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "17758219339b7ee5728b7f72d019b8dc", "sha256": "e6f8c51c017b70fbea10625aa9160dee15c9e4b4b915625546d251eed3e21935" }, "downloads": -1, "filename": "pelican-microdata-0.2.tar.gz", "has_sig": false, "md5_digest": "17758219339b7ee5728b7f72d019b8dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7544, "upload_time": "2013-06-20T23:20:48", "url": "https://files.pythonhosted.org/packages/b2/12/840bd4c81235d1d5e364bbb4cfaa94f0e5c079378c25f9659cd2f2313a88/pelican-microdata-0.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6c3b6c97d41f98de765547d54e4255c6", "sha256": "737c7a6c1afc84fcb2170231710d370629678b9c064cca77ab92b890c7447e0a" }, "downloads": -1, "filename": "pelican_microdata-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c3b6c97d41f98de765547d54e4255c6", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 10076, "upload_time": "2017-02-02T01:09:33", "url": "https://files.pythonhosted.org/packages/ba/d4/5bba70f5b2e3399696f2d950b4368719ac8b7afa253c804b6d03e97cc2be/pelican_microdata-0.3.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c3b6c97d41f98de765547d54e4255c6", "sha256": "737c7a6c1afc84fcb2170231710d370629678b9c064cca77ab92b890c7447e0a" }, "downloads": -1, "filename": "pelican_microdata-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c3b6c97d41f98de765547d54e4255c6", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 10076, "upload_time": "2017-02-02T01:09:33", "url": "https://files.pythonhosted.org/packages/ba/d4/5bba70f5b2e3399696f2d950b4368719ac8b7afa253c804b6d03e97cc2be/pelican_microdata-0.3.0-py2.py3-none-any.whl" } ] }