ROR Sitemap generation error.
« on: September 03, 2009, 04:45:50 PM »
On our online store, it auto generates metadescriptions etc,

If the metadescription is as follows...
Code: [Select]
<meta NAME="description" CONTENT="Purchase the Product <br />Here at place">
When the ror.xml sitemap is generated, forsome reason it doesnt add the full <br />

i.e. under the section of that product.
Code: [Select]
<description>Purchase the Product <br /</description>
As you can see there is an unclosed tag missing the ">" this fully causes the ror.xml sitemap to display nothing. Is the "/" Causing it to escape the charactor when the ROR Generator runs?

Eitherway it causes the ror.xml sitemap not to work, and are currently in a 14month migration away from our  current e-commerce software, a fix would be most appreciated.

Hope to hear from you soon!

Robert Readman.
Rob
Re: ROR Sitemap generation error.
« Reply #1 on: September 03, 2009, 10:06:48 PM »
You should apply html spcial characters for meta description like:
Code: [Select]
<meta NAME="description" CONTENT="Purchase the Product &lt;br /&gt;Here at place">
Re: ROR Sitemap generation error.
« Reply #2 on: September 15, 2009, 02:21:54 PM »
Saddly I cannot get the developers to do this, they say the meta description comes from the product description in the database and there is no way to stop the <br /> being put in the meta description or converting it to html charactors.
Is there anyway you can use PHP to find and replace / ignore bad words that cause the ROR sitemap to break.
I was going to take alook but its against the licence of xml-sitemaps and its all encoded.
Rob