{*Attach:duck.jpg$Mimetype} -- referring to the type of the main page&#39;s duck from the sidebar (for similarity with other markup, eg {*$MyVar})<div><br><br><div class="gmail_quote">On 7 May 2010 19:27, Eemeli Aro <span dir="ltr">&lt;<a href="mailto:eemeli@gmail.com">eemeli@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;ve now got a first implementation for the structure of reading<br>
attachment metadata. Mostly it just does simple stuff like give you<br>
the file size or its mime type, as well as the silliness that&#39;s<br>
required to turn $RecentUploadsFmt into a search pattern that tells<br>
you who last modified a file.<br>
<br>
However, I figured I&#39;d ask here about the syntax to use for this,<br>
rather than just trusting that I&#39;ve come up with the best solution. In<br>
general, the forms I&#39;m using are:<br>
<br>
{Attach:duck.jpg$Mimetype} -- the simplest case<br>
{Attach:Group.Page/duck.jpg$Mimetype} -- referring to the type of<br>
another page&#39;s duck<br>
{Attach:*/duck.jpg$Mimetype} -- referring to the type of the main<br>
page&#39;s duck from the sidebar<br>
{Attach:duck.jpg$Mimetype:charset=1} -- the type of a duck, along with<br>
its charset<br>
<br>
As I&#39;d rather not prime you with my explanations for the above, I&#39;ll<br>
leave it at that and ask instead, does that look all right, or is it<br>
too odd in some way?<br>
<br>
eemeli<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>