Things that still need doing to todo2html
- Implement some options
We need a little more control over the options. Here are the ones
I intend to add:
- Remove HTML
At the moment, HTML tags in the TODO are automatically made impotent
by swapping all & characters to "&" and all < characters to
"<", their HTML symbol codes. This will probably need to be
extended to include HTML comments, but we will also need to be
able to turn this off, with "--nostriphtml" for example.
- Formatting options
These have been moved to a major item, below.
- Title
Something like "--title="
- Heading
Like title, but inserts a H1 tag at the top. --heading=jhsdjk
- Key
An option like "--showkey" that shows what colours mean.
- Formatting options
- Style sheet inclusion
"--cssinsert=" to insert the style info from a given file, and
- Style sheet linking
"--csslink=" to point to an external css file.
- Provide some feedback on completed items
Ideally, we want some way to show completed items. Probably just
make the first word in the heading "DONE!". Also should work for
subitems.
- Basic highlighting
Just colors done things green and pending things red
- Advanced Highlighting
Instead of having to mark all subitems done, as well as the top
level item, marking the top level item should mark the subitems
too.
- Auto-off
If a stylesheet is provided, this should not provide it's own
style.
- Tag stripping
An option should be provided for stripping DONE! tags from the
final html document.
- Allow exclusion of done/pending items
- Exclude done items
Most useful.
- Exclude pending items
Not so useful, but worth having
- Write useful docs
Including proper useage message, help that explains the format of the
file and a man page.
- Write in some proper checks for the interpreter version.
Some things don't work properly in older versions of python. Need
to make these work, rather than cutting out.
- True and false are not found in versions before 2.2.1
This can be sorted easily, by setting True=1, False=2 in
specific versions
- file("filename",options) isn't in 2.1.3
This might be a problem for other versions, open() doesn't work
in quite the same way.