opening repub state 4 items fails if too many
Bug #281373 reported by
danh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Microfilm |
New
|
Undecided
|
Unassigned |
Bug Description
Angela W reports that if there are too many repub state 4 items
in the open book factory, when you try to open them in
metamgr you get a complaint that the URL is too long.
(In her case, there were 787 such items.)
She's right (i.e., i confirmed it), so i plan to test the number
of items and have the OBF make multiple links if it is
greater than some constant (which we'll try to tune
somehow). {The real deal is the length of the URL,
so an ideal solution would estimate this somehow,
but it's easier just to do something crude like open
only the first 200 in the metamgr, or something like
that.}
Anybody with a contrary solution please post it.
To post a comment you must log in.
Here's an alternative. (I have no strong sense as to whether it's better or worse than the initial proposal - just offering it for consideration.)
The redrow script limits the length of metamgr query urls by using a POST request rather than GET when the query contains more than 200 identifiers. Here's the relevant code:
if ($count<200) { www.us. archive. org/metamgr? &srt=updated& ord=desc& w_identifier=".$identifiers. "&fs_identifier =on&fs_ mediatype= on&fs_format= on&fs_imagecoun t=on&fs_ scandate= on&fs_scanner= on&fs_scancente r=on&fs_ operator= on&fs_curatesta te=on&fs_ curatenote= on&fs_size= on&off= 0&lim=25\ ">metamgr< /a>"); "/metamgr" ><input class="filterBox" type="hidden" name="w_identifier" value=" '.$identifiers. '"><input class="filterBtn" type="submit" name="f" value=" metamgr" /></form> ');
fprintf($fh, "<a href=\"http://
} else {
fprintf($fh, '<form name="dbqForm" method="post" action=
}