A Google calendar event has an external link in it's description field. My gcal_events ouput has tags processed into html entities (ie, < becomes <), so link tags are written out on page instead of being actual links.
I have excluded the template field from CKeditor, made sure gcal_events input format has no html filtering on it, and downgraded to SimplePie 1.1.3. I even played around with wrapping the #DESC# template in CDATA, but that was useless.
I use the php script gcal_events is based on in straight php pages with no problem, so I know it is neither the actual feed or php that is the problem, it must be a setting in Drupal. Using Drupal 6.2. Any help?

Comments

nlou’s picture

Here's my hack for getting the calendar to correctly parse html in the description: Set input format gcal_events to allow php. Go to each block, configure, and put following code in the #DESC# field: $desc= html_entity_decode('#DESC#'); echo $desc; . I believe the reason it encoding html entities is in the simplepie.inc process which pulls the feed from google and parses it, but this was an easier hack than trial and error in simplepie.

travisjbennett’s picture

I'm using the same concept for my site. It works great.

Any chance someone could add this to the dev version? I have no clue how I would go about it...
Could some think there needs to be an option for it on the block config page or something.

jdwfly’s picture

Version: 6.x-1.4 » 7.x-1.x-dev
Category: support » bug

Will look into for D7 version and back port if needed.

jdwfly’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)