eye48 Wiki


DokuSIOC - SIOC plugin for DokuWiki

version 0.1.1

DokuSIOC integrates the SIOC ontology within DokuWiki and provides alternate RDF/XML views of the wiki documents.

For DokuWiki we can't use the Triplify script because DokuWiki has not a RDBS backend. But the wiki API provides enough methods to get the data out, so DokuSIOC as a plugin uses the export hook to provide accessible data as RDF/XML, using the SIOC ontology as vocabulary.

Note: The related techreport gives some more background information and explanations.

Udate: DokuSIOC has a Git repository now.

Features

  • Creates meta descriptions for sioc:User, sioct:WikiArticle and sioc:Container (incl. sioct:Wiki) and it includes information about next/previous versions, creator/modifier, contributors, date, content, container and inner wiki links between the articles.
  • It adds a link to those meta descriptions in the HTML header.
  • Pings pingthesemanticweb.com for new/edited content
  • Linked Data
  • Content Negotiation for application/rdf+xml requests
  • Possibility to hide RDF content from search engines

Installation & Configuration

  • Download and unpack the ZIP- or TAR.GZ archive
  • copy the dokusioc folder to the plugin directory of your DokuWiki (should be located in <yourdokuwikidir>/lib/plugins) (just overwrite the files if you upgrade from the poc version)
  • go to the configuration page in your DokuWiki admin and configure
    • name of namespace for user sites (this is used for sioc:User URIs)
    • the website the wiki is part of (used as sioc:Site)
    • if the plugin should ping ptsw.com after a wiki article was edited/created (can only work in the latest DokuWiki version)
    • soft check for testing the accepted header for the request (soft check: DokuSIOC only tests if application/rdf+xml is accepted but it deosn't rank the quality parameter)
    • send noindex: DokuSIOC will send X-Robots-Tag: noindex header for RDF documents to prevent search engines from indexing the RDF views

Bugs & Upcoming features

Currently the plugin is not very wide tested, maybe you can help, e.g. how is it behaving if DokuWiki uses nice URLs through mod_rewrite or with complex ACL. Please submit bug reports and feature requests to the DokuSIOC issue tracker at Github. Would be nice to hear from you: haschek@eye48.com

Recently identified bugs

  • wrong meta link at revisions (missing rev parameter in URL) (fixed in 0.1)
  • same URIs for foaf:doc Profile and SIOC resource (fixed in 0.11)

Planned features

  • Caching
  • support/relate extern links
  • link to DBpedia resources / tagging with Common Tag
  • support DokuWiki plugins like userhistory, include, tagging, discussion
  • relations to media attachements

Web resources

License

The SIOC plugin for DokuWiki (DokuSIOC) is released open-source under the GNU General Public License 2.0 (GPLv2) licence.

Changelog

  • 0.1.1 (bugfix release)
    • fix header output for content negotiation
    • fix URIs for profile and SIOC ressource
    • better dc:title for revisions
    • add absolute URI to rdf:about for foaf:Document (Profile) to make it explicit
    • add rel=“canonical” for URIs with type parameter, to prevent double content
  • 0.1
    • exchange licence b/c CC-BY-SA was incompatible with GPL
    • restructuring code base
    • fix wrong meta link for revisions
    • add possibility to send noindex by x-robots-tag via HTTP header
    • add soft check for requested application type
    • use search method to get container content on next sub level
    • improve string for dc:title of foaf:document,
    • better distinction between user/container/post resources
    • normalize URIs
    • use dcterms:created and sioc:has_creator only for first revision of wiki page b/c of inadequate meta data
    • add wiki backlinks to sioct:WikiArticle via dcterms:isReferencedBy
    • add contributors by sioc:has_modifier (only for last revision b/c of wrong meta data for older revisions)
    • remove foaf:person link in sioct:WikiArticle b/c it routes to same data like sioc:has_creater/modifier
    • remove Talis SIOC widget for comments b/c incompatibility with DokuWiki JS
  • poc
    • proof of concept release under CC-BY-SA

SiteInformation

Last modified: 2010-01-09 03:24 by haschek. Backlinks

SiteTools