Hi, is there any possibility to filter out products out of the data feed while parsing it?
If have f.e. a huge "Condor flight offers" product feed with all destinations (>30mb), but need online flights in my product data, which contain the keyword "Las Palmas" or "Gran Canaria"
Thanks for any idea
Hi David,
I wanted to try this, however I don't seem to have a filter "Drop Record (If Not) RegExp" only "Drop Record" or am I doing something wrong?
Any help would be much appreciated.
Kind regards
Hayden
Hello Kayden,
The Drop Record (If Not) RegExp filter was added quite recently. You could just take the latest version from the distribution and upload it over the top of your existing file; or if you have modified your includes/filter.php already and just wanted to add this filter, you'll find the code in this thread...
http://www.pricetapestry.com/node/1551
Cheers,
David.
Thanks David
Once again excellent help.
Kind Regards
Hayden
Hello,
Yes - you can do this with the "Drop Record (If Not) RegExp" filter. You can add this filter to either the Product Name or Description field (click "Filters" alongside the feed on the admin home page, then select the filter type and field and click "Add"), and then in the regular expression box, enter:
(Las Palmas|Gran Canaria)
When importing again, only records with those keywords will be imported.
Hope this helps!
Cheers,
David.