Automatically send data feed to Froogle
#81
Posted 12 May 2004 - 01:30 AM
You can submit every day if you want (but not more often than that.) But if you don't submit for 30 days, your stuff is removed from Froogle, so you want to keep it current. If your store changes frequently, then by all means update frequently.
I had a problem at first where they listed the store name in the results by the username rather than the "real" store name. I sent them mail and, after a while, they fixed it.
Contributions:
Country-State Selector
Login Page a la Amazon
Protection of Configuration
Updated spiders.txt
Embed Links with SID in Description
#82
Posted 12 May 2004 - 04:38 AM
stevel, on May 11 2004, 09:30 PM, said:
You can submit every day if you want (but not more often than that.) But if you don't submit for 30 days, your stuff is removed from Froogle, so you want to keep it current. If your store changes frequently, then by all means update frequently.
I had a problem at first where they listed the store name in the results by the username rather than the "real" store name. I sent them mail and, after a while, they fixed it.
mac
#83
Posted 12 May 2004 - 09:50 AM
Edited by Daemonj, 19 May 2004 - 12:42 AM.
#84
Posted 14 May 2004 - 08:24 AM
$OutFile = "/home/win1001/public_html/temp/";
$destination_file = "windows101.txt";
should be
$OutFile = "/home/win1001/public_html/temp/windows101.txt";
$destination_file = "windows101.txt";
In the future, it isn't necessary to post all of the code if there are only a few lines that you had to configure.
Anyways, a new version of this contribution is out.
Edited by FlyingMonkey, 14 May 2004 - 08:25 AM.
#85
Posted 14 May 2004 - 09:21 AM
first off, what a great contrib - took all of 5 mins to install and run for the first time. Small question, just because I am the lazy bloke who looks for a shortcut in everything I do.....we are a UK store who has been given permission to list on Froogle as we offer sales in $US and ship to the US, but when prices are pulled from the site they are in £GBP - is there a way to amend the froogle.php script to multiply the £GBP by the figure I have set in my admin controls?
I can work around it by a simple 2 minute edit in Excel and then ftp it off to froogle, but just wondering if it could be done, then I can leave the froogle upload to itself to work happily away automatically without any interference from me.....
Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....
if (stumped == true) {
return(square_one($start_over)
} else {
$random_query = tep_fetch_answer($forum_query)
}
#86
Posted 14 May 2004 - 09:48 AM
#87
Posted 14 May 2004 - 12:01 PM
The cron job is setup as follows:
Minute Hour Day Month Weekday Command
e.g.
0 4 * * 3 /usr/bin/php -q /home/<unix route to your file>/admin/froogle.php
where,
The cron command is: /usr/bin/php -q /home/<unix route to your file>/admin/froogle.php
and the cron is scheduled to run at 04:00 (4:00 am) every third weekday (weekly).
#88
Posted 14 May 2004 - 12:12 PM
niknakgroup, on May 14 2004, 09:21 AM, said:
first off, what a great contrib - took all of 5 mins to install and run for the first time. Small question, just because I am the lazy bloke who looks for a shortcut in everything I do.....we are a UK store who has been given permission to list on Froogle as we offer sales in $US and ship to the US, but when prices are pulled from the site they are in £GBP - is there a way to amend the froogle.php script to multiply the £GBP by the figure I have set in my admin controls?
I can work around it by a simple 2 minute edit in Excel and then ftp it off to froogle, but just wondering if it could be done, then I can leave the froogle upload to itself to work happily away automatically without any interference from me.....
Edited by FlyingMonkey, 14 May 2004 - 12:15 PM.
#89
Posted 14 May 2004 - 05:56 PM
#90
Posted 14 May 2004 - 06:02 PM
jmoore04, on May 14 2004, 05:56 PM, said:
#91
Posted 14 May 2004 - 07:38 PM
$already_sent[$row->name] = 1;
to
$already_sent[$row->name] == 1;
I then manually removed all duplicate products from my database and it worked like it should.
Then I switched the $already_sent's back to one equal instead of two other than the if statement one, and I once again had the sale's price problem.
For now, I am just going to stick with the modifications I made since it works until someone else verifies the bug.
#92
Posted 14 May 2004 - 07:44 PM
jmoore04, on May 14 2004, 07:38 PM, said:
$already_sent[$row->name] = 1;
to
$already_sent[$row->name] == 1;
I then manually removed all duplicate products from my database and it worked like it should.
Then I switched the $already_sent's back to one equal instead of two other than the if statement one, and I once again had the sale's price problem.
For now, I am just going to stick with the modifications I made since it works until someone else verifies the bug.
#94
Posted 14 May 2004 - 11:23 PM
#95
Posted 14 May 2004 - 11:34 PM
I didn't even catch the description bug, glad you caught that one, even though I already uploaded my file to froogle several hours ago, oh well, I send them another one tomorrow.
#96
Posted 18 May 2004 - 12:48 AM
I have a contribution (sorry can't seem to find it online anymore) installed on one of my sites that uses the product attributes to determine price. Because price is determined by product option (weight) most of my products have a $0.00 price in the products table.
I tried to join the products_attributes table but my SQL ins't that good.
Any wayto pull the first price from the attributes table if the price in the products table = 0.00 ? Or even easier, just pull the first price form the products_attributes table for the first matching product_id ?
Thx!
#97
Posted 18 May 2004 - 08:19 AM
#98
Posted 18 May 2004 - 09:28 AM
theniknakshop.com, on May 18 2004, 08:19 AM, said:
otherwise it could be...
if you get this error:
Warning: ftp_put(): Can't build data connection: Connection timed out. in /home/theartou/public_html/admin/froogle.php on line 154
FTP upload has failed! source: /home/theartou/public_html/froogle/theartoutlet.txt dest: theartoutlet.txt
then:
You can try getting around this by setting PHP to use Passive mode, which
makes the FTP client connection out to port 20 on the FTP server. A quick
look at the manual says that you should use ftp_pasv to make that happen.
so all you need to do in the code:
// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
// turn passive mode on
ftp_pasv($conn_id, true);
// upload the file
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
#99
Posted 18 May 2004 - 09:38 AM
FTP upload has FAILED! source: /home/users/web/b22/niknakshop/catalog/froogle/theniknakshop.txt dest: theniknakshop.txt
Please let me know in you need to see any of the code.
Thanks for the quick reply..
#100
Posted 18 May 2004 - 09:54 AM
http://theniknakshop.com/catalog/froogle/theniknakshop.txt
anyways, i gotta get some sleep it's nearly 3am and i have class at 8am. good luck!
Edited by FlyingMonkey, 18 May 2004 - 09:54 AM.









