changeset 78:5330cd62e179

something about hash marks in filenames
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 16 Apr 2013 00:45:31 -0700
parents ebf3d3c39cb7
children a8a74f6bcf93
files README.txt decoupage/web.py
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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