# HG changeset patch # User Jeff Hammel # Date 1366098331 25200 # Node ID 5330cd62e17958f388ccf49cdac1e35315e7125b # Parent ebf3d3c39cb78c0ba6c258bbfeba270bad87b2bf something about hash marks in filenames diff -r ebf3d3c39cb7 -r 5330cd62e179 README.txt --- a/README.txt Tue Apr 16 00:16:03 2013 -0700 +++ b/README.txt Tue Apr 16 00:45:31 2013 -0700 @@ -4,14 +4,13 @@ what is it? ----------- -decoupage is a static file server that allows for index pages +`decoupage` is a *dynamic* file server that allows for index pages configurable with genshi templates and .ini files. I mainly wrote it because i was tired of using apache for serving my website and generating index.html files by hand. Decoupage provides views into the filesystem. - how do i use it? ---------------- @@ -84,7 +83,7 @@ 'title', per file Arguments: * separator: what separator to use (':' by default) - + describe: obtain the description from the filename the file extension (if any) will be dropped and diff -r ebf3d3c39cb7 -r 5330cd62e179 decoupage/web.py --- a/decoupage/web.py Tue Apr 16 00:16:03 2013 -0700 +++ b/decoupage/web.py Tue Apr 16 00:45:31 2013 -0700 @@ -2,6 +2,14 @@ decoupage: a view with webob to index and serve static content """ +# TODO: +# files like `index.ini` +# -> http://k0s.org/portfolio/ideas/#index.ini# +# +# oops. Handle it better +# - either # is a magic hide character +# - or you urlescape that guy + import os import sys