Ask a Question related to PERL Modules, Design and Development.
-
Emmett #1
HTML::FormatText problem
Hi,
I have a curious problem with HTML::FormatText and I wonder if anybody
can help me.
I have a bunch of patent documents in a local directory from which I am
extracting the title, abstract, etc for each patent to insert into a
MySQL database. The core lines of the script where I am having problems
are:
use HTML::FormatText;
......
my $plain_page =
HTML::FormatText->new->format(parse_htmlfile($local_patent_file))
....do regex stuff with $plain_page...
This works fine - except - it seems - when the patent document contains
the string "##STR1##" which is used in the patent documents to
represent a complex formula. This seems to kill HTML::FormatText, in
other words $plain_page is undefined.
Obviously '#' is used in Perl to represent a comment but I'm surprised
if it affects HTML::FormatText is such a simple way. Maybe ##X## does
something, I honestly don't know.
If anybody had any suggestions, opinions, work-arounds or alternative
suggestions I'd be very grateful.
Thanks
Emmett
Emmett Guest
-
Html Problem
I have made this site and I'm want to make a sort of a copy but when I did past the text there was a space there shouldnt be there and I have tried... -
Problem with html tags
I need html tags in my forum pages to show up, but not to be active. I have tried to change the tags to html equivalent code using php, but still... -
Serious Stylesheet/CSS/HTML problem
Hi everyone... I've been wrangling with this problem for a while but haven't been able to figure out what's going wrong here... I have a dynamic... -
Problem playing Quicktime thru .DCR embedded in HTML - pathreferencing problem?
Greetings earthlings and Director heads. Here's the problem: created an HTML file containing shockwave (dcr) movie that calls quicktime movies in... -
PD html editor (Mac problem)
Hi Could anyone help me. I have recently developed a page which contains an HTML/WYSIWYG editor. I used the PD Online HTML Editor and found it...



Reply With Quote

