WikklyText A wikitext server and rendering library


files/feed-icon-14x14.png Recently Edited Valid XHTML 1.0 Strict
ServingFiles edit
frank, 11 March 2008 (created 10 March 2008)
Beginning with WikklyText 1.1, you have a file-serving area within your wiki. It is located in the files/ directory under your wiki folder. WikklyText will serve any files that are located there, including in any subdirectories (no matter how deeply nested).

Here are some examples. My wiki root folder looks like this:
wiki/
    files/
         testing/
                 htmlfile.html
                 imagefile.png
                 textfile.txt


First, serving an HTML file:
  • HTML file
    Markup: [[HTML file|files/testing/htmlfile.html]]


WikklyText knows to set the MIME type correctly so files will render (or not) as they should.
  • Text file
    Markup: [[Text file|files/testing/textfile.txt]]


Image files:
  • Inline image: files/testing/imagefile.png
    Markup: [img[files/testing/imagefile.png]]
  • Image with link: files/testing/imagefile.png
    Markup: [img[files/testing/imagefile.png][http://wikklytext.com]]
  • Link to image: Image

The benefits of the file-serving area are:
  • You can make links to file content that work the same for both standalone wikis and wikis running behind a webserver.
  • You can move your wiki around without breaking links to file content.
  • File download activity will be included in your logs for easy reference.