root / trunk / breve / tests / sitemap.py

Revision 340, 305 bytes (checked in by cliff, 9 months ago)

added test for custom tags

Line 
1# sitemap.py - example custom tag definition file
2
3from breve.tags import Proto
4
5xmlns = "http://www.google.com/schemas/sitemap/0.84/sitemap.xsd"
6doctype = ""
7tag_names = [ "changefreq", "lastmod", "loc", "priority", "url", "urlset" ]
8tags = { }
9for t in tag_names:
10    tags [ t ] = Proto ( t )
11
12       
Note: See TracBrowser for help on using the browser.