I tried too and yes it works. <br>problem is when trying to evaluate the httpvariable.<br><br>Anyway, I did a workaround (At first did not want the aproach but it will solve the problem) I will use a custom action with the name of the page.<br>

<br>So now I will Point Main.Test?action=0001<br><br>and then <br><br>year:     {(substr {Test.{$action}$:date} 0 4)}<br>month:  {(substr {Test.{$action}$:date} 5 2)}<br>day:      {(substr {Test.{$action}$:date} 8 2)}<br>

<br>That Work for me !<br><br>httpvariables are great, I have tried to use them a few times in the past and they work at first but then when I try mixing with any other recipe they always bring something that does not work properly or a least the way expected. I would love to see httpvariables interact better with other recipes , extensions or plugins.<br>

<br>Thanks,<br>Edwin<br><br><br><div class="gmail_quote">On Fri, Feb 5, 2010 at 8:08 AM, Peter Bowers <span dir="ltr">&lt;<a href="mailto:pbowers@pobox.com">pbowers@pobox.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Could it have to do with the order of processing of httpvariables in<br>
comparison with markup expressions?<br>
<br>
I tried it with a PTV for the {$:page} and it works fine, but I don&#39;t<br>
have httpvariables installed so I couldn&#39;t test that...<br>
<br>
-Peter<br>
<div class="im"><br>
On Thu, Feb 4, 2010 at 8:25 PM, edwin marte &lt;<a href="mailto:edwin.marte@leidba.com">edwin.marte@leidba.com</a>&gt; wrote:<br>
&gt;<br>
</div><div><div></div><div class="h5">&gt; I have a set of pages with a couple of  page text variables  (PTVs) on them<br>
&gt; of the form yyyy-mm-dd .<br>
&gt; I need to grab  year , month and day values from them to display in another<br>
&gt; page.<br>
&gt;<br>
&gt; I  have a page Test.0001 with  (:date:2009-02-15:)<br>
&gt;<br>
&gt; So if I point the browser to Main.Test?page=0001 (using httpvariables) and<br>
&gt; then write  {Test.{$?page}$:date} on it I get 2009-02-15 (working)<br>
&gt;<br>
&gt; then I try {(substr  {Test.{$?page}$:date} 0 4)} and I get    {Dec<br>
&gt;    it breaks somehow ,  I was expecting to get 2009.<br>
&gt;<br>
&gt; Any pointers on how to make substr markup work the way I&#39;m doing it ? Any<br>
&gt; reason why it breaks ?<br>
&gt;<br>
&gt; Best Regards,<br>
&gt; Edwin<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; pmwiki-users mailing list<br>
&gt; <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
&gt; <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>