[pmwiki-users] Referencing documents NOT in uploads on an internal PmWiki

Steve Stone steves at netacquire.com
Tue Mar 28 13:48:56 CST 2006

I'm a new user of PmWiki and of php.  I am trying to understand the
IncludeFile cookbook item (at
http://www.pmwiki.org/wiki/Cookbook/IncludeFile), the two lines of which are
shown below.

What we have is a bunch of documents scattered across various directories on
a drive that is mounted on the server running the PmWiki.  Let's call that
drive the "R:" drive as this is a Windows file system.  We have tons of
documentation in there, word docs, spreadsheets, xml, html, etc.  I don't
really want to imbed these in the wiki page, I really just want links like
html where it says something like "file:\\MyFile" and by clicking on that
the file opens with whatever tool the browser has.

The IncludeFile cookbook instructs me to add the below lines, presumably in
  Markup('includefile', 'directives',

# The sample in the cookbook is:
(:includefile something.html:)

I presume that the
portion is a regular expression, but I have not yet puzzled out what that

Can anybody give me some helpful hints on how to get links that can be
anywhere on any drive mounted on the system?



More information about the pmwiki-users mailing list