View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1726 | Composr | core_adminzone_dashboard | public | 2014-11-25 03:19 | 2014-11-28 07:16 |
Reporter | PDStig | Assigned To | Guest | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 1726: RSS and ATOM feeds do not load properly | ||||
Description | When trying to use Composr's RSS and ATOM feed functionality, the feeds do not fully load. | ||||
Steps To Reproduce | 1. 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 Information | Here'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@lovinity.org (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@lovinity.org (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 . | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
"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. |
|
So this is a character set encoding problem. I am running some more tests. |
|
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. |
|
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/). |
|
Your hotfix works. Thank you ^^ |