webber:webber.git
8 years agotoc.py: now we can generate a table-of-contents
Holger Schurig [Wed, 23 Jun 2010 13:55:17 +0000 (15:55 +0200)]
toc.py: now we can generate a table-of-contents

8 years agodoc template_make: finally documented how templates work
Holger Schurig [Wed, 23 Jun 2010 11:10:11 +0000 (13:10 +0200)]
doc template_make: finally documented how templates work

8 years agoconfig: fix default date format
Holger Schurig [Wed, 23 Jun 2010 11:09:46 +0000 (13:09 +0200)]
config: fix default date format

8 years agodoc pageformat: delete trailing whitespace
Holger Schurig [Wed, 23 Jun 2010 11:09:16 +0000 (13:09 +0200)]
doc pageformat: delete trailing whitespace

8 years agorss_feed.py: fix link to articles
Holger Schurig [Wed, 23 Jun 2010 10:05:13 +0000 (12:05 +0200)]
rss_feed.py: fix link to articles

8 years agodoc rss_feed: added documentation
Holger Schurig [Wed, 23 Jun 2010 09:33:53 +0000 (11:33 +0200)]
doc rss_feed: added documentation

8 years agorss_feed.py: limit number of published items via "rss_max_items"
Holger Schurig [Wed, 23 Jun 2010 09:27:03 +0000 (11:27 +0200)]
rss_feed.py: limit number of published items via "rss_max_items"

8 years agorss_feed.py: limit age of published files via "rss_max_age_days"
Holger Schurig [Wed, 23 Jun 2010 09:25:41 +0000 (11:25 +0200)]
rss_feed.py: limit age of published files via "rss_max_age_days"

8 years agorss_feed.py: sort items by modification time
Holger Schurig [Wed, 23 Jun 2010 09:14:30 +0000 (11:14 +0200)]
rss_feed.py: sort items by modification time

8 years agorss_feed.py: changed XML beatification a but
Holger Schurig [Wed, 23 Jun 2010 09:02:12 +0000 (11:02 +0200)]
rss_feed.py: changed XML beatification a but

8 years agorss_feed.py: generate "lastBuildDate" in GMT, not local time
Holger Schurig [Wed, 23 Jun 2010 09:01:32 +0000 (11:01 +0200)]
rss_feed.py: generate "lastBuildDate" in GMT, not local time

8 years agorss_feed.py: add a bit of atom support
Holger Schurig [Wed, 23 Jun 2010 08:12:38 +0000 (10:12 +0200)]
rss_feed.py: add a bit of atom support

8 years agorss_feed.py: simply XML formatting
Holger Schurig [Wed, 23 Jun 2010 08:12:17 +0000 (10:12 +0200)]
rss_feed.py: simply XML formatting

8 years agorss_feed.py: the guid isn't a permalink
Holger Schurig [Wed, 23 Jun 2010 08:11:48 +0000 (10:11 +0200)]
rss_feed.py: the guid isn't a permalink

8 years agorss_feed.py: publish also pages that have been created
Holger Schurig [Wed, 23 Jun 2010 08:11:15 +0000 (10:11 +0200)]
rss_feed.py: publish also pages that have been created

8 years agodoc google_sitemap: minor rewording
Holger Schurig [Wed, 23 Jun 2010 08:10:58 +0000 (10:10 +0200)]
doc google_sitemap: minor rewording

8 years agowebber: always return complete python trace-back if a module cannot be
Holger Schurig [Wed, 23 Jun 2010 08:10:35 +0000 (10:10 +0200)]
webber: always return complete python trace-back if a module cannot be
loaded

8 years agorss_feed: moan about a missing python-pyrss2gen
Holger Schurig [Tue, 22 Jun 2010 22:26:23 +0000 (00:26 +0200)]
rss_feed: moan about a missing python-pyrss2gen

8 years agoinitial version of the RSS feed generator
Holger Schurig [Tue, 22 Jun 2010 11:47:45 +0000 (13:47 +0200)]
initial version of the RSS feed generator

8 years agomake file.out_path already known for the 'scan' hook
Holger Schurig [Tue, 22 Jun 2010 11:47:33 +0000 (13:47 +0200)]
make file.out_path already known for the 'scan' hook

8 years agoplugin doc: fix link
Holger Schurig [Thu, 22 Apr 2010 22:10:39 +0000 (00:10 +0200)]
plugin doc: fix link

8 years agowebber: remove trailing whitespace
Holger Schurig [Fri, 16 Apr 2010 08:59:52 +0000 (10:59 +0200)]
webber: remove trailing whitespace

8 years agoplugins doc: fix link
Holger Schurig [Fri, 16 Apr 2010 08:59:43 +0000 (10:59 +0200)]
plugins doc: fix link

8 years agowebber.py: add plugin_dirs[] configuration
Holger Schurig [Fri, 16 Apr 2010 08:59:22 +0000 (10:59 +0200)]
webber.py: add plugin_dirs[] configuration

8 years agowebber.py: stop if requested plugin cannot be loaded
Holger Schurig [Fri, 16 Apr 2010 08:48:32 +0000 (10:48 +0200)]
webber.py: stop if requested plugin cannot be loaded

8 years agoread_markdown.py: upgrade to 1.0.1.16
Holger Schurig [Fri, 16 Apr 2010 08:36:43 +0000 (10:36 +0200)]
read_markdown.py: upgrade to 1.0.1.16

8 years agoread_markdown.py: upgrade to 1.0.1.15
Holger Schurig [Fri, 16 Apr 2010 08:31:56 +0000 (10:31 +0200)]
read_markdown.py: upgrade to 1.0.1.15

8 years agoread_markdown.py: upgrade to 1.0.1.14
Holger Schurig [Fri, 16 Apr 2010 08:28:54 +0000 (10:28 +0200)]
read_markdown.py: upgrade to 1.0.1.14

8 years agoread_markdown.py: upgrade to 1.0.1.13
Holger Schurig [Fri, 16 Apr 2010 08:21:01 +0000 (10:21 +0200)]
read_markdown.py: upgrade to 1.0.1.13

8 years agoread_markdown.py: delete trailing whitespace
Holger Schurig [Fri, 16 Apr 2010 08:17:47 +0000 (10:17 +0200)]
read_markdown.py: delete trailing whitespace

8 years agowebber: fix warning message for pages with quite long linktitles
Holger Schurig [Wed, 14 Apr 2010 14:26:31 +0000 (16:26 +0200)]
webber: fix warning message for pages with quite long linktitles

8 years agohierarchy: correctly display last recently changed pages
Holger Schurig [Wed, 14 Apr 2010 14:25:22 +0000 (16:25 +0200)]
hierarchy: correctly display last recently changed pages

Don't truncate prematurely, a quite recent page can very well be at position 15 and advance
to position 1 due to sorting.

8 years agoskeleton: fix function name "start" to match comment and @set_hook()
Holger Schurig [Wed, 31 Mar 2010 19:54:29 +0000 (21:54 +0200)]
skeleton: fix function name "start" to match comment and @set_hook()

8 years agomostly white-space changes, but also slightly different contents handling
Holger Schurig [Wed, 31 Mar 2010 19:53:31 +0000 (21:53 +0200)]
mostly white-space changes, but also slightly different contents handling

8 years agoallow pylint
Holger Schurig [Wed, 31 Mar 2010 19:51:47 +0000 (21:51 +0200)]
allow pylint

8 years agoskeleton: describe it's usage
Holger Schurig [Fri, 26 Mar 2010 12:56:43 +0000 (13:56 +0100)]
skeleton: describe it's usage

8 years agoskeleton: added two more comments
Holger Schurig [Fri, 26 Mar 2010 12:50:16 +0000 (13:50 +0100)]
skeleton: added two more comments

9 years agogoogle_sitemap: generate valid XML ;-/
Holger Schurig [Fri, 26 Jun 2009 21:45:03 +0000 (23:45 +0200)]
google_sitemap: generate valid XML ;-/

9 years agowebber: ./webber -v warns now about common mistakes
Holger Schurig [Fri, 26 Jun 2009 14:59:38 +0000 (16:59 +0200)]
webber: ./webber -v warns now about common mistakes

9 years agodoc: misc fixes to page creation time ("ctime: "), which was after
Holger Schurig [Fri, 26 Jun 2009 13:04:25 +0000 (15:04 +0200)]
doc: misc fixes to page creation time ("ctime: "), which was after
modification time because I confused the date :-(

9 years agowebber: make sure file modification time is not earlier than
Holger Schurig [Fri, 26 Jun 2009 11:25:19 +0000 (13:25 +0200)]
webber: make sure file modification time is not earlier than
file creation time ("ctime: ")

9 years agodoc: more documentation about plugin/google_sitemap.py
Holger Schurig [Fri, 26 Jun 2009 10:12:05 +0000 (12:12 +0200)]
doc: more documentation about plugin/google_sitemap.py

9 years agolink: use URL if no text has been specified
Holger Schurig [Fri, 26 Jun 2009 10:11:41 +0000 (12:11 +0200)]
link: use URL if no text has been specified

9 years agonew plugin: google_sitemap.py, which auto-generates a sitemap.xml
Holger Schurig [Fri, 26 Jun 2009 08:20:10 +0000 (10:20 +0200)]
new plugin: google_sitemap.py, which auto-generates a sitemap.xml

9 years agodoc: move plugin documentation into plugin/ directory
Holger Schurig [Fri, 26 Jun 2009 08:02:22 +0000 (10:02 +0200)]
doc: move plugin documentation into plugin/ directory

While at it: fix typos in the "linktitle:" tags.

9 years agowebber: allow relative paths in cfg.exclude_files
Holger Schurig [Thu, 25 Jun 2009 22:14:08 +0000 (00:14 +0200)]
webber: allow relative paths in cfg.exclude_files

9 years agohierarchy: correcly sort recently-used by mtime
Holger Schurig [Thu, 25 Jun 2009 21:52:30 +0000 (23:52 +0200)]
hierarchy: correcly sort recently-used by mtime

9 years agotemplate_mako: apply cfg.input_encoding on templates as well
Holger Schurig [Thu, 25 Jun 2009 21:46:02 +0000 (23:46 +0200)]
template_mako: apply cfg.input_encoding on templates as well

This finally allows templates to contain Umlaut characters.

9 years agoread_*, webber: fix loading of files with "Umlaut" characters
Holger Schurig [Thu, 25 Jun 2009 21:44:58 +0000 (23:44 +0200)]
read_*, webber: fix loading of files with "Umlaut" characters

You cannot do some f.readline() actions and then read the rest via f.read(),
at least not not if the files aren't pure ASCII.

9 years agolink: guard against "pages" without link-titles (e.g. graphics files)
Holger Schurig [Thu, 25 Jun 2009 21:44:05 +0000 (23:44 +0200)]
link: guard against "pages" without link-titles (e.g. graphics files)

9 years agodoc: document two different style to make a sitemap
Holger Schurig [Thu, 25 Jun 2009 14:41:20 +0000 (16:41 +0200)]
doc: document two different style to make a sitemap

9 years agohistory: convert all get_XXX() functions from the history plugin so
Holger Schurig [Thu, 25 Jun 2009 14:14:22 +0000 (16:14 +0200)]
history: convert all get_XXX() functions from the history plugin so
that they don't return file.title, file.mtime, file.whatever (or a
subset of this), but instead the whole file object.

Update documentation accordingly.

9 years agodoc: fix ancestry of some pages
Holger Schurig [Thu, 25 Jun 2009 13:00:55 +0000 (15:00 +0200)]
doc: fix ancestry of some pages

9 years agohierarchy: fix ordering of menu entries
Holger Schurig [Thu, 25 Jun 2009 12:53:59 +0000 (14:53 +0200)]
hierarchy: fix ordering of menu entries

Previously the code tried to determine a new "file.order" value by
iterating over all files, looking for the highest order. It then
assigned order+100 to a file which didn't have a an order specified.

This turned out to be a flaw of thinking, because the order in which
files are is non-deterministic.

9 years agohierarchy: support for a sitemap
Holger Schurig [Wed, 24 Jun 2009 20:50:53 +0000 (22:50 +0200)]
hierarchy: support for a sitemap

Also increased level in sidemenu and sitemap for all pages below "Home".

9 years agopageformat.md: document `template:`, `description:` and `keywords:`
Holger Schurig [Wed, 24 Jun 2009 20:49:53 +0000 (22:49 +0200)]
pageformat.md: document `template:`, `description:` and `keywords:`

9 years agowebber: get_link_from(), get_time():
Holger Schurig [Wed, 24 Jun 2009 20:41:17 +0000 (22:41 +0200)]
webber: get_link_from(), get_time():

get_link_from() now access `class File` objects, not just names
introduce new function get_time()

9 years agoInitial commit
Holger Schurig [Wed, 24 Jun 2009 15:20:12 +0000 (17:20 +0200)]
Initial commit