On 07/08/13 06:55, Daniel Lescohier wrote: > output_directories seems html-specific code. Why not implement a > brand-new output_directories_json, and have index_directories() > function choose which function to call based on query args? Anyway, > index_directories() has to change to send the correct content-type > header, and to skip emit_head and emit_tail function calls. > > Heya,
yup, output_directories seems html specific, but I /think/ I've found a way to make it text output generic - time and tests will tell tho :) json was just one example, I'm hoping I can provide an avenue for apache configurators (rather than coders) to add the next hot thing too :) Sven