> What would be useful is a feature to specify which file types should
> be saved, like HTML + CSS + JS. This could be specified by either the
> file extension or MIME type.
If I understand you correctly, you want to exclude certain filetypes
(e.g. images) to be saved. IMHO it isn't shelve's task to deal with
the actual saving of a document to disk. What shelve does is figuring
out a useful filename and then calling some function that does the
actual work. This approach works quite well, e.g., in conjunction with
the MAFF plugin. If it installed, users can save webpages also in
mhtml or maf format.
If an addon were available that implements this feature and which
implements an API that is available for other addons, I'd probably try
to make this feature available from shelve. I don't think though I
will implement it myself.
IMHO shelve is more or less feature-complete. The only thing I
personally miss is the ability to save pages as pdf or maybe to print
them (e.g. via the pdf printer) in addition or instead of to saving
them to disk.