I have a site that has been using AJW Feedparser to embed an xml feed for months without problems, but has recently stopped working.

If I open the cache file, the feed info is there, but it is no longer being parsed in my EE template.

I tried setting the item path parameter to channel/item but it didn't make a difference. Is there some other parameter I'm missing?

My template code:

        <td class="four">
            <p class="meta">{event_start} {if event_end != event_start} - {event_end}{/if}</p>
        <td class="eight">
    <h3 class="title zeta"><a href="{link}" title="More Information">{title}</a></h3>

My feed code:

<?xml version="1.0" encoding="US-ASCII" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <atom:link href="feed url" rel="self" type="application/rss+xml" />
        <title>Event Title</title>
        <description>Event Description</description>
        <link>Event URL</link>

EDIT: It appears that the plugin is choking on some ascii characters in the feed. I don't have access to change the feed's encoding. Is there a way to get the plugin to handle the ascii characters?


I've had this problem too. The 'proper' solution is to ensure that the feed's fields are wrapped with CDATA markers, but that might not be possible in all circumstances.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.