Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Build Detailed: What I could really use?

Quote Reply
Build Detailed: What I could really use?
Anyone know of an available mod:

I have a rather large database 5,000, and I use the build detailed, thus I have 5,000 HTML pages. Sometimes I make modifications and do not want to rebuild all 5,000 pages. Is there a way I could just have it build, say ID#3898 or I could specify to rebuild IDs 2343-2400 based on the info in the current links.db?

Any help would be greatly appreciated!
Quote Reply
Re: Build Detailed: What I could really use? In reply to
just a simple solution

http://www.gossamer-threads.com/...um3/HTML/003624.html

there are it's own share of problems though.. cause these pages are built on the fly, so if the data changes.. it will show up on the detailed page and be old on the built pages (if you haven't built)

anyways.. your way is also possible..

Code:
next if ($in{'Dstart'} && $values[0] < $in{'Dstart'});
next if ($in{'Dend'} && $values[0] > $in{'Dend'});

after

Code:
@values = &split_decode ($_);

in nph-build.cgi (build_detailed_view)

it's just a simple solution.. to use.. just add ?Dstart=1000&Dend=1250

but of course.. it will also build the "other" stuff...

i'd change

Code:
if ($use_html) {
if ($in{'staggered'}) { &build_staggered; }
else { &build_all; }
}
else { &build_all; }

to

Code:
if ($in{'Dstart'} or $in{'Dend'}) {
$nph++;
&html_print_headers() if ($use_html);
&build_detailed_view;
}
elsif ($use_html) {
if ($in{'staggered'}) { &build_staggered; }
else { &build_all; }
}
else { &build_all; }

jerry