We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How to disable smart quotes in RSS feeds?

Development and Programming

avroo's avatar
avroo
164 posts
11 years ago
avroo's avatar avroo

Some some reason (xhtml?) single quotes are converted to smart (curly) quotes in RSS feeds.

This may be causing some issues for RSS readers.

How can I disable it?

My code:

{exp:super_search:results channel="main" tags="" exclude_entry_ids="" keywords="" status="open" dynamic="off" category_indicator="category_id" category="{segment_2}" limit="10" offset="0" orderby="date" sort="desc" show_future_entries="no" }
 <item>
  <title>{exp:xml_encode protect_entities="yes"}{title}{/exp:xml_encode}</title>
  {entry_date format="%r"}</pubDate>
  {categories}<category>{exp:xml_encode protect_entities="yes"}{category_name}{/exp:xml_encode}</category>{/categories}
  <link>http://www.site.nl/artikel/{categories limit="1"}{category_url_title}{/categories}/{url_title}</link>
  <guid>http://www.site.nl/artikel/{categories limit="1"}{category_url_title}{/categories}/{url_title}</guid>
 </item>
 {/exp:super_search:results}
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.