Subject: | html entities in XML::RSS::JavaScript |
Date: | Fri, 29 Dec 2006 14:24:17 -0500 |
To: | bug-XML-RSS-JavaScript [...] rt.cpan.org |
From: | Michael Gee <gee.24 [...] osu.edu> |
XML::RSS::JavaScript maintainers:
I was having a problem with character entities using your module with
the New York Times science newsfeed at:
http://www.nytimes.com/services/xml/rss/nyt/Science.xml
I fixed the problem locally by adding a couple calls to
HTML::Entities::encode_entities in your as_javascript method.
I encoded the entities in the $title and $desc strings before they are
used to construct the javascript.
The issue I was having may very well be due to something outside your
code, but I found the easiest solution was to modify your code. So,
that is the end of my investigation.
Thanks for a great module.
--
Michael Gee
Learning Technology Developer
Center for Life Sciences Education
The Ohio State University
4056 Smith Laboratory
174 W. 18th Ave.
Columbus, OH 43210
Voice: (614) 247-6576
Fax: (614) 292-4390
http://biology.osu.edu/