<div dir="ltr">Briefly<div><br></div><div>You might also find the <a href="http://www.pmwiki.org/wiki/Cookbook/Reminder">Reminder </a>recipe of use.</div><div><br></div><div>For your scenario you could use <a href="http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup">conditional markup</a> (not markup expressions as I said earlier) to decide when to display the page,</div>

<div>eg </div><div><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:13px;line-height:19.506668090820313px;white-space:nowrap">(:if date 2014-05-30.. :)</span><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:13px;line-height:19.506668090820313px;white-space:nowrap">See the [[new page]](:ifend:)</span></div>

or<div><div><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:13px;line-height:19.506668090820313px;white-space:nowrap">(:if date 2014-05-30.. :)(:include NewPage:)</span><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:13px;line-height:19.506668090820313px;white-space:nowrap">(:ifend:)</span></div>

</div>or you could include the date in a page text variable or in the page name, e.g.<div><div><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:13px;line-height:19.506668090820313px;white-space:nowrap">(:if date {NewPage$:FromDate}.. :)</span><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:13px;line-height:19.506668090820313px;white-space:nowrap">See the [[new page]](:ifend:)</span></div>

</div>where on NewPage you might have (:FromDate:2014-06-27:)<div>or if the page name is, say, 2014-07-28NewPage then</div><div><div><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:13px;line-height:19.506668090820313px;white-space:nowrap">(:if date </span><span style="color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;font-size:0.9em;line-height:1.2em">{(substr $name 0 10)}..</span><span style="font-size:13px;color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;line-height:19.506668090820313px;white-space:nowrap"> :)</span><span style="font-size:13px;color:rgb(0,0,0);font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;line-height:19.506668090820313px;white-space:nowrap">See the [[new page]](:ifend:)</span><br>

</div><br>In the example I have, I want to include a section from a page.<br>Manually we put in an anchor in the source page of the form [[#xxyyyy-mm-dd]] (note in PmWiki anchors must start with a character)</div><div>In config.php I've added</div>

<div><div><font face="courier new, monospace">$FmtPV['$NextTuesday'] = "date('Y-m-d',strtotime('next tuesday',strtotime('yesterday')))"; // yyyy-mm-dd, today if Tuesday, otherwise next Tuesday</font></div>

<div><font face="courier new, monospace">$FmtPV['$FollowingTuesday'] = "date('Y-m-d',strtotime('+7 days next tuesday',strtotime('yesterday')))"; // yyyy-mm-dd, next Tuesday if Tuesday, otherwise </font>following Tuesday<br>

</div></div><div>then I just say in the target page</div><div><font face="courier new, monospace">(:include FixtureCard/{$ThisYear}ClubNights#cn{$NextTuesday} :)</font><br></div><div><font face="courier new, monospace">(:include FixtureCard/{$ThisYear}ClubNights#cn{$FollowingTuesday} :)<br>

</font></div><div><br></div><div>hope this helps</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 May 2014 17:51, Ian MacGregor <span dir="ltr"><<a href="mailto:ardchoille42@me.com" target="_blank">ardchoille42@me.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This sounds interesting. When you have time, could you teach me how to do that?<div class=""><br>
<br>
On 05/17/2014 10:29 PM, Simon wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Wll one way you could do it is use the markup expression<br></div>
<<a href="http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions" target="_blank">http://www.pmwiki.org/wiki/<u></u>PmWiki/MarkupExpressions</a>> if date to control<div class=""><br>
when pages become visible, I use a similar strategy on this page<br></div>
<<a href="http://ttc.org.nz/" target="_blank">http://ttc.org.nz/</a>>.<div class=""><br>
<br>
<br>
On 18 May 2014 17:12, Ian MacGregor <<a href="mailto:ardchoille42@me.com" target="_blank">ardchoille42@me.com</a><br></div><div class="">
<mailto:<a href="mailto:ardchoille42@me.com" target="_blank">ardchoille42@me.com</a>>> wrote:<br>
<br>
    I have 20 or so pages that I would like to publish on a<br>
    one-page-per-week basis. Rather than manually publishing one page<br>
    per week, I would like to be able to create all of the pages at one<br>
    time and have the wiki publish them one page per week. How would I<br>
    go about doing this? Is there a recipe set up for something like this?<br>
    --<br>
    Regards,<br>
    Rev. Ian MacGregor<br>
    <a href="http://www.ianmacgregor.net" target="_blank">http://www.ianmacgregor.net</a><br>
<br></div>
    ______________________________<u></u>___________________<br>
    pmwiki-users mailing list<br>
    <a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a> <mailto:<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.<u></u>com</a>><br>
    <a href="http://www.pmichaud.com/__mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/__<u></u>mailman/listinfo/pmwiki-users</a><div class=""><br>
    <<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/<u></u>mailman/listinfo/pmwiki-users</a>><br>
<br>
<br>
<br>
<br>
--<br>
____<br>
<a href="http://kiwiwiki.co.nz" target="_blank">http://kiwiwiki.co.nz</a><br>
</div></blockquote>
<br><div class="HOEnZb"><div class="h5">
-- <br>
Regards,<br>
Rev. Ian MacGregor<br>
<a href="http://www.ianmacgregor.net" target="_blank">http://www.ianmacgregor.net</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div>