Thread: datafeed help

Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2011
    Posts
    58
    Plugin Contributions
    0

    Default datafeed help

    I have Apsona and easy populate. I always used easy populate but still had a bunch to do and is very timeconsuming.

    My question is, when I get my suppliers datafeed the categorieare written like: "https://mysupplier.com/boom/category | subcat | subcat2 and so on.

    In easy populate I need the categories in a seperate table category-cat2-cat3

    Is there an eas way of doing this on the downloade datafeed besides going back one by oneand changing the whole spreadsheet??

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: datafeed help

    There are several techniques for splitting a text string. And these are techniques used NOT in zencart, but in MS Office.

    In MS Excel, you can split a text string using either FUNCTIONS or by the selection of a COMMON DELIMITER.

    The FUNCTIONS method is detailed and relatively complex and involves using Excel formulae for SEARCH, LEN, and a few others.

    The DELIMITER method will split a string where you define the delimiter as a common character in the column of text. For example, if your supplier splits each character with a / (slash), then you will use the slash as your field delimiter, and each string either side of the slash will be split into the appropriate number of adjacent cells.

    so...
    | category/sub-category/sub-sub-category | in a string, would be split into three adjacent cells, if you were to indicate that the text is delimited by the slash. The resul will be:

    |category | sub-category | sub-sub-category |

    We also use MSWord to split these sorts of things, we COPY the Excel column where all the text is joined, PASTE it into MSWord, and then:

    1. use Convert Table to Text function
    2. use Search and Replace function to FIND the common delimiter (let's say the slash) and to REPLACE it with a TAB CHARACTER. (In the REPLACE field you type ^t.)

    Then, when the SLASHES have been replaced by TABS, we then reverse the TABLE to TEXT, and turn TEXT back to TABLE, this time indicating that the delimiter is a TAB.

    We then get the different bits into separate TABLE COLUMNS.

    We then COPY this table, and PASTE it back into the spreadsheet, making sure to align the pasted cells with the original cell, so that all data is in the correct ROWS.

    We have successfully split co-joined text strings of over 10,000 product lines in under 5 minutes using these techniques.

    So, go learn Excel and MSWord, and make them do the work!
    20 years a Zencart User

  3. #3
    Join Date
    Jan 2011
    Posts
    58
    Plugin Contributions
    0

    Default Re: datafeed help

    Quote Originally Posted by schoolboy View Post
    There are several techniques for splitting a text string. And these are techniques used NOT in zencart, but in MS Office.

    In MS Excel, you can split a text string using either FUNCTIONS or by the selection of a COMMON DELIMITER.

    The FUNCTIONS method is detailed and relatively complex and involves using Excel formulae for SEARCH, LEN, and a few others.

    The DELIMITER method will split a string where you define the delimiter as a common character in the column of text. For example, if your supplier splits each character with a / (slash), then you will use the slash as your field delimiter, and each string either side of the slash will be split into the appropriate number of adjacent cells.

    so...
    | category/sub-category/sub-sub-category | in a string, would be split into three adjacent cells, if you were to indicate that the text is delimited by the slash. The resul will be:

    |category | sub-category | sub-sub-category |

    We also use MSWord to split these sorts of things, we COPY the Excel column where all the text is joined, PASTE it into MSWord, and then:

    1. use Convert Table to Text function
    2. use Search and Replace function to FIND the common delimiter (let's say the slash) and to REPLACE it with a TAB CHARACTER. (In the REPLACE field you type ^t.)

    Then, when the SLASHES have been replaced by TABS, we then reverse the TABLE to TEXT, and turn TEXT back to TABLE, this time indicating that the delimiter is a TAB.

    We then get the different bits into separate TABLE COLUMNS.

    We then COPY this table, and PASTE it back into the spreadsheet, making sure to align the pasted cells with the original cell, so that all data is in the correct ROWS.

    We have successfully split co-joined text strings of over 10,000 product lines in under 5 minutes using these techniques.

    So, go learn Excel and MSWord, and make them do the work!
    THANK YOU SO MUCH!!!!! that is exactly what I needed to know. I knew there had to be a way to do it some how, to turn the one cell feed of "cat|sub|sub" into 3 colums (or 3 cells rather).

    I appreciate the response!

    Hollywood`

 

 

Similar Threads

  1. shopmania datafeed v1.5
    By alimtlai in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 2 Jan 2010, 07:19 AM
  2. Zencart/Easy Populate datafeed help
    By Mholtz2323 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 9 Sep 2009, 10:21 AM
  3. Datafeed
    By ByondF1 in forum General Questions
    Replies: 2
    Last Post: 29 Oct 2008, 06:21 PM
  4. Help customizing a datafeed for Zen Cart
    By sacotechnology in forum General Questions
    Replies: 0
    Last Post: 8 Dec 2007, 05:32 AM

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