[Cubicweb] Are there tools in CubicWeb to build a wiki?

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Nov 30 09:47:16 CET 2010


On 30 novembre 00:24, Nicolas Chauvat wrote:
> Hi John,
> 
> On Mon, Nov 29, 2010 at 10:20:04PM +0000, Fletcher, John P wrote:
> 
> > I would like to use CubicWeb to build a wiki with links between the
> > pages, and also be able to specify the nature of relationships, as
> > is done in SemanticMediaWiki.
> > 
> > Is that possible with the present set of tools, or is it necessary to build some new one?
> 
> There is cubicweb-card that will allow you to create pages that have a
> wikiid. These wikiid can be used as url/identifiers.
> 
> For example, a card with a wikiid 'myindex', will be accessible at the
> url http://mysite.org/card/myindex.
> 
> There is no custom parser that would allow you to create relationships
> by inserting some special tag in your text.
> 
> CubicWeb, like Python, has a crush on restructuredtext, which was
> designed to be extensible.
> 
> To do what you describe, I would start with rst's text roles and see
> how far it gets me http://docutils.sourceforge.net/docs/howto/rst-roles.html

actually the card cube provides a `card` role designed to provide very simple
wiki functionnality, eg :card:`wikiid` in some text will create a link to the 
card with the 'wikiid' identifier if it exists, or to a creation form for if 
it doesn't exist yet.

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org




More information about the Cubicweb mailing list