Jump to content

buysellleasetrade

Members
  • Content count

    23
  • Joined

  • Last visited

Everything posted by buysellleasetrade

  1. buysellleasetrade

    RSS Feed contribution support thread

    The reason I asked was that when I enter this URL for my site: Are you using the ecommerce=X option? In other words are you calling the script like this? www.somesite.com/rss.php?ecommerce=X I get this error: XML Parsing Error: not well-formed Location: http://www.mysitesurl.com/rss.php?ecommerce=X Line Number 56, Column 113: <media:thumbnail url="http://www.mysitesurl.com/images/" border="0" alt="ROSE ELECTRONICS AT KEYBOARD & SERIAL MOUSE CABLES50 FT, DB25M T" title=" ROSE ELECTRONICS AT KEYBOARD & SERIAL MOUSE CABLES50 FT, DB25M T " width="100" height="80" style="float: left; margin: 0px 8px 8px 0px;">http://mysitesurl.com/images/" border="0" alt="ROSE ELECTRONICS AT KEYBOARD & SERIAL MOUSE CABLES50 FT, DB25M T" title=" ROSE ELECTRONICS AT KEYBOARD & SERIAL MOUSE CABLES50 FT, DB25M T " width="100" height="80" style="float: left; margin: 0px 8px 8px 0px;</media:thumbnail> ----------------------------------------------------------------------------------------------------------------^ When I dont use the ecommerce=x option I get the right XML.
  2. buysellleasetrade

    RSS Feed contribution support thread

    I dont have STS either.
  3. buysellleasetrade

    [contribution] PDF data_sheet maker v.1

    Bueller?
  4. buysellleasetrade

    RSS Feed contribution support thread

    Are you using the ecommerce=X option? In other words are you calling the script like this? www.somesite.com/rss.php?ecommerce=X or like this? www.somesite.com/rss.php
  5. buysellleasetrade

    RSS Feed contribution support thread

    Yes! What I did was the following: FIND THIS LINE: header('Content-Type: application/rss+xml; charset=UTF-8'); REPLACE WITH THIS: header('Content-Type: application/xml; charset=UTF-8'); Done.
  6. buysellleasetrade

    RSS Feed contribution support thread

    In this code By Phocea: $seo = ( defined('SEO_URLS') ? SEO_URLS : false ); $seo_rewrite_type = ( defined('SEO_URLS_TYPE') ? SEO_URLS_TYPE : false ); If I am running SEO by Chemo does the above code need to be set from false to true?
  7. buysellleasetrade

    RSS Feed contribution support thread

    I am running v 1.22 and it works great but I wanted to utilize the features in V2.0 such as the manufacturers feed and the category feed options. The only problem is when I run the V2.0 rss.php file what pops up is a dialog box for windows asking me what I want to do with this file? V1.22 works perfectly I request my rss.php file and it pops up with products in tables and everything but when I do the same thing with the V2.0 rss.php I get a dialog box that pops up asking me what my local system should do with the file. Any ideas?
  8. buysellleasetrade

    RSS Feed contribution support thread

    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 ? :blink: :blink:
  9. buysellleasetrade

    RSS Feed contribution support thread

    In the admin section of my OScommerce installation under Configuration:>Maximum Values:>RSS Articles how many articles/products should I choose to display in my feed? What happens if I have thousands of articles/products? In my case I do so it has been timing out. I have over 70K products what is a good number to set my feed at? Or is there a way to parse it by category or query to that it does not time out? Any ideas?
  10. buysellleasetrade

    RSS Feed contribution support thread

    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.
  11. buysellleasetrade

    RSS Feed contribution support thread

    I have a minor issue I would love to resolve. I have read about it and tested two remedies from this thread that did not work. What I am referring to is the OSCID showing up in the add to cart url link. 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.
  12. buysellleasetrade

    RSS Feed contribution support thread

    I found out the problem I was having. It was all my fault for not putting the code into index.php and product_info.php. again great contrib thanks.
  13. buysellleasetrade

    RSS Feed contribution support thread

    I have a quick question. I would like to be able to offer my visitors a link to separate RSS feeds with built in queries by categories in the RSS feed URL. My feed has over 60000 products so I would like to offer them a link for like this for instance: 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!
  14. buysellleasetrade

    Specials to all Products (Seasonal Promotion)

    OK then please clarify for the rest of us what you mean by "truncate" as it relates to the MySQL database that "is" affected by the contribution.
  15. buysellleasetrade

    Specials to all Products (Seasonal Promotion)

    Truncate (SQL) From Wikipedia, the free encyclopedia Jump to: navigation, search In SQL, the TRUNCATE statement removes all the data from a table. The TRUNCATE statement is not actually a part of the SQL standard, but many relational database management systems implement it. [1][2] A TRUNCATE my_table; is is equivalent in function to a DELETE FROM my_table; statement. However, on some systems, it is implemented differently. For example, in Oracle the truncate statement implies a commit and cannot be undone. The syntax for issuing a truncate command on a table could be implemented as: Truncate Table [schema][.] <table_name>;
  16. buysellleasetrade

    Specials to all Products (Seasonal Promotion)

    Each time since I ran your contribution I cannot add any specials manually, as each time that I do my ENTIRE databse locks up and none of my customers can access it nor can I. As soon as I delete the special item everything returns to normal. My question was what does your script affect in the database? What tables? what new columns? Tell me what is affected in the databse whenyour script is run and I will adjust it. I cannot live without my specials as it is a main driver of traffic to my site. The "core' oscommerce installation database? Dont you mean a clean install. No... My core installation is not and was not a clean install. Had I know Your contrib was based on a clean install I would have waited for cut and paste instructions which are currently not included in your contribution. I assumed so stain on me but please help me find out what is affected in the database. Thanks.
  17. buysellleasetrade

    Specials to all Products (Seasonal Promotion)

    What column or columns can I remove that was added to my database when I ran specials_all.php? The reason I need to remove them is now when I add a special manually it locks up the table.
  18. buysellleasetrade

    Specials to all Products (Seasonal Promotion)

    ** NOTED: The Remove button will truncate the specials tables. How do we remove the truncation?
  19. buysellleasetrade

    Specials to all Products (Seasonal Promotion)

    Are you trying to say that the specials will not expire?
×