From: Lars Magne Ingebrigtsen Date: Sat, 2 Oct 2010 02:30:30 +0000 (+0200) Subject: Added shr.el. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=43de9c6fe344a3075129ef8fee230f67a4cd17a1 Added shr.el. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 20ccfed5f..e1e08e133 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2010-10-02 Lars Magne Ingebrigtsen + * shr.el: New file. + * gnus-html.el (gnus-html-schedule-image-fetching): Be silent. * gnus-topic.el (gnus-topic-move-group): Fix the syntax of the diff --git a/lisp/shr.el b/lisp/shr.el new file mode 100644 index 000000000..407c253ef --- /dev/null +++ b/lisp/shr.el @@ -0,0 +1,35 @@ +;;; shr.el --- Simple HTML Renderer + +;; Copyright (C) 2010 Free Software Foundation, Inc. + +;; Author: Lars Magne Ingebrigtsen +;; Keywords: html + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs. If not, see . + +;;; Commentary: + +;; This package takes a HTML parse tree (as provided by +;; libxml-parse-html-region) and renders it in the current buffer. It +;; does not do CSS, JavaScript or anything advanced: It's geared +;; towards rendering typical short snippets of HTML, like what you'd +;; find in HTML email and the like. + +;;; Code: + +(provice 'shr) + +;;; shr.el ends here