Post by damian » Wed Aug 18, 2010 1:44 am

I have a problem with google base feed, I have 130 products but google base picks up only 10, I have installed improved google base feed from Jay but that didn't help. When I open feed link in IE this is the message I get:

Code: Select all

 This feed contains code errors. 
     Go back to the previous page. 
 
     More information 

Reference to undefined entity 'Acirc'.
 Line: 321 Character: 116

      <description><ul><li>Speed:10  <li>Control:7  <li>Plies:3+2  <li>Thickness:7.4&Acirc;&plusmn;0.2mm  <li>Weight:86&Acirc;&plusmn;3g  <li>Type:OFF+  <p>  <b>Butterfly Schlager Carbon substitute</b>  <p>  The Blade  is of 3-ply wood and 42-ply Carbon Fibre materials! This is a VERY FAST (OFF+) all-out attack style blade. The 2 layers of high grade carbon fibre provide a HUGE sweetspot.
 
and this is what I see in source code for the product description for this particular product:

Code: Select all

<ul>
	<li>
		Speed:10</li>
	<li>
		Control:7</li>
	<li>
		Plies:3+2</li>
	<li>
		Thickness:7.4&plusmn;0.2mm</li>
	<li>
		Weight:86&plusmn;3g</li>
	<li>
		Type:OFF+
		<p>
			<b>Butterfly Schlager Carbon substitute</b></p>
		<p>
			The Blade is of 3-ply wood and 42-ply Carbon Fibre materials! This is a VERY FAST (OFF+) all-out attack style blade. The 2 layers of high grade carbon fibre provide a HUGE sweetspot.</p>
	</li>
</ul>
<p>
	Galaxy T-1 Table Tennis Carbon Blade</p>
There is no reference to any "Acirc"...

New member

Posts

Joined
Thu Jul 01, 2010 4:22 pm

Post by JAY6390 » Wed Aug 18, 2010 9:37 am

Well it's definitely a real character
http://www.w3.org/MarkUp/html3/latin1.html
not sure why you are getting the character in the first place though :(

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by damian » Wed Aug 18, 2010 9:02 pm

Any idea on how to get it fixed? I need to get my products into google base really badly? :(
ANY suggestions would be really welcomed...

New member

Posts

Joined
Thu Jul 01, 2010 4:22 pm

Post by JAY6390 » Wed Aug 18, 2010 9:09 pm

Open
/catalog/controller/feed/google_base_improved.php
find this
htmlentities($value)
around line 131 and change it to
str_replace('&Acirc;','',htmlentities($value))
Not sure if it's going to work, but it might

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by damian » Thu Aug 19, 2010 12:36 am

OK I've done what you've suggested, now waiting for 6pm to check if it helped.. I guess there is no way to get the feed into google faster than setting upload schedule to next full hour?

Just wondering, if changing any settings in feed options would help? I have file format, encoding, delimeter all set to auto detect and "Use Quoted Fields" to "no"

New member

Posts

Joined
Thu Jul 01, 2010 4:22 pm

Post by JAY6390 » Thu Aug 19, 2010 2:38 am

You could save the feed and upload it directly, that would do it, but I'm guessing 6pm has now passed so it should have given you the result by now

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by damian » Thu Aug 19, 2010 5:34 am

Hi,

Acirc problem disappeared after I've done what you've suggested! Thanks.

New member

Posts

Joined
Thu Jul 01, 2010 4:22 pm

Post by JAY6390 » Thu Aug 19, 2010 6:08 am

Great :)

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by PoXiE » Sat Oct 23, 2010 3:16 pm

I have a question with this Acirc fix, I use

Code: Select all

&bull;
in my description which google does not like this how would i go about replacing it in the feed to a "-"

Code: Select all

str_replace('&Acirc;','',htmlentities($value))
Would it just be?

Code: Select all

str_replace('&bull;','-',htmlentities($value))
You can view the Google Base Feed here: http://bafumba.com/index.php?route=feed/google_base
And the Google Base Improved Feed here: http://bafumba.com/index.php?route=feed ... e_improved

Newbie

Posts

Joined
Sat Oct 23, 2010 3:12 pm

Post by JAY6390 » Sat Oct 23, 2010 6:00 pm

That sounds like it's probably the best way yeah. I am going to release a newer version which should get rid of all the Acirc problems for good in the next couple of days. If you've got the google base feed off my site you will be notified when it's released

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by ultraspoon » Tue Mar 01, 2011 10:35 pm

im getting this error with Jays version

error on line 7652 at column 52: Entity 'pound' not defined

Before i downloaded Jays version i had the Aciric error but it fixed that.

Active Member

Posts

Joined
Mon Oct 18, 2010 5:56 pm

Post by JAY6390 » Tue Mar 01, 2011 10:39 pm

That means you have a £ symbol in one of your titles. you'll need to remove it

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by ultraspoon » Tue Mar 01, 2011 10:44 pm

what do you mean in one of my titles?
Thanks Jay

Active Member

Posts

Joined
Mon Oct 18, 2010 5:56 pm

Post by JAY6390 » Tue Mar 01, 2011 10:47 pm

One of your products will have a £ sign in the title. If you open your feed with an editor that has line numbers you should be able to quickly find that line and the bad product title. Then edit the title, save and try the feed again

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by ultraspoon » Tue Mar 01, 2011 11:02 pm

Copied my feed into notepadd++ did a search for '£' nothing was found, did a search for '&pound' found two products, deleted the pound sign from the description tabs, but im still getting the error.
Strange.

Can i not add the £ sign to the google feed code so it will recognize it?

Thanks Jay

Active Member

Posts

Joined
Mon Oct 18, 2010 5:56 pm

Post by JAY6390 » Tue Mar 01, 2011 11:08 pm

No, it's not allowed in the titles. I did actually think you were going to look in the feed for the £ which would show visually, but yes they will be &pound; in the feed html

Please paste your link to your feed here or PM if you'd rather

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by anitawos » Sun Mar 13, 2011 8:54 pm

Have you gotten this to work?

User avatar
New member

Posts

Joined
Fri Jan 28, 2011 7:33 pm
Location - Massachusetts, USA
Who is online

Users browsing this forum: No registered users and 7 guests