Changeset 1261 in products for quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/viewlets.py
- Timestamp:
- Sep 8, 2009 10:42:27 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/viewlets.py
r1052 r1261 121 121 metaTags[key] = value 122 122 123 # add custom meta tags (added from qseo tab by user) for given context 124 property_prefix = 'qSEO_custom_' 125 for property, value in context.propertyItems(): 126 idx = property.find(property_prefix) 127 if idx == 0 and len(property) > len(property_prefix): 128 metaTags[property[len(property_prefix):]] = value 123 # add custom meta tags (added from qseo tab by user) for given context and default from configlet 124 custom_meta_tags = seo_context.seo_customMetaTags() 125 for tag in custom_meta_tags: 126 metaTags[tag['meta_name']] = tag['meta_content'] 129 127 130 128 # Set the additional matching keywords, if any
Note: See TracChangeset
for help on using the changeset viewer.