<div><font class="Apple-style-span" face="arial, helvetica, sans-serif">To get the date from your title, maybe try {(substr &quot;{$Title}&quot; 0 10)}</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Next, I&#39;m not sure at all what is to be done ; maybe use ftime ? </font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif">If I&#39;m not wrong, </font></div><div><span class="Apple-style-span" style="white-space: pre-wrap; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">{(ftime &quot;%s&quot; &quot;substr &quot;{$Title}&quot; 0 10&quot;)}</font></span></div>
<div><span class="Apple-style-span" style="white-space: pre-wrap; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">outputs the unixtime for example...</font></span></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="white-space: pre-wrap;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-style-span" style="white-space: pre-wrap; ">There is something a bit likely a date range in <span class="Apple-style-span" style="font-family: arial; white-space: normal; "><a href="http://pmwiki.org/wiki/Test/ColorByDate">http://pmwiki.org/wiki/Test/ColorByDate</a></span></span></font></div>
<div><br></div><div>Hope this helps a little bit.</div><br><div class="gmail_quote">2009/9/17 Vince Administration <span dir="ltr">&lt;<a href="mailto:vadmin@math.uconn.edu">vadmin@math.uconn.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><br><div><div class="im"><div>On Sep 16, 2009, at 9:15 PM, Randy Brown wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word"><div>Vince,</div><div><br></div><div>I can imagine that something like (:pagelist if=&quot;date {2009-09-16} {=$Title}&quot; :) might translate my title into a date that I could test for equality to one desired date, but how would I specify a <b>range</b> of dates?</div>
</div></blockquote><div><br></div></div>Randy,</div><div>What I use in a template is:</div><div><span style="font-family:&#39;Lucida Grande&#39;;font-size:16px;white-space:pre-wrap"> if=&quot;date {$$from}..{$$until} {=$:Date_of_Entry}&quot; :)</span></div>
<div><font face="&#39;Lucida Grande&#39;" size="4"><span style="font-size:16px;white-space:pre-wrap">The $$variable is filled in from the form. It does work.  The Date_of_Entry is a ptv.</span></font></div><div><font face="&#39;Lucida Grande&#39;" size="4"><span style="font-size:16px;white-space:pre-wrap">       Vince</span></font></div>
<div class="im"><div><font face="&#39;Lucida Grande&#39;" size="4"><span style="font-size:16px;white-space:pre-wrap"><br></span></font><blockquote type="cite"><div style="word-wrap:break-word"><div><br></div><div>Randy</div>
<br><div><div>On Sep 16, 2009, at 7:57 PM, Vince Administration wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word"><br><div><div>On Sep 16, 2009, at 8:16 PM, Randy Brown wrote:</div><br><blockquote type="cite">
<div style="word-wrap:break-word"><div>Simon,</div><div><br></div>Thanks for the suggestion. Unfortunately match reg_expression returns true if current page <b>name</b> matches the regular expression - but I want to test the value of page <b>title</b>.<div>
<br></div><div>Randy<br></div></div></blockquote>Randy,</div><div>You might try if=date. You can use the $title variable in this.</div><div>        Vince</div></div></blockquote></div><br></div></blockquote></div><br></div>
</div><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>---------------------------------------<br>| A | de la langue française<br>| B | <a href="http://www.languefrancaise.net/">http://www.languefrancaise.net/</a><br>| C | <a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a><br>
---------------------------------------<br>