<div class="gmail_quote">On Mon, Feb 23, 2009 at 9:36 PM, Ed W <span dir="ltr">&lt;<a href="mailto:lists@wildgooses.com">lists@wildgooses.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;">
Given that the goal is to enhance the sitemap.php recipe to support:<br>
<br>
...<br>
How best should I design my markup so that I can scan for these things.<br></blockquote><div><br>Use PTVs.  The name of the variable is something consistent across all pages so you can scan for it.  If it doesn&#39;t exist then you have some appropriate default chosen.<br>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Assuming you recommend instead using pagevars rather than writing vars<br>
to the page file, can you perhaps spend a few seconds explaining the<br>
ReadVar function and how it picks out the pagevars because it&#39;s rather<br>
alluding me how it actually functions right now...<br>
</blockquote><div><br>Er...  Where are you finding the ReadVar function?  Do you mean PageVar()?  Why not just use the function as it stands?  You can do a quick CondAuth() ahead of time if you need to check authorizations...<br>
<br>If you do need to understand the internals of PageVar or PageTextVar try putting in some of those echo statements I recommended earlier, figure out the majority of it, and if you have specific questions go ahead and post them.<br>
<br>-Peter <br></div></div>