{ "info": { "author": "Marco Giusti", "author_email": "marco.giusti@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2" ], "description": "========\r\nrst2atom\r\n========\r\n\r\n:Author: Marco Giusti\r\n:Contact: marco.giusti@gmail.com\r\n:Date: 2010-03-08\r\n\r\n\r\nAbout\r\n=====\r\n\r\nrst2atom is exactly what you think. It uses ``gdata.atom.data``\r\nstructures to build the XML.\r\n\r\nThe package should be considered highly experimental until I learned\r\nmore about XML Atom and docutils_ or someone else contributes to the\r\nproject.\r\n\r\n\r\nRequirements\r\n============\r\n\r\nrst2atom uses `gdata python client library`__ and pygments_.\r\nWhile ``gdata`` library is required, ``pygments`` it isn't but is\r\nrecommended to properly parse ``sourcecode`` directives.\r\n\r\n.. _gdata: http://code.google.com/p/gdata-python-client/\r\n__ gdata_\r\n\r\n\r\nInstall\r\n=======\r\n\r\nUsing easy_install_::\r\n\r\n easy_install rst2atom\r\n\r\nor pip_::\r\n\r\n pip install rst2atom\r\n\r\nor download the source package and type::\r\n\r\n python setup.py install\r\n\r\n\r\nUsage\r\n=====\r\n\r\nrst2atom extends the standard html writer. Write documents as usual and\r\ndon't forget to add bibliographic elements like author, date and\r\ncategory (not implemented yet).\r\n\r\nHere the classic hello world example::\r\n\r\n Hello world\r\n ===========\r\n\r\n asdfasdfadf\r\n\r\n .. sourcecode:: python\r\n\r\n def print_(obj):\r\n print obj\r\n\r\n asdasdf\r\n\r\nTry it with livejournal_::\r\n\r\n $ rst2atom test.rst test.xml\r\n $ curl -d @test.xml --digest -u -H \\\r\n \"Content-Type: application/atom+xml;type=entry\" -v \\\r\n http://www.livejournal.com/interface/atom/post\r\n\r\n\r\nFields\r\n======\r\n\r\nrst2atom suppose that there is just one entry for feed, maybe this\r\nbehavior could change in the future but that is it so it sets entry's\r\nfield instead of feed's fields.\r\n\r\nFor the moment just the following directives are understood by\r\nrst2atom:\r\n\r\n``author``\r\n This field sets the entry author if is child of ``docinfo``. If it\r\n is child of ``authors`` add a contributor.\r\n\r\n``contact``\r\n The ``contact`` field sets the email of the author if the node\r\n parent is ``author``, else if at least one contributor is given,\r\n sets its email.\r\n\r\n``date``\r\n This sets the ``updated`` attribute.\r\n\r\n``copyright``\r\n Sets the ``rights`` attribute.\r\n\r\n\r\n.. _pygments: http://pygments.org/\r\n.. _docutils: http://docutils.sourceforge.net\r\n.. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall\r\n.. _pip: TODO\r\n.. _livejournal: http://www.livejournal.com\r\n\r\n.. vim: set ft=rst tw=72 :", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/gm/rst2atom/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rst2atom", "package_url": "https://pypi.org/project/rst2atom/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rst2atom/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/gm/rst2atom/" }, "release_url": "https://pypi.org/project/rst2atom/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Transform reStructuredText into XML Atom 1.0", "version": "0.1.1" }, "last_serial": 799093, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7a95589cd9d621cc0456131b562582d0", "sha256": "7a49da43f6e7957767695a1d861815387109e89f33280f486ad1d2180fcb84fc" }, "downloads": -1, "filename": "rst2atom-0.1-py2.5.egg", "has_sig": true, "md5_digest": "7a95589cd9d621cc0456131b562582d0", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 19551, "upload_time": "2010-03-10T20:22:46", "url": "https://files.pythonhosted.org/packages/0e/35/3d50527dcfa652959f91454aaacad00d92791e8dc431da27740094a29e2c/rst2atom-0.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "ae6011b599fbbbf03d2cdacfce357e01", "sha256": "cfe52fb386e67bb81007dcb59f613f76860c0578f95da8931a197e9765d24f23" }, "downloads": -1, "filename": "rst2atom-0.1.tar.gz", "has_sig": true, "md5_digest": "ae6011b599fbbbf03d2cdacfce357e01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8546, "upload_time": "2010-03-10T20:22:42", "url": "https://files.pythonhosted.org/packages/0d/17/efcd42f54bafc45d1312555199c22a144ad1a6bac1c8e1996d59dbbe77d7/rst2atom-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e2e620a38edd0cb929072bba749cddcf", "sha256": "798b41d37418c09921046eed68abd921abdde0bb22785c48e488a704e3a8c87d" }, "downloads": -1, "filename": "rst2atom-0.1.1.tar.gz", "has_sig": true, "md5_digest": "e2e620a38edd0cb929072bba749cddcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8557, "upload_time": "2011-01-23T13:49:48", "url": "https://files.pythonhosted.org/packages/3e/8e/bd1114ec4704514cd41336f1b036f6dbab247e732caa7d40dc7406f425f8/rst2atom-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2e620a38edd0cb929072bba749cddcf", "sha256": "798b41d37418c09921046eed68abd921abdde0bb22785c48e488a704e3a8c87d" }, "downloads": -1, "filename": "rst2atom-0.1.1.tar.gz", "has_sig": true, "md5_digest": "e2e620a38edd0cb929072bba749cddcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8557, "upload_time": "2011-01-23T13:49:48", "url": "https://files.pythonhosted.org/packages/3e/8e/bd1114ec4704514cd41336f1b036f6dbab247e732caa7d40dc7406f425f8/rst2atom-0.1.1.tar.gz" } ] }