Hi there,<br><br>I made a small recipe to embed WRL objects in pmwiki:<br><a href="http://www.pmwiki.org/wiki/Cookbook/DisplayWRL" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.pmwiki.org/wiki/Cookbook/DisplayWRL
</a><br><br>Cheers,<div><span class="e" id="q_116f8cf0681d1900_1"><br><br>Benoit<br><br><div><span class="gmail_quote">2007/11/25, Matt Strauser <<a href="mailto:syntereo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
syntereo@gmail.com
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Benoit,<br><br>Take a look at<br><a href="http://www.pmwiki.org/wiki/PmWiki/Installation" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.pmwiki.org/wiki/PmWiki/Installation</a><br><br>It may involve setting file permissions back to 755, but I'm not sure.
<br>I know that browsers will read the index.html or .php file first instead of showing the folder contents.<br><br>I hope that helps,<br><span>Matt</span><div><span><br><br>
<br><br><div class="gmail_quote">On Nov 25, 2007 2:12 PM, Benoit Dutilleul <
<a href="mailto:benoit.dutilleul@googlemail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">benoit.dutilleul@googlemail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Matt,<br><br>I have added an index.php to that folder. This seems to be a normal behavior of pmwiki not to protect the uploads folders, at least on my installation. Do you know how this can be solved?<br><br>Thanks a lot for your help.
<br>Benoit<br><br><br><br><div><span class="gmail_quote">2007/11/25, Matt Strauser <<a href="mailto:syntereo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">syntereo@gmail.com</a>>:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bonjour Benoit,<br>FYI: I found this directory to be viewable:<span><br><a href="http://www.web-farm.org/wiki/fields/WiCo/uploads/ItemPages/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<b>http://www.web-farm.org/wiki/fields/WiCo/uploads/ItemPages/</b></a><br><br><br></span>I think if you put an
index.html or index.php file in the folder it will prevent others from viewing your documents.<br><br>Merci,<br>Matt<br><br><br><br><div class="gmail_quote"><div><span>On Nov 25, 2007 1:45 PM, Benoit Dutilleul <
<a href="mailto:benoit.dutilleul@googlemail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
benoit.dutilleul@googlemail.com</a>> wrote:<br></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span>
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'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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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:<div><br><br><?php if (!defined('PmWiki')) exit ();<br>
Markup('wrl', 'directives',
<br></div> '/\\(:wrl (\\S+):\\)/e',<div><br> Keep("<embed src='$1' WIDTH='420' HEIGHT='250' NAME='flux' TYPE='model/x3d+xml' DASHBOARD='0' LOADSCREEN='1'/>") );
<br>?><br><br></div>Thanks a lot!<br><br>Benoit<br><br><div><span class="gmail_quote">2007/11/25, Patrick R. Michaud <<a href="mailto:pmichaud@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
pmichaud@pobox.com</a>>:</span><div>
<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>> Now, I am trying to implement (:wrl <a href="http://www.mymodel.3d:" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.mymodel.3d:
</a>) according to<br>> the markup development page but I can't get it to work:
<br>><br>> <?php if (!defined('PmWiki')) exit ();<br>> Markup('wrl', 'directives',<br>> '/\\(:wrl (\\d+) :\\)/e',<br>> Keep("<embed src='$1' WIDTH='420' HEIGHT='250' NAME='flux'
<br>> TYPE='model/x3d+xml' DASHBOARD='0' LOADSCREEN='1'/>") );<br>> ?><br>><br>> Any idea about what is wrong or missing?<br>> Thanks!<br><br>The \d+ in the expression will only match digits. You might want
<br>to use \S+? (non-space characters, as few as possible) instead.<br><br>Pm<br></blockquote></div></div><br>
<br></span></div>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pmwiki-users@pmichaud.com
</a><br><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br></blockquote></div><br>
</blockquote></div><br>
</blockquote></div><br>
</span></div></blockquote></div><br>
</span></div>