]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by http://madduck.net/
authorJoey Hess <joey@kitenet.net>
Sat, 10 May 2008 18:15:23 +0000 (14:15 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 10 May 2008 18:15:23 +0000 (14:15 -0400)
doc/todo/more_customisable_titlepage_function.mdwn

index 46f7f6a2aabef5c773b50e34d06dd6d5e94215a1..eb1d624489fdd4cbe3eb687e64739a2f1bbcea32 100644 (file)
@@ -2,10 +2,12 @@ I understand the `IkiWiki::titlepage` function is used to generate filenames fro
 
 I imagine two things: a lookup hash and a template.
 
-Since `IkiWiki::titlepage` basically translates characters, it would be cool to be able to define a lookup hash in the configuration, which would be consulted before falling back to the generic `__xx__` `ord()` representation of a letter. For instance, in German, I might prefer to have 'ä' become 'ae' instead of something illegible.
+Since `IkiWiki::titlepage` basically translates characters, it would be cool to be able to define a lookup hash in the configuration, which would be consulted before falling back to the generic `__xx__` `ord()` representation of a letter. For instance, in German, I might prefer to have 'Ã\83Â\83Ã\82¤' become 'ae' instead of something illegible.
 
 Second, maybe a template could be honoured. The template could have a slot `%s` where the calculated title goes, and it could contain `strftime` symbols as well as variables, which get interpolated on use.
 
+Another option would be a function I could define in the setup file, or an external script, though that would be pretty expensive.
+
 -- [[madduck]]
 
 [[wishlist]]