[Booki-dev] Couple of management commands

Aleksandar Erkalovic aerkalov at gmail.com
Thu Jan 6 16:25:04 PST 2011


i have add couple of management commands to booki. btw, this can only
help you if you have your own booki installation. there will be some
more, and some of the functionality will get UI interface at one
point. there will be real documentation.

you can do a lot of damage with this, so be careful. e.g., this can
help you get export from booki.cc
(http://www.booki.cc/export/command-line/export/) and then import it
in local installation (with same or different name). you can fork
existing book under different name and etc..etc... hope it helps
someone :)

help how to use it:
  django-admin.py help brokenlinks
  django-admin.py help bookimport
  django-admin.py help bookexport
  django-admin.py help bookrename

brokenlinks - check links inside of book(s).
   django-admin.py brokenlinks command-line my-book
   django-admin.py brokenlinks --no-remote command_line
   django-admin.py brokenlinks --ignore-url http://www.wikipedia.org/
command_line


bookexport - exports book into booki-zip file. this is not real
export, and it does not exports historic data.
   django-admin.py bookexport command-line
   django-admin.py bookexport --output my-export.zip --book-version
2.2 command-line

bookimport - imports new book from booki-zip file. you can import it
under new name also
   django-admin.py bookimport book.zip
   django-admin.py bookimport --owner aerkalov book.zip
   django-admin.py bookimport --new-book-title "New title for Command
line" book.zip
   django-admin.py bookimport --new-book-title "New title for Command
line" --new-book-url commandline book.zip

bookrename - renames existing book.
   django-admin.py bookrename --new-book-title "New title" command-line
   django-admin.py bookrename --new-book-title "New title"
--new-book-url commandline command-line
   django-admin.py bookrename --owner aerkalov command-line


-- 
 http://www.binarni.net/



More information about the Booki-dev mailing list