WikiPipes

From semanticweb.org

Jump to: navigation, search
WikiPipes
Logo of WikiPipes
wikipipes.semweb4j.org
Status: unknown
Last release: (11.04.2008)
License: BSD
Affiliation: FZI
Web resources

WikiPipes is a Java library for programatic wiki usage.

Contents

[edit] What it does

WikiPipes can

  • log into a wiki
  • fetch a page by name
  • download it locally as wiki snytax or STIF (essential XHTML)
  • upload STIF or native wiki syntax

For MediaWiki it can also return the link to the Semantic MediaWiki RDF feed.

[edit] Status

Adapters supporting read and write (and login) exist for:

  • JSPWiki
  • MediaWiki
  • Google Code Wiki

[edit] Download

Latest release: http://semweb4j.org/repo/de/fzi/wikipipes.dist/1.0.0/wikipipes.dist-1.0.0.zip (fixed broken link on 1.7.2008)

[edit] Usage

[edit] IWikiPage

You have three options:

  • page.getContentAsWif() -- returns the content as a STIF document as a Java Reader. This format is ideal for conversion to other syntaxes. It contains only the relevant parts of the visible HTML rendering of the page.
  • page.rawWikiPage().getNativeWikitext() -- returns the raw, unparsed wiki syntax
  • page.rawWikiPage().getRawHtmlContent() -- returns the HTML content of the page

[edit] Future

  • We currently work on exporting a complete wiki (page content + page graph) as a single CDS model.
  • We also work on support for reading the previous versions of a MediaWiki.

[edit] Developing

We manage our issues in JIRA .

Personal tools