{ "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": "Social plugin for Pelican\n=========================\n\n.. image:: https://secure.travis-ci.org/noirbizarre/pelican-social.svg?tag=0.2.0\n :target: https://travis-ci.org/noirbizarre/pelican-social\n.. image:: https://coveralls.io/repos/noirbizarre/pelican-social/badge.svg?tag=0.2.0\n :target: https://coveralls.io/r/noirbizarre/pelican-social?tag=0.2.0\n.. image:: https://img.shields.io/pypi/l/pelican-social.svg\n :target: https://pypi.python.org/pypi/pelican-social\n.. image:: https://img.shields.io/pypi/pyversions/pelican-social.svg\n :target: https://pypi.python.org/pypi/pelican-social\n\nSocial directives for `Pelican`_ static blog generator.\n\nEasy linking to social networks content through simple inline directives.\n\nCompatibility\n-------------\n\npelican-social is compatible with `Pelican`_ 3.3+ and Python 2.7.\n\nInstallation\n------------\n\nInstall the plugin via ``pip``:\n\n.. code-block:: bash\n\n ~$ pip install pelican-social\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 'social',\n )\n\nOnce loaded you have access to social rst directives.\n\nEach directive can be called in two forms:\n\n.. code-block:: ReST\n\n :network:`target`\n\n :network:`Displayed text `\n\n\nAs much as possible, the directive give a secure (``https``) link.\n\n\nTwitter\n~~~~~~~\n\nYou can use both ``:twitter:`` and ``:tw:`` directives to link to a `Twitter`_ profile,\nthey are equivalent.\nUsing an ``@`` in username will only change the displayed username\nif a custom display is not specified.\n\n\n**Exemple:**\n\n.. code-block:: ReST\n\n :twitter:`username`\n :twitter:`@username`\n :twitter:`User `\n :twitter:`User <@username>`\n\nwill result in:\n\n.. code-block:: html\n\n username\n @username\n User\n User\n\n\nGoogle+\n~~~~~~~\n\n`Google+`_ is tricky with usernames.\nIf you are famous and lucky you can have a custom username in ``+MyUser`` form.\nIf not you will have a 21 digits identifier.\n\n\n**Exemple:**\n\n.. code-block:: ReST\n\n :gplus:`username`\n :gplus:`User `\n\nwill result in:\n\n.. code-block:: html\n\n username\n User\n\n\nGithub\n~~~~~~\n\nYou can use both ``:github:`` and ``:gh:`` directive to link\nto `github`_ profiles, repositories and issues/pull-requests\n(github will autmatically redirect you to the pull-request if one is associated with the issue).\n\nThe following form are accepted:\n\n=================== ==============================\n Target Expected target form\n=================== ==============================\nprofile ``username``\nrepository ``username/repository``\nissue/pull-request ``username/repository#issue``\n=================== ==============================\n\n\n**Exemple:**\n\n.. code-block:: ReST\n\n :github:`username`\n :github:`User `\n :github:`username/repository`\n :github:`Repository `\n :github:`username/repository#2`\n :github:`Issue #2 `\n\n\nwill result in:\n\n.. code-block:: html\n\n username\n User\n repository\n Repository\n #2\n Issue #2\n\n\nFacebook\n~~~~~~~~\n\nYou can use both ``:facebook:`` and ``:fb:`` directives to link to a `Facebook`_ profile,\nthey are equivalent.\n\n\n**Exemple:**\n\n.. code-block:: ReST\n\n :facebook:`User `\n :facebook:`username`\n\n\nwill result in:\n\n.. code-block:: html\n\n User\n username\n\n\n.. _Pelican: http://getpelican.com/\n.. _Twitter: https://twitter.com/\n.. _Google+: https://plus.google.com/\n.. _Github: https://github.com/\n.. _Facebook: https://facebook.com/\n\nChangelog\n=========\n\n0.2.0 (2017-02-02)\n------------------\n\n- Support for Pelican 3.7+ and Python 3.3+\n- Drop support for Python 3.2\n\n0.1.1 (2013-07-02)\n------------------\n\n- Handle dot and dashes in Github usernames and repository names\n\n\n0.1 (2013-06-20)\n----------------\n\n- Initial implementation allowing to link to:\n - Facebook profiles\n - Twitter profiles\n - Google+ profiles\n - Github profiles, repositories and issues\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-social", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "pelican-social", "package_url": "https://pypi.org/project/pelican-social/", "platform": "", "project_url": "https://pypi.org/project/pelican-social/", "project_urls": { "Homepage": "https://github.com/noirbizarre/pelican-social" }, "release_url": "https://pypi.org/project/pelican-social/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Social directives for Pelican Blog Generator", "version": "0.2.0" }, "last_serial": 2613185, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ba0f13dfe57cf6fae909db8d00da3bdf", "sha256": "663d7757c1489b43f569df2db055fa0fbf92908a2df26ee2b2648df2dd87981a" }, "downloads": -1, "filename": "pelican-social-0.1.tar.gz", "has_sig": false, "md5_digest": "ba0f13dfe57cf6fae909db8d00da3bdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7966, "upload_time": "2013-06-20T10:59:36", "url": "https://files.pythonhosted.org/packages/02/cb/1cf72da644e8842f2317dc95974404267e6e42c5931506657539a0c35c88/pelican-social-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0812ee27a8a31b7696e4fe3b8ff0844c", "sha256": "6e1aabe4f0baa1f5e6fbbf77598364f155e709112b7d576fc6bd34b3d5dbe68d" }, "downloads": -1, "filename": "pelican-social-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0812ee27a8a31b7696e4fe3b8ff0844c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8139, "upload_time": "2013-07-02T08:35:56", "url": "https://files.pythonhosted.org/packages/61/e7/2242e6a57073c362117e57ed94b6519671a3ff4cf07334b59a2ce54cec7d/pelican-social-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "6c9b414bcc087a219bb7276d99d06efd", "sha256": "fd65a79200f0a1dea2303dde691794715bab1e1af7515b778640fc0e5d520aaa" }, "downloads": -1, "filename": "pelican_social-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c9b414bcc087a219bb7276d99d06efd", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9256, "upload_time": "2017-02-02T02:06:19", "url": "https://files.pythonhosted.org/packages/4f/1c/b43f3d131c104e92fca29fe80075f5049376c6c0793248930c2b3efba74c/pelican_social-0.2.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c9b414bcc087a219bb7276d99d06efd", "sha256": "fd65a79200f0a1dea2303dde691794715bab1e1af7515b778640fc0e5d520aaa" }, "downloads": -1, "filename": "pelican_social-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c9b414bcc087a219bb7276d99d06efd", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9256, "upload_time": "2017-02-02T02:06:19", "url": "https://files.pythonhosted.org/packages/4f/1c/b43f3d131c104e92fca29fe80075f5049376c6c0793248930c2b3efba74c/pelican_social-0.2.0-py2.py3-none-any.whl" } ] }