Beispiel #1
0
def deal_content(content):
    content = libgezi.strip_html(content)
    if len(content) > 100:
			content = libgezi.gbk_substr(content, 0, 100)
    content = content + ' ' + libgezi.normalize_str(content)
    return content
Beispiel #2
0
def deal_title(title):
    return title + ' ' + libgezi.normalize_str(title)
Beispiel #3
0
 def deal_title(self, title):
     return libgezi.normalize_str(title)