On 28/02/2012 02:46, Webley Silvernail wrote:
From: Shlomi Fish
>
For more information see:
http://perl-begin.org/tutorials/bad-elements/
Regards,
Shlomi Fish
Hi, Shlomi -
Thanks for the advice and the link. I appreciate it.
Webley
Webley you should be aware that Shlomi is referrin
Hi, Shlomi -
Thanks for the advice and the link. I appreciate it.
Webley
- Original Message -
From: Shlomi Fish
To: Webley Silvernail
Cc: Rob Dixon ; "beginners@perl.org"
Sent: Friday, February 24, 2012 12:36 PM
Subject: Re: Encoding angle brackets in HTML text nodes
Hi W
On 2012-02-24 03:01, Webley Silvernail wrote:
open IN, "$html_file" || die "Can't open input: $!";
Yuck! And that will only die if "$html_file" is "" or "0".
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://lear
Hi Webley,
On Thu, 23 Feb 2012 18:01:11 -0800 (PST)
Webley Silvernail wrote:
> --Snipped the previous posts as well as some of the redundant bits from
> below.--
>
>
> >Hello Webley. See my comments below.
> >>snip
> >They are very different:
> >
> > my $root = HTML::TreeBuilder->new_from_co
--Snipped the previous posts as well as some of the redundant bits from below.--
>Hello Webley. See my comments below.
>>snip
>They are very different:
>
> my $root = HTML::TreeBuilder->new_from_content($content)
>
>is the same as
>
> my $root = HTML::TreeBuilder->new;
> $root->parse($conten
On 23/02/2012 00:59, Webley Silvernail wrote:
>>
>> I have an HTML page that is updated automatically each day. I am
>> using HTML::TreeBuilder to create and insert the new content.
>>
>> Most of the time, this works fine, but I've hit a snag when existing
>> text nodes on the page includes a
On 24/02/2012 00:17, Webley Silvernail wrote:
On 23/02/2012 00:59, Webley Silvernail wrote:
Hey Webley
Approach II is the correct one. The problem is with the way you are
adding your new content, which is presumably as a text string (in which
case HTML::Element is correct to render it as text!
On 23/02/2012 00:59, Webley Silvernail wrote:
I have an HTML page that is updated automatically each day. I am
using HTML::TreeBuilder to create and insert the new content.
Most of the time, this works fine, but I've hit a snag when existing
text nodes on the page includes a gt or lt symbol.
I have an HTML page that is updated automatically each day. I am using
HTML::TreeBuilder to create and insert the new content.
Most of the time, this works fine, but I've hit a snag when existing text nodes
on the page includes a gt or lt symbol.
For example, I might have an existing element o