X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=reindex_blog.py;h=33a5736dbbc1c022e04a58a65dd9ee9d167ef3e3;hb=eddda9a58e63cc202103cc5266cad173a9e768fd;hp=bb315179cf75f8c90ba4d508094b486b9f3da4ee;hpb=d4a8101f56c22a7b3ac880252ef4caa349d68959;p=phdru.name%2Fphdru.name.git diff --git a/reindex_blog.py b/reindex_blog.py index bb31517..33a5736 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -2,7 +2,7 @@ # -*- coding: koi8-r -*- __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2006-2013 PhiloSoft Design" +__copyright__ = "Copyright (C) 2006-2014 PhiloSoft Design" import sys, os @@ -360,7 +360,7 @@ new_text = ["""\
  • ïÐÅÒÁÔÏÒ '!' (NOT, not) - ÉÝÅÔ ÚÁÐÉÓÉ, × ËÏÔÏÒÙÈ ÎÅÔ ÜÔÏÇÏ ÔÅÇÁ.
  • ïÐÅÒÁÔÏÒ '&' (AND, and) - ÉÝÅÔ ÚÁÐÉÓÉ, × ËÏÔÏÒÙÈ ÅÓÔØ ÏÂÁ ÔÅÇÁ.
  • ïÐÅÒÁÔÏÒ '|' (OR, or) - ÉÝÅÔ ÚÁÐÉÓÉ, × ËÏÔÏÒÙÈ ÅÓÔØ ÌÀÂÙÅ ÉÚ ÔÅÇÏ×.
  • -
  • óËÏÂËÉ '()' ÐÏÚ×ÏÌÑÀÔ ÏÂßÅÄÉÎÑÔØ ×ÙÒÁÖÅÎÉÑ.
  • +
  • ðÒÉÏÒÉÔÅÔ ÏÐÅÒÁÃÉÊ ÓÔÁÎÄÁÒÔÎÙÊ: NOT > AND > OR. óËÏÂËÉ '()' ÐÏÚ×ÏÌÑÀÔ ÏÂßÅÄÉÎÑÔØ ×ÙÒÁÖÅÎÉÑ.
  • ðÒÉÍÅÒÙ ×ÙÒÁÖÅÎÉÊ: linux - ÐÒÏÉÚÏÊÄ£Ô ÐÅÒÅÎÁÐÒÁ×ÌÅÎÉÅ @@ -563,7 +563,6 @@ for item in tuple(reversed(all_titles_tags))[:10]: item.categoryList = tags body = bodies[(year, month, day, file)] body = absolute_urls(body, baseURL + url_path) - body = body.decode('koi8-r').encode('utf-8') item.body = body item.excerpt = get_first_p(body)