Re: [opennms-devel] Getting around HTML Encoding?

Johan Edstrom <[email protected]> Wed, 6 May 2009 11:11:11 -0600
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
--===============2798947085011801140==
Content-Type: multipart/alternative; boundary=Apple-Mail-24--817816949


--Apple-Mail-24--817816949
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Regexp, nekohtml, tagsoup or some such?


On May 5, 2009, at 10:30 PM, Aaron Paxson wrote:

> Guys,
>
> I just finished my ticketer plugin for AdventNet.  It's working great.
> However, when AdventNet gets the description of the ticket, it
> encodes all the HTML code.
>
> I.e. <td>stuff</td> turns into &lt;td&gt;stuff&lt;/td&gt;
>
> Is there a way I can "trick" this in order to display HTML tags as
> they should be?
>
> --  
> Aaron J. Paxson
> ---------
> [email protected]
> http://aaron.thepaxson5.org
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances!  
> Your
> production scanning environment may not be a perfect world - but  
> thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW  
> KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-devel mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom  
> of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel

Johan Edstrom

[email protected]

They that can give up essential liberty to purchase a little temporary  
safety, deserve neither liberty nor safety.

Benjamin Franklin, Historical Review of Pennsylvania, 1759






--Apple-Mail-24--817816949
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Regexp, nekohtml, tagsoup or =
some such?<div><br></div><div><br><div><div>On May 5, 2009, at 10:30 PM, =
Aaron Paxson wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div>Guys,<br><br>I just finished my ticketer plugin for =
AdventNet. &nbsp;It's working great.<br> However, when AdventNet gets =
the description of the ticket, it<br>encodes all the HTML =
code.<br><br>I.e. &lt;td>stuff&lt;/td> turns into =
&amp;lt;td&amp;gt;stuff&amp;lt;/td&amp;gt;<br><br>Is there a way I can =
"trick" this in order to display HTML tags as<br>they should =
be?<br><br>-- <br>Aaron J. Paxson<br>---------<br><a =
href=3D"mailto:[email protected]">[email protected]</a><br>http:=
//aaron.thepaxson5.org<br><br>--------------------------------------------=
----------------------------------<br>The NEW KODAK i700 Series Scanners =
deliver under ANY circumstances! Your<br>production scanning environment =
may not be a perfect world - but thanks to<br>Kodak, there's a perfect =
scanner to get the job done! With the NEW KODAK i700<br>Series Scanner =
you'll get full speed at 300 dpi even with all image <br>processing =
features enabled. =
http://p.sf.net/sfu/kodak-com<br>_________________________________________=
______<br>Please read the OpenNMS Mailing List =
FAQ:<br>http://www.opennms.org/index.php/Mailing_List_FAQ<br><br>opennms-d=
evel mailing list<br><br>To *unsubscribe* or change your subscription =
options, see the bottom of this =
page:<br>https://lists.sourceforge.net/lists/listinfo/opennms-devel<br></d=
iv></blockquote></div><br><div apple-content-edited=3D"true"> <span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div>Johan Edstrom</div><div><br></div><div><a =
href=3D"mailto:[email protected]">[email protected]</a></div><div><br></div>=
<div><span class=3D"Apple-style-span" style=3D"font-family: Arial; =
font-size: 13px; -webkit-border-horizontal-spacing: 5px; =
-webkit-border-vertical-spacing: 5px; "><p style=3D"font-family: Arial, =
Helvetica, sans-serif; font-size: 10pt; ">They that can give up =
essential liberty to purchase a little temporary safety, deserve neither =
liberty nor safety.</p><div align=3D"RIGHT">Benjamin Franklin, =
Historical Review of Pennsylvania, =
1759</div></span></div><div><br></div></div></span><br =
class=3D"Apple-interchange-newline"></div></span><br =
class=3D"Apple-interchange-newline"></div></span><br =
class=3D"Apple-interchange-newline"> </div><br></div></body></html>=

--Apple-Mail-24--817816949--


--===============2798947085011801140==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
--===============2798947085011801140==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
--===============2798947085011801140==--