View Issue Details

IDProjectCategoryView StatusLast Update
1726Composrcore_adminzone_dashboardpublic2014-11-28 07:16
ReporterPDStig Assigned ToGuest  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary1726: RSS and ATOM feeds do not load properly
DescriptionWhen trying to use Composr's RSS and ATOM feed functionality, the feeds do not fully load.
Steps To Reproduce1. Go to admin zone.
2. Under tools, select RSS/ATOM feeds
3. Click a feed (some do it, some don't)
4. Sometimes a feed will not load, and when doing a view page source, it shows the feed didn't load all the way.
Additional InformationHere's an example of a broken RSS feed:
**BEGIN**
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://lovinity.org/backend.php?type=xslt-rss&keep_session=1473695932" type="text/xsl"?>
<rss version="2.0">


    <channel>
        <title>the Lovinity Community: Forums</title>
        <link>http://lovinity.org</link>
        <language>EN</language>
        <copyright>Copyright the Lovinity Community 2014</copyright>
        <description>a Community of individuals supporting and loving each other in an effort to make lives better</description>
        
            <managingEditor>admin@l&#x6f;vinity.&#x6f;rg (the Lovinity Community)</managingEditor>
            <docs>http://blogs.law.harvard.edu/tech/rss</docs>
            <category>love</category>
            
        <cloud domain="lovinity.org" port="80" path="/backend_cloud.php?type=RSS2" registerProcedure="xmlStorageSystem.rssPleaseNotify" protocol="xml-rpc" />


            <image><url>http://lovinity.org/themes/happy_Thanksgiving/images_custom/9Untitled.png</url><title>the Lovinity Community</title><link>http://lovinity.org</link></image>
        
        
        <webMaster>admin@l&#x6f;vinity.&#x6f;rg (the Lovinity Community)</webMaster>
        <lastBuildDate>Tue, 25 Nov 2014 04:15:38 +0000</lastBuildDate>
        <generator>Composr</generator>
            <item>
        <title>I'm Retromanium</title>
        
            
                <description>Hi, I&39;m Retromanium.
**END**

Notice how the feed got cut off.
---

You may also want to add a category in the bug tracker for RSS/ATOM .
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2014-11-25 11:47

administrator   ~2344

"You may also want to add a category in the bug tracker for RSS/ATOM ."
We're using our official addon names as the set of tracker categories, so it'd be 'core' in this case (as rss is a core service). No one is going to lose that much sleep over it though :).

So these ones seem to be failing for you...

cns_members
cns_forumview
news

Also cns_topicview, but this is a separate issue when opened without a topic filter. We will fix also.

Chris Graham

2014-11-25 13:40

administrator   ~2345

So this is a character set encoding problem. I am running some more tests.

Chris Graham

2014-11-25 14:45

administrator   ~2346

Automated response: Problems with RSS

On all servers, viewing the topic RSS has a possibility of throwing an error if you view it without a particular topic filter (having a filter is the normal case).

On a minority of servers, if the website is not running utf-8, RSS may fail to display correctly if there are non-ASCII characters. This happens when the server hard-sets a utf-8 mime type that Composr has not specified, even though our XML explicitly gives the correct mime type. Our workaround is to also explicitly set the mime-type where the server is inserting the incorrect one.

Chris Graham

2014-11-25 14:45

administrator   ~2347

Fixed in git commit fc97200 (https://github.com/chrisgraham/Composr/commit/fc97200 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

PDStig

2014-11-28 07:16

administrator   ~2351

Your hotfix works. Thank you ^^

Issue History

Date Modified Username Field Change