Comment 1 for bug 281373

Revision history for this message
Hank Bromley (hank-archive) wrote :

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) {
    fprintf($fh, "<a href=\"http://www.us.archive.org/metamgr?&srt=updated&ord=desc&w_identifier=".$identifiers."&fs_identifier=on&fs_mediatype=on&fs_format=on&fs_imagecount=on&fs_scandate=on&fs_scanner=on&fs_scancenter=on&fs_operator=on&fs_curatestate=on&fs_curatenote=on&fs_size=on&off=0&lim=25\">metamgr</a>");
  } else {
    fprintf($fh, '<form name="dbqForm" method="post" action="/metamgr"><input class="filterBox" type="hidden" name="w_identifier" value="'.$identifiers.'"><input class="filterBtn" type="submit" name="f" value="metamgr"/></form>');
  }