[pmwiki-users] Using links to like this in markup file:\\machine_name\dir\file.doc
Crisp, Steve [UK]
SCRISP at ngms.eu.com
Tue Nov 22 09:26:08 CST 2005
Fantastic, it all works great. Thank you.
> -----Original Message-----
> From: Patrick R. Michaud [mailto:pmichaud at pobox.com]
> Sent: 22 November 2005 14:48
> To: Crisp, Steve [UK]
> Cc: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Using links to like this in markup
> file:\\machine_name\dir\file.doc
>
> On Tue, Nov 22, 2005 at 02:36:42PM -0000, Crisp, Steve [UK] wrote:
> > Thanks for getting back to be so quickly. I found you have to add
five
> > slashes '/' (not four) to the last part of the php code below making
the
> > markup:
> >
> > Markup('file:\\\\', '<urllink',
> > "/file:\\\\\\\\([^\\s<>\"{}|^`()[\\]']+)/e",
> > "str_replace('\\\\\', '/', PSS('file://///$1'))");
>
> No problem. :-)
>
> > Next thing ... I noticed that when this markup is enclosed in [[ |
]] it
> > does not work e.g. [[file:\\machine_name\dir\file.doc | This is my
> > doc]]. Also the alternative markup [[This is my doc ->
> > file:\\machine_name\dir\file.doc]] has the same issue.
>
> Oh yeah. Change '<urllink' above to be '<links'.
>
> Pm
More information about the pmwiki-users
mailing list