ratt-ru / purr

Data reduction logging tool, Useful for remembering reductions
GNU General Public License v2.0
1 stars 1 forks source link

Need option to generate multiple-page logs #14

Closed gijzelaerr closed 10 years ago

gijzelaerr commented 10 years ago
at 2009-10-31 00:47:02 Oleg Smirnov reported:

Need option to generate multiple-page logs

gijzelaerr commented 10 years ago

Original comment thread migrated from bugzilla

at 2009-10-31 00:47:02 Oleg Smirnov replied:

Long purrlogs can lead to monstrous index.html files. It would be nice if an alternative index existed which just gave a listing of the entries (i.e. TOC), and each entry page was supplied with a Prev/Next button.

The long index.htmol is still needed for printable versions, so need to keep generating it. Perhaps make a TOC index.html by default, with a "Single HTML page" link at the top? Or automatically switch to TOC format after a certain number of entries (say, 5?)

at 2009-10-31 00:47:47 Oleg Smirnov replied:

Marking this R1.1 for now, though I'm ready to drop it from release if time runs short.

at 2009-11-05 23:38:04 Oleg Smirnov replied:

In principle this is implemented as of r7331.

One minor niggle are Next/Prev links in entry pages. Specifically, since the "Next" entry doesn't yet exist whenever a new entry is saved, it's impossible to make a "Next" link properly. On the other hand, going back and regenerating the previous entry whenever a new one is added seems wasteful, but maybe that's the way I should do it.

at 2009-11-06 00:38:26 Oleg Smirnov replied:

Oops, forgot to svn add a file. Really works as of r7336. Also added proper generation of Prev/Next link (see previous comment). Closing bug.