Results 1 to 2 of 2

 

Thread: How to automatically remove a load of products from a datafeed

  1. #1
    This is the one

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2,882
    Thanks
    29
    Thanked 9 Times in 7 Posts


    I have a feed that has about 5000 products but there is 600 of these that I want to be removed.
    I know the 600 individual product ID's but is there a simple way to automatically strip these out of the database in excel or something?

    Cheers
    Wardy

  2. #2
    Brett's Avatar
    Registered User

    Status
    Offline
    Join Date
    Dec 2003
    Location
    Oxford
    Posts
    521
    Thanks
    2
    Thanked 11 Times in 8 Posts
    Is there something common about those product id's?

    Perhaps use stristr to remove them (or not put them in the db in the first place)

    Code:
    $product_name="Test123";
    if (stristr("123",$product_name)) {
    // do nothing 
    }
    
    else {
    //insert in to database
    }
    Anything with 123 in the product title wouldn't be inserted, anything else would.
    Brett



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Lovefilm Retail Datafeed down - 0 Products
    By adrian in forum Affiliate Window & buy.at
    Replies: 2
    Last Post: 05-12-08, 12:46 PM
  2. XML Feeds automatically download
    By Brett in forum Affiliate Marketing Lounge
    Replies: 2
    Last Post: 06-10-08, 09:13 PM
  3. Have my ads automatically triggered merchant ads ? !
    By aotagain in forum Affiliate Marketing Lounge
    Replies: 0
    Last Post: 28-07-08, 02:20 PM
  4. Nearly 2,500 products now available on datafeed and FREE DELIVERY!
    By Orvis UK in forum Affiliate Window & buy.at
    Replies: 0
    Last Post: 22-11-07, 03:18 PM
  5. Getting XML files automatically
    By accelerator in forum Programming
    Replies: 6
    Last Post: 14-09-06, 07:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2