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

@ -83,6 +83,13 @@ the options you can use::
$ pelican --help
Kickstart a blog
----------------
You also can use the `pelican-quickstart` script to start a new blog in
seconds, by just answering few questions. Just run `pelican-quickstart` and
you're done! (Added in pelican 3)
Pages
-----
@ -95,16 +102,8 @@ the menu.
Importing an existing blog
--------------------------
It is possible to import wordpress themes and RSS themes using a script which
is living in `tools`: importer.
You can call it this way for a wordpress import::
$ python importer.py --wpfile /your/wordpress/export -o output_dir
And like this for an import from an RSS feed::
$ python importer.py --feed http://your/rss/feed -o output_dir
It is possible to import your blog from dotclear, wordpress and an RSS feed using
a simple script. See :ref:`import`.
Translations
------------

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
=====

View file

@ -200,7 +200,7 @@ Setting name (default value) what does it do?
Theming
=======
Theming is addressed in a dedicated section (see :ref:`theming-pelican`).
Theming is addressed in a dedicated section (see :ref:`theming-pelican`).
However, here are the settings that are related to theming.
================================================ =====================================================