Changeset 3506 in products for quintagroup.plonegooglesitemaps/branches/sitemap_date/quintagroup/plonegooglesitemaps/browser/newssitemapview.py
- Timestamp:
- Aug 15, 2012 10:23:48 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/sitemap_date/quintagroup/plonegooglesitemaps/browser/newssitemapview.py
r3487 r3506 21 21 22 22 return ( 23 ('publication_date', lambda x: x.Date and \24 23 ('publication_date', 24 lambda x: x.Date and formatDate(x.Date) or ""), 25 25 ('keywords', lambda x: x.Subject and ', '.join(x.Subject) or ""), 26 26 ('title', lambda x: x.Title or x.getId or x.id), 27 ('name', lambda x: x.Title and \28 27 ('name', lambda x: x.Title and 28 reTrailingParenthtical.sub("", x.Title) or ""), 29 29 ('language', lambda x: x.Language or self.default_language()), 30 30 ('access', lambda x: x.gsm_access or ""), 31 ('genres', lambda x: x.gsm_genres and \32 31 ('genres', lambda x: x.gsm_genres and 32 ", ".join(x.gsm_genres) or ""), 33 33 ('stock', lambda x: x.gsm_stock or ""), 34 34 ) … … 49 49 "range": "min"}, 50 50 is_default_page=False 51 51 )
Note: See TracChangeset
for help on using the changeset viewer.