On Tue, Jul 05, 2005 at 03:30:12AM +0200, Diego Sáenz wrote:
Why not to cordinate effors? What about a group to bring this feature to "official" dillo?
This is a good idea. I'm quite busy with my job, but I could contribute to such a project. As far as I know, Jorge would like to have an external viewer dpi in Dillo. Jorge: Correct me if this is wrong
That dpi must support mailcap
already in the patch
It must use file if unknown the mime type,
Currently the mime type is guessed in a_Misc_get_content_type_from_data (not part of the patch). I've added some more guesses in file.c.
but must use the mime type of the http headers if possible.
done On Tue, Jul 05, 2005 at 12:29:37PM +0200, Michael Kropfberger wrote:
1) temp files are called eg. /tmp/dilozxqw34, so the extension is lost, which is problematic to some external programs
If an external program needs a certain extension, it can set the "nametemplate" field as defined in RFC 1524. Example: application/pdf; /usr/bin/xpdf '%s'; \ test=test -n "$DISPLAY; nametemplate=%s.pdf The current patch implements this.
2) this creation of an extra copy temp file makes it unusable on handhelds, either memory- and performace-wise
This might indeed be a problem. (Note: I'm away for the next couple of days.) All the best, -- Matthias Franz