mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
c73ae02170
commit
1edbe044a2
8 changed files with 533 additions and 264 deletions
|
|
@ -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
|
||||
=====
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue