WebContentEdit

WebContentEdit is a console application able to manage and edit content on supported collaborative websites like wikis.

It supports the following websites:

Get WebContentEdit

This application is part of Weboob. To install it, please read this page.

Usage

You can run WebContentEdit without any parameter to get an interactive prompt, or specify a command to run it directly and exit just after.

In this page we will use the interactive mode:

$ webcontentedit
Welcome to webcontentedit

Copyright(C) 2010-2017 The Weboob Team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.

Type "help" to display available commands.

Loaded backends:

webcontentedit>

Use the help command to see what are the available commands.

For more information about common options of console applications, read this documentation.

The first time you launch webcontentedit, it will ask you what backends you want to add and configure. You can also use the backends command to manage them, and to enable only specific backends.

Edit a content

Usage:

webcontentedit> edit ID1 [ID2 ...]

For example, with Redmine:

webcontentedit> edit wiki/weboob/WebContentEdit wiki/weboob/Weboob wiki/weboob/Applications

Then, it opens the found contents in the editor defined in the environment variable $EDITOR (for example vim). You can do all changes, then exit it.

It displays all changed pages, and prompts you for an optional commit message. Then, if you confirm, it pushes all changes:

Contents changed:
 * wiki/weboob/WebContentEdit
 * wiki/weboob/Applications
Enter a commit message: add webcontentedit
Do you want to push? (Y/n): y
Pushing wiki/weboob/WebContentEdit... done
Pushing wiki/weboob/Applications... done