I've now created a file called get_search_as_spreadsheet.php, which currently just contains a mini-csv file. Used this to test that the mime-type is working as expected; the data is indeed recognized as a spreadsheet and opened by OpenOffice. Now we have to write the actual output for the spreadsheet, as a method of MdhRecordList
.