Dear Patrick,<br><br>Thanks for your help! I implemented your advice and now, I get the plugin window to appear properly but, somehow, it can&#39;t load the file in argument (e.g. <br><a href="http://www.web-farm.org/wiki/fields/WiCo/uploads/ItemPages/20071125_biogas_plant.wrl">
http://www.web-farm.org/wiki/fields/WiCo/uploads/ItemPages/20071125_biogas_plant.wrl</a>)<br><br>This is how my wrl.php recipe looks like now:<br><br>&lt;?php if (!defined(&#39;PmWiki&#39;)) exit ();<br>Markup(&#39;wrl&#39;, &#39;directives&#39;,
<br>&nbsp; &#39;/\\(:wrl (\\S+):\\)/e&#39;,<br>&nbsp; Keep(&quot;&lt;embed src=&#39;$1&#39; WIDTH=&#39;420&#39; HEIGHT=&#39;250&#39; NAME=&#39;flux&#39; TYPE=&#39;model/x3d+xml&#39; DASHBOARD=&#39;0&#39; LOADSCREEN=&#39;1&#39;/&gt;&quot;) );
<br>?&gt;<br><br>Thanks a lot!<br><br>Benoit<br><br><div><span class="gmail_quote">2007/11/25, Patrick R. Michaud &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Nov 25, 2007 at 09:49:39PM +0100, Benoit Dutilleul wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Now, I am trying to implement (:wrl <a href="http://www.mymodel.3d:">http://www.mymodel.3d:</a>) according to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;the markup development page but I can&#39;t get it to work:
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php if (!defined(&#39;PmWiki&#39;)) exit ();<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Markup(&#39;wrl&#39;, &#39;directives&#39;,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&#39;/\\(:wrl (\\d+) :\\)/e&#39;,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Keep(&quot;&lt;embed src=&#39;$1&#39; WIDTH=&#39;420&#39; HEIGHT=&#39;250&#39; NAME=&#39;flux&#39;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;TYPE=&#39;model/x3d+xml&#39; DASHBOARD=&#39;0&#39; LOADSCREEN=&#39;1&#39;/&gt;&quot;) );<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;?&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Any idea about what is wrong or missing?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Thanks!<br><br>The \d+ in the expression will only match digits.&nbsp;&nbsp;You might want
<br>to use \S+? (non-space characters, as few as possible) instead.<br><br>Pm<br></blockquote></div><br>