all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Linking Emacs with libxml2
@ 2010-09-06 15:21 Lars Magne Ingebrigtsen
  2010-09-06 15:54 ` Wojciech Meyer
                   ` (4 more replies)
  0 siblings, 5 replies; 70+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-06 15:21 UTC (permalink / raw)
  To: emacs-devel

Apparently libxml2 comes with a parser for "real world" HTML, which is
very intriguing:

http://www.xmlsoft.org/html/libxml-HTMLparser.html

If Emacs provided a native interface to this function, we could say

(parse-html "file.html")
=> (:html (:head ...) (:body ...))

and get a nice parse tree out very fast.  (Parsing HTML from Emacs Lisp
is rather slow.)

Has this been discussed before and rejected?  It seems like an obvious
idea, and would enable both easier extraction of data from HTML files,
as well as writing a (simple) HTML renderer in Emacs Lisp.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 70+ messages in thread

end of thread, other threads:[~2010-09-15 15:52 UTC | newest]

Thread overview: 70+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-06 15:21 Linking Emacs with libxml2 Lars Magne Ingebrigtsen
2010-09-06 15:54 ` Wojciech Meyer
2010-09-06 18:26 ` Chad Brown
2010-09-06 21:01   ` Lars Magne Ingebrigtsen
2010-09-06 18:44 ` Lennart Borgman
2010-09-06 18:56   ` Chad Brown
2010-09-06 19:08     ` Chong Yidong
2010-09-06 19:17     ` joakim
2010-09-07  0:36       ` Jason Rumney
2010-09-07  0:58         ` Lars Magne Ingebrigtsen
2010-09-08 14:10           ` Lars Magne Ingebrigtsen
2010-09-08 14:25             ` Andreas Schwab
2010-09-08 14:40             ` Stefan Monnier
2010-09-08 15:16               ` Lars Magne Ingebrigtsen
2010-09-08 16:15                 ` Lars Magne Ingebrigtsen
2010-09-08 18:17                   ` joakim
2010-09-08 18:19                     ` Lars Magne Ingebrigtsen
2010-09-08 19:10                   ` Andreas Schwab
2010-09-08 20:11                     ` Lars Magne Ingebrigtsen
2010-09-08 20:30                       ` Lars Magne Ingebrigtsen
2010-09-08 20:58                         ` Lars Magne Ingebrigtsen
2010-09-08 21:51                           ` Andreas Schwab
2010-09-08 21:54                             ` Lars Magne Ingebrigtsen
2010-09-09 17:00                             ` Stefan Monnier
2010-09-09 21:56                               ` Lars Magne Ingebrigtsen
2010-09-09 22:28                                 ` Stefan Monnier
2010-09-09 22:37                                   ` Lars Magne Ingebrigtsen
2010-09-10  8:14                                     ` Andreas Schwab
2010-09-10 10:46                                       ` Stefan Monnier
2010-09-10 10:56                                         ` Lars Magne Ingebrigtsen
2010-09-10 12:37                                           ` Lars Magne Ingebrigtsen
2010-09-10 16:47                                             ` Lars Magne Ingebrigtsen
2010-09-10 16:54                                               ` Lars Magne Ingebrigtsen
2010-09-10 17:05                                                 ` Ted Zlatanov
2010-09-10 17:14                                                   ` Lars Magne Ingebrigtsen
2010-09-10 17:34                                                 ` Glenn Morris
2010-09-10 17:41                                                   ` Glenn Morris
2010-09-10 17:44                                                     ` Lars Magne Ingebrigtsen
2010-09-10 18:39                                                       ` Ted Zlatanov
2010-09-12 16:56                                                       ` Andreas Schwab
2010-09-12 17:05                                                         ` Lars Magne Ingebrigtsen
2010-09-10 21:12                                               ` Chad Brown
2010-09-10 21:40                                                 ` Lars Magne Ingebrigtsen
2010-09-10 22:45                                                   ` chad
2010-09-10 23:19                                                     ` Lars Magne Ingebrigtsen
2010-09-11  7:18                                                       ` Andreas Schwab
2010-09-11 12:48                                                         ` Lars Magne Ingebrigtsen
2010-09-13 18:37                                                 ` Leo
2010-09-13 18:49                                                   ` Lars Magne Ingebrigtsen
2010-09-13 19:08                                                     ` Leo
2010-09-13 19:16                                                   ` Chad Brown
2010-09-13 19:23                                                     ` Chad Brown
2010-09-13 22:24                                                     ` Leo
2010-09-13 16:06                                               ` Christian Faulhammer
2010-09-10 11:37                                         ` Andreas Schwab
2010-09-10 14:12                                         ` Andrew W. Nosenko
2010-09-09  8:35                           ` Christian Faulhammer
2010-09-09 10:33                             ` Lars Magne Ingebrigtsen
2010-09-09 11:07                               ` Christian Faulhammer
2010-09-09 11:09                                 ` Lars Magne Ingebrigtsen
2010-09-06 19:19 ` Chong Yidong
2010-09-06 21:03   ` Lars Magne Ingebrigtsen
2010-09-15  0:55   ` Eric M. Ludlam
2010-09-15 15:52     ` Ted Zlatanov
2010-09-06 21:08 ` Stefan Monnier
2010-09-06 21:17   ` Lars Magne Ingebrigtsen
2010-09-06 21:30     ` joakim
2010-09-07  1:40     ` Chad Brown
2010-09-07  1:47       ` Lars Magne Ingebrigtsen
2010-09-06 21:18   ` Lennart Borgman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.