Commit 0c17ef26 authored by Bartek Górny's avatar Bartek Górny

use subject list for keywords (#3)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10297 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 670c70df
......@@ -260,8 +260,7 @@ class OOoDocument(DMSFile, CachingMixin):
meta[k]=v.encode('utf-8')
#self.log('meta',meta)
self.setTitle(meta.get('title',''))
self.setSubject([meta.get('subject',''),])
self.setKeywords(meta.get('keywords',''))
self.setSubject(meta.get('keywords','').split())
self.setDescription(meta.get('description',''))
self.setLanguage(meta.get('language',''))
if meta.get('MIMEType',False):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment