When I post a link and the description contains an & symbol, it's breaking the rss feed. Is there a work around or a way to get WSN Links to automagically convert similar characters to their equivalents? eg, & becomes
&
etc?
The actual error message is:
The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 11: The entity name must immediately follow the '&' in the entity reference.
I switched everything over to use Summary instead of my custom field "Snippet". Adding content still stores and displays '&'s without conversion.
I must be missing something in the templates or underlying code. It's stored raw for Summary and Description, and displayed raw in summary, description and the RSS feed.
BTW - I'm using the plain text editor.
Is there a LINKSUMMARYSTRIPPED function available?
Paul wrote: Stripping removes HTML, not &s. You could use {FUNC_REMOVESPECIAL[{LINKSTRIPPED}]}
Wi ll that work with the LINKSUMMARY? I was under the impression that special characters would be replaced with their encoded versions when a record was saved.
Comments on & symbols breaking rss feed
Experienced
Usergroup: Customer
Joined: Jun 18, 2008
Total Topics: 22
Total Comments: 85
When I post a link and the description contains an & symbol, it's breaking the rss feed. Is there a work around or a way to get WSN Links to automagically convert similar characters to their equivalents? eg, & becomes etc?
The actual error message is:
The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 11: The entity name must immediately follow the '&' in the entity reference.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It already does. Did you customize the template?
Experienced
Usergroup: Customer
Joined: Jun 18, 2008
Total Topics: 22
Total Comments: 85
Yeah - I created a new field called "snippet" - like your new Summary, I suppose. I pull that field for the RSS feeds.
Will your Summary field be stripped/converted? I'll get rid of mine and use yours if it does
Experienced
Usergroup: Customer
Joined: Jun 18, 2008
Total Topics: 22
Total Comments: 85
I switched everything over to use Summary instead of my custom field "Snippet". Adding content still stores and displays '&'s without conversion.
I must be missing something in the templates or underlying code. It's stored raw for Summary and Description, and displayed raw in summary, description and the RSS feed.
BTW - I'm using the plain text editor.
Is there a LINKSUMMARYSTRIPPED function available?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Stripping removes HTML, not &s. You could use {FUNC_REMOVESPECIAL[{LINKSTRIPPED}]}
Experienced
Usergroup: Customer
Joined: Jun 18, 2008
Total Topics: 22
Total Comments: 85
Stripping removes HTML, not &s. You could use {FUNC_REMOVESPECIAL[{LINKSTRIPPED}]}
Wi ll that work with the LINKSUMMARY? I was under the impression that special characters would be replaced with their encoded versions when a record was saved.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It'll work with any content.
I was under the impression that special characters would be replaced with their encoded versions when a record was saved.
For some characters, yes. & isn't one of those.