Commit Graph

159 Commits

Author SHA1 Message Date
Stefan Ritter
7b67581d11 Import (ConfigParser|configparser) as configparser 2011-03-24 13:05:22 +01:00
Stefan Ritter
718bb41ff5 Rename var tab to ind (indention) 2011-03-24 09:42:08 +01:00
Stefan Ritter
5e44ac1906 Fix print to print("") 2011-03-24 00:02:41 +01:00
Stefan Ritter
b8cb97bd6e Bugfixes for python3:
* Use range instead of xrange
  * Encode unicode objects before hashing
2011-03-23 23:55:14 +01:00
Stefan Ritter
736ea10a1f Python2 backward compatibility 2011-03-23 22:53:59 +01:00
Stefan Ritter
f44fae9771 Python3 compatibility 2011-03-23 22:48:21 +01:00
Stefan Ritter
f9bc02e1c0 Use print() for python3 compatibility 2011-03-23 14:57:43 +01:00
Stefan Ritter
0f4dabc2dd language and tabs:
* Use en as language when language is not declared
  * Use one space instead of one tab
2011-03-22 23:18:16 +01:00
Stefan Ritter
bf758a26ac Add language and charset to header 2011-03-22 23:06:21 +01:00
Stefan Ritter
0d024d57e4 Add missing content type 2011-03-22 22:58:12 +01:00
Stefan Ritter
c6ad68e0cf Remove xhtml-strict and xhtml-transitional, add html (html5) 2011-03-22 22:54:47 +01:00
Stefan Ritter
f761993f39 Changes:
* Add configuration to htaccess
  * Modify class of all entries link
2011-03-07 13:51:22 +01:00
Stefan Ritter
92caac31aa Fix indention error 2011-02-07 23:11:16 +01:00
Stefan Ritter
50e5c532f7 Remove exceptions for entries_dir 2011-02-07 23:11:09 +01:00
Stefan Ritter
c46d219390 Determine if entries_dir is writable 2011-02-07 23:11:02 +01:00
Stefan Ritter
c7ac70ff84 Make error page more beautiful 2011-01-31 09:18:24 +01:00
Stefan Ritter
b32a982b81 Code cleanup:
* Fix blog_url if there is no http:// at the beginning or/and no
   / at the end
 * Use %s for string concatenation (improving performance)
2010-12-16 11:11:41 +01:00
Stefan Ritter
fad6090431 Exception fix for python 2.5 2010-12-14 16:21:03 +01:00
Stefan Ritter
bc6a0f176a Rewritten config parser code 2010-12-14 16:16:12 +01:00
Stefan Ritter
b76a97c26a Following guidelines from http://www.python.org/dev/peps/pep-0008/ 2010-12-14 11:26:21 +01:00
Stefan Ritter
b48033faca Using hashlib instead of deprecated md5 2010-12-14 09:55:09 +01:00
Stefan Ritter
51c4cfc7f2 Use more os.path.join 2010-12-14 09:52:12 +01:00
Stefan Ritter
cbf2032d78 Code cleanup (inconsistency between " and ') 2010-12-14 09:42:38 +01:00
Stefan Ritter
64c0b794ee Timestamp fix 2010-12-09 11:14:45 +01:00
Stefan Ritter
cb2022a236 Using timestamp files for sorting entries 2010-12-09 09:27:01 +01:00
Stefan Ritter
f449c22281 * Some code cleanup
* First code for moderated comments
2010-11-20 20:01:08 +01:00
Stefan Ritter
6575010157 Some code cleanup 2010-11-16 08:45:21 +01:00
Stefan Ritter
9a8023158b Use variable "tab" for tabs for better code style (part2) 2010-11-16 08:33:29 +01:00
Stefan Ritter
6697c76176 Use variable "tab" for tabs for better code style 2010-11-15 17:50:11 +01:00
Stefan Ritter
e4b3672547 Removed staticpages_images stuff (needs testing) 2010-11-15 16:14:23 +01:00
Stefan Ritter
ffb2f07626 Bugfix: a href without quotation 2010-06-11 16:24:24 +02:00
Stefan Ritter
1973659923 Try to use URL as guid in RSS (possible bugfix?) 2010-04-15 12:17:20 +02:00
Stefan Ritter
d6eb14bda5 Removed target _blank to be strict 2010-02-25 12:06:09 +01:00
Stefan Ritter
e664b622e9 Insert image in staticpageslist instead of title if title.jpg/png/gif exists 2010-02-17 12:42:22 +01:00
Stefan Ritter
2676322ded Remove leading dot in title from staticpages 2010-02-17 11:50:43 +01:00
Stefan Ritter
d8b98ca5fb Show localized times if locales are generated for this country 2010-02-17 11:16:00 +01:00
Stefan Ritter
eae87ee0ec Added language option
* 'language' in section 'style' can be de, at, en, us, ...
2010-02-17 09:26:59 +01:00
Stefan Ritter
54844ac56d Updated Todo 2009-12-21 08:05:46 +01:00
Stefan Ritter
59b3fe4272 Added precompiled regexp for commentfile parsing 2009-12-10 15:19:31 +01:00
Stefan Ritter
c4b4c138c2 Removed links to RSS/Atom images 2009-12-10 15:09:51 +01:00
Stefan Ritter
fc815ad4e7 Doing some cleanup in styles/
* ATTENTION: you have to delete .css from your stylename in config
* Deleted some non-used images
* Everything is now in a subfolder
2009-12-07 12:28:34 +01:00
Stefan Ritter
6ff2c622be Fixed send-comment function (now works with apache) 2009-12-07 10:35:36 +01:00
Stefan Ritter
e7d313cdc4 Added a simple plugin interface 2009-12-07 00:32:35 +01:00
Stefan Ritter
2f74887f62 no_break bugfix 2009-12-06 22:14:26 +01:00
Stefan Ritter
338d986fb8 Making a wonderful place for regexp and added some more blockelements to the list 2009-12-06 21:50:12 +01:00
Stefan Ritter
af6f93cc1f Added '../.blogthonrc' as possible configuration, added TODO 2009-12-06 20:35:52 +01:00
Stefan Ritter
d26d49f03c Added '../blogthonrc' as alternative configuration 2009-12-06 17:03:28 +01:00
Stefan Ritter
e89bbb6bc3 Some regexp foo 2009-12-06 14:57:47 +01:00
Stefan Ritter
6ed3f5009f Improved rss description to use html tags (like formatting, images, ...) 2009-12-04 00:29:05 +01:00
Pascal Turbing
5c5c0cdf0b Fixed Atom-Timestamp 2009-12-03 22:53:37 +01:00