[pmwiki-users] disable the edit link function

Patrick R. Michaud pmichaud at pobox.com
Mon Feb 7 11:46:44 CST 2005


On Sun, Feb 06, 2005 at 06:55:25AM +0100, Guillaume Souesme wrote:
> Hello!
> 
> How can i disable the automatic edit action associated with urls for a 
> single paragraph?
> [...]
> the problem is that pmwiki add the action "edit" at the url of codebase 
> and classid.

The problem in the example given is that whatever is generating the 
HTML code is doing so before link and wikiword processing takes place, 
thus PmWiki sees "BC80" in the classid
as a WikiWord link, and the codebase argument as an http:- link.

Whatever is generating the <object> code needs to either do so after
link processing takes place, or it needs to surround the text with a
call to "Keep()" so that the remaining markups won't do any further
processing of the line.

Pm


> Why to do this?
> I would like to use Randomquote (1) for include embed audio files; the 
> HTML code is for example:
> 
> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"  
> width="200" height="16" 
> codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param 
> name="SRC" value="pub/stampaudio.mov"> <param name="CONTROLLER" 
> value="FALSE"> <param name="AUTOPLAY" value="FALSE"> <param 
> name="CACHE" value="FALSE"> <param name="HREF" 
> value="<reve-et-technologies.mp4> E<autoplay=true controller=true>"> 
> <param name="TARGET" value="myself"> <embed src="stampaudio.mov" 
> width="200" height="16" controller="FALSE" autoplay="FALSE" 
> cache="FALSE" href="<reve-et-technologies.mp4> E<autoplay=true 
> controller=true>" target="myself" type="video/quicktime" 
> pluginspage="http://www.apple.com/quicktime/download/"> </embed> 
> </object>  |~ r?ves et technologies
> 
> the problem is that pmwiki add the action "edit" at the url of codebase 
> and classid.
> 
> 
> 
> 1: http://www.pmwiki.org/wiki/Cookbook/RandomQuote
> 
> Thanks you,
> Guillaume
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users



More information about the pmwiki-users mailing list