0.11_09 commit
[bse.git] / site / docs / TODO.pod
CommitLineData
8e7ddee5
TC
1=head1 NAME
2
3TODO - possible changes for BSE
4
5=head1 DESCRIPTION
6
7This is a simple list of possible changes to BSE.
8
99ef7979
TC
9Some of these I'll do myself.
10
8e7ddee5
TC
11=over
12
13=item *
14
99ef7979
TC
15add some sort of id to be used to identify articles (rather than
16numbers) for use in templates. Possibly they could automatically be
17added as tag names too. So if shop were defined as article 3, then
18you could do:
19
20 <a href="<:url shop:>"><:shop title:></a>
21
22to get a shop link instead of:
23
24 <a href="/shop/">The blah blah Shop</a>
25
26since the first would be more maintainable. This could be useful for
27other special articles.
8e7ddee5
TC
28
29=item *
30
2bb0da7f 31article defaults based on parent article id
8e7ddee5
TC
32
33=item *
34
2bb0da7f
TC
35the ability to have the child iterator iterate over the children of a
36given article, rather than having to embed the article with a special
37template
38
39<:iterator begin children parentid:>... <:iterator end children:>
8e7ddee5 40
c09c966d
TC
41=item *
42
99ef7979
TC
43use a proper config file - this is getting more important
44
45=item *
46
47automated way of updating the links for articles that include $SECURLBASE
48
49=item *
50
51move RSS template out of common (this has some other issues though)
52
53=item *
54
55some way of showing expired/hidden articles in browse mode
56
57=item *
58
59support for other embedable 'image' types such as flash and quicktime.
60
61Preferably this would be extendable. We need some way to get size
62information too (entry from the user I suppose, this could also be
63used to override image sizes.)
c09c966d
TC
64
65=item *
66
99ef7979 67move most of the shop.pl code into modules to make it more accessible
33bccea7
TC
68from other scripts (especially for custom card payment.) The first
69steps towards this have been made, see BSE::Util::Shop. The shop.pl
70code will be modified to use these functions.
c09c966d 71
30fa39f5
TC
72=item *
73
74make the shopadmin product list better. The nested catalog display
33bccea7
TC
75sucks, especially in Netscape. Some possible options:
76
77=over
78
79=item *
80
81make it act like some tree controls - with expanding and unexpanding
82subtrees
83
84=item *
85
86we have a mix of buttons and links, maybe they should all be links
87
88=item *
89
90sometimes the tree structure isn't clear - either some way of
91presenting lines making the tree, or some other method, like nested
92boxes (using tables?) to show the tree structure.
93
94=back
95
96=item *
97
98better handling of title images? the ability to call a generator function
99or script? (cool use for Imager. :)
30fa39f5 100
342d1d4b
TC
101=item *
102
103some form of error handling that deals well with IIS' broken handling
104of STDERR. Sometimes it seems to drop it, sometimes it seems to write
105it to the web page.
106
33bccea7
TC
107This is especially a problem for errors in the mail sending code,
108since these can fail when an invalid address is supplied.
109
342d1d4b
TC
110=item *
111
112document the body tags
113
997d3331
TC
114=item *
115
116more general access to the date tag from the search page (maybe with
117more formatting options)
118
119=item *
120
121a central image repository, so images can be shared between articles
122
41fd1a57
TC
123=item *
124
125table editor
126
127=item *
128
129change makeIndex.pl to avoid overflowing the fields
130
131=item *
132
133add a test suite
134
3bc94f98
TC
135=item *
136
137level parameter to add.pl isn't checked for validity
138
8e7ddee5
TC
139=back
140
342d1d4b 141=cut