Additional template tags...

Sam Ruby rubys at intertwingly.net
Mon Aug 11 22:27:48 EST 2008


Morten Høybye Frederiksen wrote:
> Hi,
> 
> On Sun, Aug 10, 2008 at 9:19 AM, Christopher Stewart
> <christopher.stewart at gmail.com> wrote:
>> in the "FeedParser path to Planet tmpl names Map" (defined in
>> /planet/shell/tmpl.py) should do the trick. Yet it doesn't, so perhaps
>> there's something I'm overlooking ?
> FWIW I have just commited a change to my Venus branch at
> http://bzr.mfd-consult.dk/venus/ that makes it support more geo tags,
> and should include what you need. Otherwise, the changes I've made may
> help you locate where to fix it for your needs.

Pulled.

> (Sorry, no test cases for now.)

Here's a first test:

http://www.intertwingly.net/code/venus/tests/data/reconstitute/geo_latlong.xml

I notice that you have a number of other use cases (Point, Box, 
LineString, Polygon), that should be readily expressible in this format.

I also notice that you also only support geo:* inside an entry/item, but 
from what I can see, this data is often commonly placed directly on the 
feed/channel where it would appear inside the source element.

> Regards,
> Morten

- Sam Ruby



More information about the devel mailing list