Turbolister CSV conversion to magmi, starting from an existing script

I have an already working script but I would like to add some features. The script basically can convert a CSV in turbolister format in magmi csv format.

I need

1. To optimize memory performance. Now the script load the whole csv into an array, I want it to process che csv line by line, to avoit php memory limit problems

2. import ebay category 1 path into categories field: to get full path of ebay category we need to call an api like this

[url removed, login to view]

that will response with this XML, where CategoryIDPath is the full path of ebay category.

Basically we need to get the full category path by name, so this category path



Libri e riviste/Letteratura e narrativa/Poesia e teatro

<GetCategoryInfoResponse><Timestamp>2015-12-12T15:36:[url removed, login to view]</Timestamp><Ack>Success</Ack><Build>E949_CORE_APILW_17769283_R1</Build><Version>949</Version><CategoryArray><Category><CategoryID>11431</CategoryID><CategoryLevel>3</CategoryLevel><CategoryName>Poesia e teatro</CategoryName><CategoryParentID>171228</CategoryParentID><CategoryNamePath>Libri e riviste:Letteratura e narrativa:Poesia e teatro</CategoryNamePath><CategoryIDPath>267:171228:11431</CategoryIDPath><LeafCategory>true</LeafCategory></Category></CategoryArray><CategoryCount>1</CategoryCount><UpdateTime>2015-10-13T02:43:[url removed, login to view]</UpdateTime><CategoryVersion>94</CategoryVersion></GetCategoryInfoResponse>

note that this path should be saved in some way (memory or file) to speed up the search for next item. Think of catalogs with more than 20 thousands items to write in the new csv.

In attachment you will find the script and a sample of the original turbolister csv file

Taidot: Magento, PHP, tietojärjestelmäarkkitehtuuri

Näytä lisää: php script upload heavy csv file, php script dowload database csv, script import access csv files, script export xls csv, perl script mysql imort csv, script parse html csv, script copy folders csv file, php script form data csv, script starting payment processor, convet existing script joomla component

Tietoa työnantajasta:
( 100 arvostelua ) ROMA, Italy

Projektin tunnus: #9140233

Myönnetty käyttäjälle:


A proposal has not yet been provided

€50 EUR 3 päivässä
(615 Arvostelua)

2 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Lo Lisää

€157 EUR 4 päivässä
(135 arvostelua)