public domain python weblog -- software of http://4x13.net/wlog/
For an admin panel use wlog-panel.
Sample theme and entry in this repo's ./themes/
Features implemented: markdown -> html, file -> post, templates, date and title from metadata, post indexing, pagination, themeing, subdirectory support, pagination and indexing of subdirectories, readmore
Version | Date | Change: |
---|---|---|
v0.1.0 | 06-21 14:00 | project initiated |
v0.1.1 | 06-21 22:00 | file loading in "./wlog-pages" dir |
v0.1.2 | 06-22 12:00 | markdown added |
v0.1.3 | 06-22 22:00 | random indexing added |
v0.1.4 | 06-23 14:00 | realistic indexing added |
v0.1.5 | 06-23 21:00 | pagination added to indexing |
v0.1.6 | 06-27 00:00 | theming began... notes made |
v0.1.7 | 07-11 19:00 | tagging begun |
v0.1.8 | 07-12 15:00 | tagging finished |
v0.5 | 07-16 20:00 | readmore added, script basically done. |
v0.7 | 07-28 20:00 | Reworked the script a little and added a theme |
v1.0.1 | 01-25 01:30 | Added an atom feed option |
To install:
- Confirm that you have a web server, python3, and get Mistune - Python Markdown Converter.
- place wlog.py3 in a directory, and make it accessible via the web server.
- create a directory called "pages" in wlog's directory, and add head.wlog and post.wlog
- confirm that the variables at the top of wlog.py3 are correct, and modify head.wlog and post.wlog as desired
- By default, wlog takes arguments as wlog.py3?title=ARGUMENT .
- For cooler URIs, try calling it "index.py3" and do a rewrite similar with this:
- (lighttpd) "/wlog/(.*)?" => "/wlog/index.py3?title=$1"
To add blog entries:
- Upload a text file with the extension you select to the pages directory (./pages/*.md is the default blog entry)
- Format it with "date: y-m-d" on the first line, and the title you want for the entry on the second line.
- Write the rest of your blog post in Markdown.
- Begin a line with <...>, followed by a space, to cut the blog entry short at that line in the index.
- Place the file in a subdirectory of ./pages/ to give it a category.
To theme/configure further:
- Copy head.wlog and post.wlog and change the extension (example: head.mytheme post.mytheme)
- Modify as desired, change the theme setting in the script, and modify the script further as needed.
- Submit your custom themeing / features to the project to help the project and participate in the public domain