|
![]() |
![]()
nextPrev broken |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
Userland Radio & Frontier: fixing nextPrev errors
Monday 20 June 2005
One of the most persistent vexations of using Userland Frontier (and now Radio) is that the nextPrev model is broken, broken, broken. I've been asking for this to be fixed since at least early 2000, but it never makes it up the priority list (despite Dave Winer's sweet talk about moving to a user subscription model resulting in more frequent bug-fixes).
Since I can't fix Dave I can fix the bugs. So here goes; one at a time. Note: this has been tested on exactly one machine: mine. Please backup your database and the relevant functions before replacing them.
system.verbs.builtins.html.nextPrev.buildOutline
traverses the [sub]tree specified, adding entries for each of your pages and recursing through subsequent subtrees. Wonderful.
It also stupidly adds entries for defaultFileName (canonically index.html). This is freakishly vexing.
After you build a nextPrev list you have to root through it, deleting spurious entries (but mindfully keeping entries which do exist). Rename your existing buildOutline() and then download and double-click nextPrev.buildOutline.zip to fix this generation error. Note: if you expect the defaultFileName to always be first in the visit order you'll need to manually drag that line to the first location for each [sub]tree. Still, it's better than having to find all the spurious ones.
Outstanding errors to be fixed:
["hardDisk:Users:mickey:web:GeekTimes.root"].
to the beginning of each nextPrevs line. I may try to code a fix.
|
This page is part of the Userland Frontier WebRing. | ![]() |
List all this webring's pages; visit another page; add your page to this webring. |
Have you found errors nontrivial or marginal, factual, analytical and illogical, arithmetical, temporal, or even typographical? Please let me know; drop me email. Thanks! |