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): ...@@ -260,8 +260,7 @@ class OOoDocument(DMSFile, CachingMixin):
meta[k]=v.encode('utf-8') meta[k]=v.encode('utf-8')
#self.log('meta',meta) #self.log('meta',meta)
self.setTitle(meta.get('title','')) self.setTitle(meta.get('title',''))
self.setSubject([meta.get('subject',''),]) self.setSubject(meta.get('keywords','').split())
self.setKeywords(meta.get('keywords',''))
self.setDescription(meta.get('description','')) self.setDescription(meta.get('description',''))
self.setLanguage(meta.get('language','')) self.setLanguage(meta.get('language',''))
if meta.get('MIMEType',False): 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