-

User Blog Mod - Bug tracker

Bad encoding in sfeed plugin (fix completed in vcs)

 

Users of my forum have informed me about the problem in displaying the RSS feeds. I have found an encoding problem that RSS feeds are displayed in other encoding than UTF-8. I was searching for a solution and found it so I am sharing it with you:

Open: styles/prosilver/template/blog/blog_feed.xml
Find:
Code: Select all
   <rss version="0.91">

Replace with:
Code: Select all
   <rss version="0.91"  encoding="utf-8">

Find:
Code: Select all
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">

Replace with:
Code: Select all
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/"  encoding="utf-8">

Find:
Code: Select all
   <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

Replace with:
Code: Select all
   <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"  encoding="utf-8">

Find:
Code: Select all
   <feed xmlns="http://www.w3.org/2005/Atom">

Replace with:
Code: Select all
   <feed xmlns="http://www.w3.org/2005/Atom"  encoding="utf-8">


You may apply it for subsilver2 too. I hope these changes would be included in next plug-in version.

History

Changed ticket status from "New" to "Fix completed in VCS"
Action performed by EXreaction » Fri Mar 06, 2009 12:47 pm
Assigned ticket to user "EXreaction"
Action performed by EXreaction » Fri Mar 06, 2009 12:47 pm

Ticket details

 

cron