RSS Feed contribution support thread
#121
Posted 10 February 2008, 16:29
I just started installing this contribution.
On running the SQL file in phpmyadim I get the following error :
#1062 - Duplicate entry '80' for key 1
so am stick at Step 1 of the installation.
Any suggestions ?
dca
#122
Posted 14 February 2008, 21:49
#123
Posted 16 February 2008, 17:08
#124
Posted 16 February 2008, 18:10
gallerygirl, on Feb 16 2008, 05:08 PM, said:
Durrr... I just added a description define(DESCRIPTION,"About my store",TITLE) and that was perfect. I didn't realize it was that easy!
#125
Posted 28 February 2008, 17:16
What is it supposed to look like when you click the rss icon or information box link? I just get a page with a table on it and html of all my products... is this correct? thanks!
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#126
Posted 07 March 2008, 19:37
#127
Posted 08 March 2008, 01:01
GeorgeP, on Mar 7 2008, 01:37 PM, said:
Not a bad question, Google it, or here is a page that explains it: http://rss.softwaregarden.com/aboutrss.html It's much less complex than it sounds.
Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294
FedEx Automated Labels -- Contribution 2244
RMA Returns system -- Contribution 1136
Sort Products By Dropdown -- Contribution 4312
Ultimate SEO URLs -- Contribution 2823
Credit Class & Gift Voucher -- Contribution 282
Cross-Sell -- Contribution 5347
#128
Posted 12 March 2008, 20:03
I am having the same problem as DCA,
I am not very good with SQL so as i am trying to install this contribution i am also getting the following error:
#1062 - Duplicate entry '80' for key 1
so am stuck on Step 1 of the installation.
Any help would be appreciated
Thanks
#129
Posted 12 March 2008, 20:12
I think i have asnwered my own post.
I was reading the error code manual for SQL 5 and it occured to me that if i changed the configuration id
to the last id in the configuration table it would work
ie. the last id was 143 so i set it to 144
so far so good
just need to test it
Thanks anyway
#130
Posted 20 March 2008, 19:26
www.mysite.com/rss.php?category=laptops
My question is what is the proper format to query a category in the url of RSS.php?
Please post a sample URL with the proper tags. Thanks.
Great contrib!
#131
Posted 20 March 2008, 20:29
buysellleasetrade, on Mar 20 2008, 07:26 PM, said:
www.mysite.com/rss.php?category=laptops
My question is what is the proper format to query a category in the url of RSS.php?
Please post a sample URL with the proper tags. Thanks.
Great contrib!
#132
Posted 20 March 2008, 22:19
I tried this method to fix it first and it did not work:
######################
A quick bug Fix which I do not have time to package. With each product link, the oscId was added to the RSS feed..not very safe nor pretty:
To fix this change:
QUOTE
// RSS Links for Ultimate SEO (Gareth Houston 10 May 2005)
$link = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $id, 'NONSSL', false);
with
QUOTE
// Correct RSS Links for Ultimate SEO without OscId (Phocea 20/06/2007)
$seo = ( defined('SEO_URLS') ? SEO_URLS : false );
$seo_rewrite_type = ( defined('SEO_URLS_TYPE') ? SEO_URLS_TYPE : false );
$link = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $id, 'NONSSL', false, true);
if ($seo_rewrite_type == 'Rewrite') {
// We remove the oscid distributed by the user session used in this script
$link = substr($link, 0, strlen($link)-strlen(strstr($link,'?')));
} else {
$link = substr($link, 0, strlen($link)-strlen(strstr($link,'&osCsid')));
}
#######################
Then I used this method from this thread which did not error but this also did not remove the OSCID from the feed.
TIP #2 As mentioned somewhere earlier in forum somewhere oscommerce is adding the osCsid to the product URLs, bad news! To remove:
CODE
ADD
$link = substr($link, 0, strlen($link)-strlen(strstr($link,'&osCsid')));
UNDER
$link = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $id, 'NONSSL', false);
########################
Any ideas? I know I have to remove the OSCID. Please help if you have any solutions. Thanks.
#133
Posted 21 March 2008, 00:41
buysellleasetrade, on Mar 20 2008, 05:19 PM, said:
I tried this method to fix it first and it did not work:
######################
A quick bug Fix which I do not have time to package. With each product link, the oscId was added to the RSS feed..not very safe nor pretty:
To fix this change:
QUOTE
// RSS Links for Ultimate SEO (Gareth Houston 10 May 2005)
$link = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $id, 'NONSSL', false);
with
QUOTE
// Correct RSS Links for Ultimate SEO without OscId (Phocea 20/06/2007)
$seo = ( defined('SEO_URLS') ? SEO_URLS : false );
$seo_rewrite_type = ( defined('SEO_URLS_TYPE') ? SEO_URLS_TYPE : false );
$link = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $id, 'NONSSL', false, true);
if ($seo_rewrite_type == 'Rewrite') {
// We remove the oscid distributed by the user session used in this script
$link = substr($link, 0, strlen($link)-strlen(strstr($link,'?')));
} else {
$link = substr($link, 0, strlen($link)-strlen(strstr($link,'&osCsid')));
}
#######################
Then I used this method from this thread which did not error but this also did not remove the OSCID from the feed.
TIP #2 As mentioned somewhere earlier in forum somewhere oscommerce is adding the osCsid to the product URLs, bad news! To remove:
CODE
ADD
$link = substr($link, 0, strlen($link)-strlen(strstr($link,'&osCsid')));
UNDER
$link = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $id, 'NONSSL', false);
########################
Any ideas? I know I have to remove the OSCID. Please help if you have any solutions. Thanks.
Once you fix the oscid thing it will not fix it on any old products you had previously since your reader already pulled that data so you may have fixed it and not realized you did. You'll have to create some new products to see if you fixed it or not.
Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294
FedEx Automated Labels -- Contribution 2244
RMA Returns system -- Contribution 1136
Sort Products By Dropdown -- Contribution 4312
Ultimate SEO URLs -- Contribution 2823
Credit Class & Gift Voucher -- Contribution 282
Cross-Sell -- Contribution 5347
#134
Posted 21 March 2008, 13:00
homewetbar, on Mar 21 2008, 12:41 AM, said:
Thanks for the fast reply. So to clarify, for new readers or visitors who use my RSS feed they will not see the OSCID anymore nor will the bots and spiders?
*BTW awesome script.
#135
Posted 21 March 2008, 18:06
buysellleasetrade, on Mar 21 2008, 08:00 AM, said:
*BTW awesome script.
Thanks but I am not the author... however I'm sure they appreciate your kind words.
If you have it fixed yes. But you'll still have to test that to make sure you fixed the problem after you add new products as I said before.
Edited by homewetbar, 21 March 2008, 18:07.
Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294
FedEx Automated Labels -- Contribution 2244
RMA Returns system -- Contribution 1136
Sort Products By Dropdown -- Contribution 4312
Ultimate SEO URLs -- Contribution 2823
Credit Class & Gift Voucher -- Contribution 282
Cross-Sell -- Contribution 5347
#136
Posted 31 March 2008, 23:12
#137
Posted 01 April 2008, 01:04
#138
Posted 01 April 2008, 16:31
buysellleasetrade, on Mar 31 2008, 06:12 PM, said:
Leave it at the default. Or 100 max I would say. It is a new product feed not an entire site feed...
Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294
FedEx Automated Labels -- Contribution 2244
RMA Returns system -- Contribution 1136
Sort Products By Dropdown -- Contribution 4312
Ultimate SEO URLs -- Contribution 2823
Credit Class & Gift Voucher -- Contribution 282
Cross-Sell -- Contribution 5347
#139
Posted 02 April 2008, 13:47
homewetbar, on Apr 1 2008, 04:31 PM, said:
Is there a way that a query can be applied by a user from a RSS reader to parse it like this for instance?
yoursite.com/rss.php?displays
?
#140
Posted 03 April 2008, 14:54
juanpalomo, on Apr 1 2008, 03:04 AM, said:
Again, I must insist with my question, specially with the "price" issue. Is there a way to show the price, with the corresponding default currency, in the feed? I wonder why nobody has an answer and, specially, why in all the examples I see of the feed I can never see the prices, although we are all dealing here with shops
And this absence is even stranger since I can see in the code following lines,
if($ecommerce!='') {
echo ' <media:thumbnail url="' . $image_url . '">' . $image_url . '</media:thumbnail>' . "\n";
echo ' <ecommerce:SKU>' . $id . '</ecommerce:SKU>' . "\n";
echo ' <ecommerce:listPrice currency="' . DEFAULT_CURRENCY . '">' . $price . '</ecommerce:listPrice>' . "\n";
if ($offer) {
echo ' <ecommerce:offerPrice currency="' . DEFAULT_CURRENCY . '">' . $offer . '</ecommerce:offerPrice>' . "\n";
}
echo ' <ecommerce:manufacturer>' . $manufacturer . '</ecommerce:manufacturer>' . "\n";
}
echo '</item>' . "\n";
}
crearly referred to prices... Furthermore, what does really means the title of the contribution: "RSS feed with eCommerce, v1.22.2"? OsCommerce is an eCommerce system, and all the contributions and addons are somehow "with eCommerce"... Or is this special "eCommerce" some feature that I must first activate, in order to make the script work? I have read all possible information abot the installation of the contribution and still can find no answer... Can somebody help? That's really confusing Thanks!














