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 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 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 push plugins/openlibrary/pages

Make sure you update the repository before doing this.


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