<div class="gmail_quote">2009/11/1 Hans <span dir="ltr">&lt;<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

  <div><br>
  </div>
</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">But why don&#39;t you use simple PageTextVariables, like<br>
</div>
 </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
(:latitude: 50.1234:)<br>
(:longitude: -1.23456:)<br>
<br>
and use {$:latitude} and {$:longitude} in your<br>
$FeedFmt[&#39;georss&#39;][&#39;item&#39;] array?<br>
 </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Why do you want to use PageVariables?<br></blockquote><div><br>
Hans, thanks for looking at this and questioning.  To be honest I&#39;m not
sure the difference between PTV&#39;s and PV&#39;s.  The way I first approached
this was to look at how the extant (:summary:) markup worked and copied
how that was integrated into the system.  Now I know the $:variable
syntax I&#39;ll see if I can simplify the FeedFmt line.<br><br>The other reason was that I&#39;m using a database backend to store my wiki pages and storing selected page variables e.g. summary and now lat/lng, as columns within the table for fast access without processing each page.  I&#39;m starting with the very good SQLite recipe and found I need the &#39;page variable thing&#39; to get the extra data (lat/lng) to store - not sure why.  FYI - I&#39;m porting the SQLite recipe to support MySQL so I can save a stored procedure to very quickly find Wiki pages within a specified radius from a specific location.  This is similar to the way geonames &#39;findNearestPlacename&#39; works (ref. <a href="http://www.geonames.org">http://www.geonames.org</a>) .<br>

 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
And if you need to use PageVariables, why the change to use a<br>
(:coord..:) markup instead of two markups for latitude and longitude?<br>
If you have a single coord markup there may be possible confusion<br>
of what arg comes first: lat or long.<br>
<font color="#888888"><br>
  ~Hans<br></font></blockquote><div><br>Agreed that two markups might make more sense.  My rationale was to imitate the Wikipedia markup just in case users were used to that.  Ref. <a href="http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Geographical_coordinates">http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Geographical_coordinates</a><br>
<br>I&#39;m sitting on the fence as to what to go with...<br></div></div>