Include the "pelican-quickstart" script.

This ease the creation of a new blog. I modified slightly the code wrote by @Skami18
here: https://gist.github.com/1025236/dfa695e67482477907c79ae709ab827b20b18b04

This commit also renames the import script to "pelican-import".

Fixes #129.
This commit is contained in:
Alexis Metaireau 2011-08-11 23:34:53 +02:00
commit 1edbe044a2
8 changed files with 533 additions and 264 deletions

View file

@ -1,3 +1,5 @@
.. _import:
=================================
Import from other blog software
=================================
@ -5,7 +7,7 @@
Description
===========
``importer.py`` is a command line tool for converting articles from other
``pelican-import`` is a command line tool for converting articles from other
software to ReStructuredText. The supported formats are:
- Wordpress XML export
@ -20,9 +22,9 @@ supports Markdown).
Usage
"""""
| importer.py [-h] [--wpfile] [--dotclear] [--feed] [-o OUTPUT]
| [--dir-cat]
| input
| pelican-import [-h] [--wpfile] [--dotclear] [--feed] [-o OUTPUT]
| [--dir-cat]
| input
Optional arguments:
"""""""""""""""""""
@ -40,12 +42,11 @@ Examples
for Wordpress::
$ python2 tools/importer.py --wpfile -o ~/output ~/posts.xml
$ pelican-import --wpfile -o ~/output ~/posts.xml
for Dotclear::
$ python2 tools/importer.py --dotclear -o ~/output ~/backup.txt
$ pelican-import --dotclear -o ~/output ~/backup.txt
Tests
=====