Hi Frank,

Thanks for the information ! The code currently doesn't support the DOCTYPE header (I'll add it asap), but should work with other XML. Are you running on Ubuntu ? How did you install the plugin ? My friend compiles it, but even if the so was into the ~/.config/geany/plugins folder, he couldn't see it in Plugin Manager...

Kind regards,
Cedric

On Sat, Aug 8, 2009 at 12:43 PM, Frank Lanitz <frank@frank.uvena.de> wrote:
On Sat, 8 Aug 2009 00:43:04 +0200
Cédric Tabin <tabin.cedric@gmail.com> wrote:

> Hello,
>
> Here is the full code of my plugin and the script I use to create
> the .so file. Let me know if someone can run it on another platform
> instead of Gentoo.

It compiles here, butr not running much (see below)

> Some feedback would be also really appreciated :-)

When calling the plugin function, Geany is closing here formating HTML
code:

Starting program: /home/frank/local/bin/geany
[Thread debugging using libthread_db enabled]
processElements : Invalid char 'D' afer '<!'
===== INPUT =====
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head><title>unbenannt</title><meta http-equiv="content-type"
content="text/html;charset=utf-8" /><meta name="generator"
content="Geany 0.18" /> </head><body></body></html>

=================
inputLength = 355
inputIndex = 0
outputLength = 355
outputIndex = 0

Program exited with code 0376.

Thanks,

_______________________________________________
Geany-devel mailing list
Geany-devel@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel