[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
text/sgml content type
- From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
- Date: Fri, 29 Jul 2005 10:59:40 -0600
- X-ml-name: emacs-w3m
- X-mail-count: 08343
text/sgml is a registered media type:
http://www.iana.org/assignments/media-types/text/
http://www.ietf.org/rfc/rfc1874.txt
And since I need to access text/sgml pages on our local servers, I
suggest this patch to accept and handle text/sgml content just like
text/xml:
*** emacs-w3m-1.4.4/w3m.el Thu Mar 24 17:00:00 2005
--- emacs-w3m-1.4.4/w3m.el Fri Jul 29 10:40:41 2005
***************
*** 1017,1022 ****
--- 1017,1023 ----
(list "acroread" 'file))))))
`(("text/plain" "\\.\\(txt\\|tex\\|el\\)\\'" nil nil)
("text/html" "\\.s?html?\\'" ,external-browser nil)
+ ("text/sgml" "\\.sgml?\\'" nil "text/plain")
("text/xml" "\\.xml\\'" nil "text/plain")
("image/jpeg" "\\.jpe?g\\'" ,image-viewer nil)
("image/png" "\\.png\\'" ,image-viewer nil)
Thanks,
--
Kevin Rodgers