Use the IncludeFile[] macro :)

At 12:13 PM 10/25/2002 -0700, you wrote:
Send Moin-user mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moin-user digest..."

Today's Topics:

   1. Re: URL Referencing with Spaces in File Strings (Brian Dorsey)


Message: 1
Date: Thu, 24 Oct 2002 17:08:17 -0700
From: Brian Dorsey <>
To: "''" <>
Subject: Re: [Moin-user] URL Referencing with Spaces in File Strings

Here is what I ended up doing to link to files with spaces on remote NT

Build Functional Requirements]

This ends up turning into a nice link with a little floppy next to it.

Take care,

On Thu, Oct 24, 2002 at 12:51:03PM -0400, Yandle, Hans wrote:
> I have come to a bit of a problem. I am trying to setup a wiki page but have
> attachments stored on an external NT file server. NTFS supports long
> filenames and spaces with in them. So for instance, one might have the
> following:
> Server Name: abcserver
> Share Name: attachments
> UNC: \\abcserver\attachments
> Under the attachments root folder, one might have:
> /Company Logos
>   My Logo.png
>   Logo2.png
> Please note the space in the directory name ("Company Logos") and file name
> ("My Logo.png"). The following wiki statements work:
> *     Opens a new window, supports spaces in directories and filenames:
> [[NewWindow("file://abcserver/attachments/Company Logos/My Logo.png"[, "My
> Company Logo"])]]
> *     Here is the same image being displayed as an inline image. I
> converted the spaces to HTML encodings, i.e. <pre>asc(32)=html(&#32;):
> file://abcserver/attachments/Company&#32;Logos/My&#32;Logo.png </pre>
> *     Here is a html reference for the logo using pure html code:
> <pre>[[HTML(<a href="file://abcserver/attachments/Company Logos/My
> Logo.png">My Company Logo</a>)]]</pre>
> I tried using the url[] command but every time it encounter a space the url
> command broke off the remainder/tail as its description. In other words this
> does not work:
> *     url["file://abcserver/attachments/Company Logos/My Logo.png" My
> Company Logo]
> It seems logical enough to me that if one encloses their file string within
> quotes that file string should be pass quoted and as is to the "a hrefs" or
> "image" tags.
> Can someone tell me how to workaround this issue or possible fix it. I
> understand the conversion of spaces to html encoding but my users will not.
> Regards,
> Hans
> -------------------------------------------------------
> This email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> _______________________________________________
> Moin-user mailing list


Moin-user mailing list

End of Moin-user Digest

-- Charles Bevali
   +1 480 375 6114
   GIS Director
   Technical Systems Architecture
   DHL Worldwide Express

   IMPORTANT: Please use not