It looks like you're offline.
Open Library logo
additional options menu
Last edited by Mek
September 20, 2019 | History

Exporting Wiki Pages

The pages plugin in Infogami allows pulling pages from the wiki to a
directory and pushing pages from directory to wiki.

The pull action is used to pull pages from the wiki.

python run.py pull dir paths.txt

dir is the directory to store the pages and paths.txt should contains
paths of the pages to pull without trailing /, separated by newline.
I tried to support * wildcard to some extent. As of now, it have to be
present only after a /. templates/ is valid, but t is not.

The push action is used to push pages to wiki.

python run.py push dir

All the pages from dir directory will be moved to the wiki.

On install, if pages plugin is enabled, it collects pages from
$plugin/pages directory from every plugin and moves them to wiki.

I have pulled all types, templates, macros, about pages and dev docs
from wiki and added to pages directory in openlbrary plugin.
From now on, any new instance of openlibrary will have all these pages
by default.

If you want to push all templates and types to an existing instance,
the easiest thing to do is

python run.py push plugins/openlibrary/pages

Make sure you update the repository before doing this.

History

September 20, 2019 Edited by Mek Edited without comment.
May 10, 2008 Edited by 68.149.174.173 reverted spam
May 10, 2008 Edited by 78.129.202.2 PmHeat <a href="http://oxfgtkcygdoe.com/">oxfgtkcygdoe</a>, [url=http://tuzbivnkzysz.com/]tuzbivnkzysz[/url], [link=http://tzvvvbjvzqtm.com/]tzvvvbjvzqtm[/link], http://zltghsrpbofr.com/
April 11, 2008 Created by an anonymous user moving dev docs