
stas at stason
Dec 30, 2001, 9:47 PM
Post #7 of 7
(1109 views)
Permalink
|
|
Re: a new local download widget next to TOC
[In reply to]
|
|
Thomas Klausner wrote: > Hi! > > On Fri, Dec 28, 2001 at 11:37:56AM -0000, Jonathan M. Hollin wrote: > >>:: - not sure whether to use some small icons to indicate >>:: PDF/SRC/etc, >>:: but I do want to specify the file size. So suggestions are welcome. >> > I'd go for small Icons (PNG) plus file size PNG? What about browsers that don't support PNG or crash when they see one? Netscape 4 comes to mind. (not sure which versions) >>:: - if you agree with me that this is the right location, I think we >>:: have no choice but use a table here. >> > There are uses for tables, after all :-> > > Have you allready done some DocSet-thing to make this widget? If I got it > right, then this widget should only be displayed if the src is a POD file? > How can you detect this with DocSet/TT ? It's going to happen in two passes, first generate HTMLs than PDFs than scan HTML pages for <!-- PDF link --> and see if there is a corresponding PDF file. If there is this <!-- --> gets replaced with a link to a file and its size, if not it just gets removed. So for now. Just put into a template a hardcoded widget with a link to whatever and whichever size. Once the widget looks the way we want we <!-- --> it. WHen the feature is implmented this will just start working. > BTW, maybe we could use some sort of filename/path checking to relace the > title on the first page ("Home") with something more meaningful ("welcome to > mod_perl"..). The hack I tried (replacing "Home" with something else in all > files) did't really work out, because obviously "Home" is used in some other > documents... I think this can be solved on the source level. In the config files, we simply provide two titles. One normal title for a page display and another shorter/different version for navigation bar. But I've heard many people didn't like 'Welcome to mod_perl' as a title for the front page. Should it be 'Welcome to World Domination HQ'? :) _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:stas [at] stason http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: docs-dev-unsubscribe [at] perl For additional commands, e-mail: docs-dev-help [at] perl
|