Skip Menu |

This queue is for tickets about the XML-RSS-JavaScript CPAN distribution.

Report information
The Basics
Id: 24146
Status: resolved
Priority: 0/
Queue: XML-RSS-JavaScript

People
Owner: Nobody in particular
Requestors: gee.24 [...] osu.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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/
Subject: Re: [rt.cpan.org #24146]
Date: Fri, 29 Dec 2006 14:39:15 -0500
To: bug-XML-RSS-JavaScript [...] rt.cpan.org
From: Michael Gee <gee.24 [...] osu.edu>
I forgot to mention that the raw xml contained the correct xml entities. They were being decoded at some point.
Download smime.p7s
application/pkcs7-signature 2.3k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #24146]
Date: Mon, 22 Jan 2007 23:07:53 -0400
To: bug-XML-RSS-JavaScript [...] rt.cpan.org
From: "Brian Cassidy" <brian.cassidy [...] gmail.com>
Hi Michael, On 12/29/06, Michael Gee via RT <bug-XML-RSS-JavaScript@rt.cpan.org> wrote: Show quoted text
> > Queue: XML-RSS-JavaScript > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=24146 > > > I forgot to mention that the raw xml contained the correct xml > entities. They were being decoded at some point.
I've fixed up the javascript output by calling $self->_encode( ... ) on titles, links and descriptions. Version 0.60 should appear on CPAN soon. Sorry for the delay. -Brian