plugin XEP-0277, tools/common/data_objects: language handling
This commit is contained in:
parent
98d328ca47
commit
9ae18d4d28
2 changed files with 14 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ class BlogItem(object):
|
|||
def updated(self):
|
||||
return self.mb_data.get(u'updated')
|
||||
|
||||
@property
|
||||
def language(self):
|
||||
return self.mb_data.get(u'language')
|
||||
|
||||
@property
|
||||
def author(self):
|
||||
return self.mb_data.get(u'author')
|
||||
|
|
|
|||
Loading…
Reference in a new issue