Page 1 of 2 12 LastLast
Results 1 to 10 of 3563

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by wagnerguy View Post
    numinix, do have any idea about this iss below?

    got the following message
    ERROR: fy_un_tp is not a valid feed template

    has anyone seen this before?

    this is a earlier repost

    thanks
    I still having this issue, is there something missing, should i reupload the files?

  2. #2
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by wagnerguy View Post
    I still having this issue, is there something missing, should i reupload the files?
    ok, what i click the create product feed,the dialogue has wordpress error at the top. could this mean that wordpress is interfering with the product feed?

  3. #3
    Join Date
    Jan 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    I am using Google Base Feeder 1.7.1a with Zen Cart 1.3.8a.

    For some reason,
    I do not have <g: payment_accepted> and <g: payment_notes> in my xml output.

    I have to modify the *if statment*
    in file googlefroogle.php Line 181, 267, 272
    to:
    if (1) {
    to make it work.

    Anyone had the same situation ?

  4. #4
    Join Date
    Dec 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by smtseng View Post
    I have to modify the *if statment*
    in file googlefroogle.php Line 181, 267, 272
    to:
    if (1) {
    to make it work.

    Anyone had the same situation ?
    Yes I had the same, thankyou - your fix worked!

    Bad news is that I'm in the UK and subsequently found out that the GoogleCheckout Accepted icon appears on Base results only for US sellers. Doh!
    [FONT="Courier New"]------------------------------------------------------------
    I sell plain black and colourful T-shirts thanks to Zen Cart[/FONT]

  5. #5
    Join Date
    Nov 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Anyone that is receiving data feed errors after upgrading to 1.7.1 please read:

    As best I can tell, there was a shift in how special characters are handled in the includes/classes/googlebase.php file. Around line 169 there is a function called "google_base_xml_sanitizer".

    I copied over some of the older scripting that did work for me and now my function looks like this:

    Code:
        function google_base_xml_sanitizer($str, $cdata = false) {
          $_strip_search = array("![\t ]+$|^[\t ]+!m",'%[\r\n]+%m'); // remove CRs and newlines
          $_strip_replace = array('',' ');
          $_cleaner_array = array(">" => "> ", "&reg;" => "", "®" => "", "&trade;" => "", "™" => "", "\t" => "", "    " => "");
          $str = html_entity_decode($str);
          $str = strtr($str, $_cleaner_array);
          $str = preg_replace($_strip_search, $_strip_replace, $str);
          $str = strip_tags($str);
          $str = eregi_replace("[^[:alnum:][:space:].,!()'-_/+=?äÂÄöÖüÜß]", "", $str);
          $str = utf8_encode(htmlentities($str));
          $str = str_replace('&amp;amp;', '&amp;', $str);
          $str = str_replace(array("&reg;", "&copy;", "&trade;"), array('(r)', '(c)', '(tm)'), $str);
          $out = "";
          $length = strlen($str);
          for ($i = 0; $i < $length; $i++) {
            $current = ord($str{$i});
            if (($current == 0x9) || ($current == 0xA) || ($current == 0xD) || (($current >= 0x20) && ($current <= 0xD7FF)) || (($current >= 0xE000) && ($current <= 0xFFFD)) || (($current >= 0x10000) && ($current <= 0x10FFFF))) {
              $out .= chr($current);
            } else {
              $out .= " ";
            }
          }
          $str = trim($out);
          $str = str_replace(array("&lt;", "&gt;"), array("<", ">"), $str);
          if ($cdata) {
            $str = '<![CDATA[' . $str . ']]>';
          } 
          return $str;
        }
    It's a little bit of a hack job but it works for me. I hope the author will see this and look into it because I love this addon!

    Remember to make a copy before you make any changes to googlebase.php. And well, if it doesn't work .. I don't know what to tell you since I didn't write the script!

    Note: One thing I noticed is that after making this change, my rss feeds seem to lose their HTML formatting. It's not crucial for me, and I'm not 100% certain that Base even allows it. So I may just be confusing myself here.

  6. #6
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Greetings...

    ZC1.3.8a
    Google Feeder 1.7.0a



    I got this installed and I think its all right..but..

    Out of about 30,000 products in my store, the XML file is only ending up with about 4400 products.

  7. #7
    Join Date
    Jul 2005
    Posts
    220
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by Stuff4Toys View Post
    In item number 2247 it looks like the character it's balking at is
    HTML Code:
    Â
    : in the description here:
    HTML Code:
    No awkward stops and starts—and none of the echoes and distortion
    Remove this character and you should be OK
    JOhn ><>
    Quote Originally Posted by reppy View Post
    Anyone that is receiving data feed errors after upgrading to 1.7.1 please read:

    As best I can tell, there was a shift in how special characters are handled in the includes/classes/googlebase.php file. Around line 169 there is a function called "google_base_xml_sanitizer".

    I copied over some of the older scripting that did work for me and now my function looks like this:

    Code:
        function google_base_xml_sanitizer($str, $cdata = false) {
          $_strip_search = array("![\t ]+$|^[\t ]+!m",'%[\r\n]+%m'); // remove CRs and newlines
          $_strip_replace = array('',' ');
          $_cleaner_array = array(">" => "> ", "&reg;" => "", "®" => "", "&trade;" => "", "™" => "", "\t" => "", "    " => "");
          $str = html_entity_decode($str);
          $str = strtr($str, $_cleaner_array);
          $str = preg_replace($_strip_search, $_strip_replace, $str);
          $str = strip_tags($str);
          $str = eregi_replace("[^[:alnum:][:space:].,!()'-_/+=?äÂÄöÖüÜß]", "", $str);
          $str = utf8_encode(htmlentities($str));
          $str = str_replace('&amp;amp;', '&amp;', $str);
          $str = str_replace(array("&reg;", "&copy;", "&trade;"), array('(r)', '(c)', '(tm)'), $str);
          $out = "";
          $length = strlen($str);
          for ($i = 0; $i < $length; $i++) {
            $current = ord($str{$i});
            if (($current == 0x9) || ($current == 0xA) || ($current == 0xD) || (($current >= 0x20) && ($current <= 0xD7FF)) || (($current >= 0xE000) && ($current <= 0xFFFD)) || (($current >= 0x10000) && ($current <= 0x10FFFF))) {
              $out .= chr($current);
            } else {
              $out .= " ";
            }
          }
          $str = trim($out);
          $str = str_replace(array("&lt;", "&gt;"), array("<", ">"), $str);
          if ($cdata) {
            $str = '<![CDATA[' . $str . ']]>';
          } 
          return $str;
        }
    It's a little bit of a hack job but it works for me. I hope the author will see this and look into it because I love this addon!

    Remember to make a copy before you make any changes to googlebase.php. And well, if it doesn't work .. I don't know what to tell you since I didn't write the script!

    Note: One thing I noticed is that after making this change, my rss feeds seem to lose their HTML formatting. It's not crucial for me, and I'm not 100% certain that Base even allows it. So I may just be confusing myself here.
    Thanks for this info. One of the most direct responses we have seen on here. We are giving it a try and will let you know if it works. In the meantime we'll also respond to the other posters message.

  8. #8
    Join Date
    Jul 2005
    Posts
    220
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by JLA View Post
    Thanks for this info. One of the most direct responses we have seen on here. We are giving it a try and will let you know if it works. In the meantime we'll also respond to the other posters message.
    AH - GREAT SUCCESS. This method did INDEED WORK. All of our items processed WITHOUT ERRORS!!!!

  9. #9
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,566
    Plugin Contributions
    74

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by JLA View Post
    Thanks for this info. One of the most direct responses we have seen on here. We are giving it a try and will let you know if it works. In the meantime we'll also respond to the other posters message.
    The next version will include a revamp, AGAIN, of the sanitization. It is important that this function is optimized as it will be the difference of whether or not websites with more than 10,000 products will timeout while populating the feed.

    Simply combining the two functions is overkill, but an optimized solution will be included in the next release.

  10. #10
    Join Date
    Aug 2008
    Posts
    333
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by wagnerguy View Post
    I still having this issue, is there something missing, should i reupload the files?
    I am bumping this message..

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Google Merchant Center Feeder for ZC v1.5.x [Support Thread]
    By DivaVocals in forum Addon Admin Tools
    Replies: 504
    Last Post: 19 Nov 2024, 03:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg