[Solved] CGFeedMaker Err "Whitespace is not allowed at..."

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
msalgo
Forum Members
Forum Members
Posts: 17
Joined: Mon Aug 29, 2011 3:47 pm

[Solved] CGFeedMaker Err "Whitespace is not allowed at..."

Post by msalgo »

Hi there,

I just downloaded and installed CGFeedMaker (and the CGExtensions prerequisite).

I set up a feed for our news page and I get the following error on the news feed URL:
Whitespace is not allowed at this location.
Line: 455 Character: 108

<description>The University of St. Thomas’s Opus College of Business has named Marvin Windows & Doors its Family Business of the Year</description>
What might I be doing wrong? I am thinking it has to do with the & symbol, but how can I make those be ok? We need to use special characters from time to time such as & and the Registered symbol.

Thank you,
-Michael
Last edited by msalgo on Wed Oct 23, 2013 5:51 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CGFeedMaker Err "Whitespace is not allowed at this locat

Post by Dr.CSS »

Try using html entities, & , you can find these in tinyMCE under the character link...
msalgo
Forum Members
Forum Members
Posts: 17
Joined: Mon Aug 29, 2011 3:47 pm

Re: CGFeedMaker Err "Whitespace is not allowed at this locat

Post by msalgo »

Thanks, Dr.CSS. Changing the & to & did the trick.

We're not using TinyMCE so we'll just have to keep an eye on it.

Thanks again. Going to update the subject with "[Solved]" now.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: [Solved] CGFeedMaker Err "Whitespace is not allowed at..

Post by applejack »

However you can't use special character codes in the titles as they will show as e.g. & and therefore will not validate properly for a RSS feed.

To test if your feed validates you can use http://validator.w3.org/feed/

You can use this to convert text to special characters http://www.emailonacid.com/character_converter/
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [Solved] CGFeedMaker Err "Whitespace is not allowed at..

Post by calguy1000 »

Use CDATA in the various fields, and/or striptags and entity encode everything.

i.e: <title>{$some_title|cms_escape}</title>
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Modules/Add-Ons”