Added shr.el.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 2 Oct 2010 02:30:30 +0000 (04:30 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 2 Oct 2010 02:30:30 +0000 (04:30 +0200)
lisp/ChangeLog
lisp/shr.el [new file with mode: 0644]

index 20ccfed..e1e08e1 100644 (file)
@@ -1,5 +1,7 @@
 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * 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 (file)
index 0000000..407c253
--- /dev/null
@@ -0,0 +1,35 @@
+;;; shr.el --- Simple HTML Renderer
+
+;; Copyright (C) 2010 Free Software Foundation, Inc.
+
+;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
+;; 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 <http://www.gnu.org/licenses/>.
+
+;;; 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