[sane-devel] New program for generating HTML lists from backend description files
Tue, 9 Jul 2002 12:16:40 +0200
On Tue, Jul 09, 2002 at 12:02:44AM +0200, Oliver Schwartz wrote:
> while adapting snapscan.desc to the new syntax I found that the template.desc
> ; :comment and :url specifiers are optional after :mfg, :model, :desc,
> ; and at the top-level.
> However, adding a :comment at top level (i.e. comment on backend) won't
> produce any output in either HTML file.
True. I didn't want to add yet another column. What could be done is a
backends page similar to the manufacturers page. That means:
backend name, version, new
table of supported models
Maybe I will add this as --html-split-backends or similar.
> Another feature request: Some manufactures change their name rather ofter or
> get bought by other manufacturers (e.g. Vuego becomes Acer, Acer becomes
> Benq). My idea was to supply an entry
> :manufacturer "Acer"
> :comment "See Benq"
> without any scanner models following.
> This will produce an empty table consisting only of the table header in
> html-mfg mode. I think it'd be better if no table at all is generated.
That one was easy.
> In html-backends mode the entry is lost completely.
Yes. No models -> no entry. I will think about dispalying the
manufacturers comment in this case.
> In a perfect world it'd be possible to supply links within the page (i.e. from
> one entry (mfg, scanner) to another), but maybe that can wait until release
That's already possible for manufacturers on the manufacturers page.
:mfg "aaabbb manufacturer"
:comment "See <a href=\"#AAA-MANUFACTURER\">aaa manufacturer</a>"