You are here:  » Include/Exclude Feed (Merchant)


Include/Exclude Feed (Merchant)

Submitted by Retro135 on Fri, 2015-07-03 12:13 in

How do I include (or exclude) datafeeds (merchant) for a category or sub-category?

There are feeds (merchants) that may have only a couple of items for a keyword & I don't want to send readers to those merchants.

Submitted by support on Fri, 2015-07-03 14:15

Hi,

Drop Record RegExp / Drop Record If Not RegExp can be used to include or exclude categories from a specific feed.

For example, to import everything _except_ Category 1 and Category 2 from a feed, go to Filters alongside the feed and add a new Drop Record RegExp filter to the Category field, and in the text box on the configuration page for the filter enter:

(Category 1|Category 2)

To import _only_ Category 1 and Category 2, use a Drop Record If Not Regexp filter instead, and the same value on the configuration page.

In this form of RegExp, the brackets contain a pipe-separated list of multiple values to match...

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by Retro135 on Fri, 2015-07-03 16:38

Still trying to wrap my mind around this. Can you give me an example of how to not import anything from a feed?

Submitted by support on Fri, 2015-07-03 16:54

Hi Retro135,

To remove a feed from your site, firstly delete the feed from the /feeds/ folder and then go to the /admin/ home page, where you will now see a "De-Register" button alongside the feed filename. Click De-Register to completely remove all products from that feed from your site.

If you are working with multi-merchant feeds, and there is a specific merchant that you do not wish to include, then as with the suggestions above regarding category inclusion / exclusion you could add a "Drop Record" filter to the Merchant field of the feed, and in the text box on the configuration page for the filter simply enter the merchant name that you wish to exclude from that feed.

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by Retro135 on Mon, 2015-07-06 18:16

Sorry, I didn't ask my question correctly. Ack, I have to filter out categories from feeds. To filter out dozens of categories from dozens of feeds...nightmare.

For example, with Cat 1, I use merchant feeds 1, 2, 5, 18 & 22. With Cat 2, I use feeds 1, 3, 12, 13, 24, 33 & 45.

I hope there is some magical way to specify with Cat 1, I want to only use feeds 1, 2, 5, 18 & 22.

Submitted by support on Tue, 2015-07-07 08:14

Hi,

Selective import would need to be entered on a per-feed basis using Drop Record If Not RegExp, as filters are applied before mapping, and this is where the Imported Analysis tool comes in handy.

What I would suggest; is have to have 2 admin windows open. In the first window, for each feed you need manage go to Filters and create (if not done so already) a new Drop Record If Not RegExp filter against the Category field.

In the second window, go to Tools > Feed Utilities, and for the same feed, go to Imported Analysis, and then click on the Category heading. This will open up a single page showing the complete list of categories from that feed. Then, copy and paste categories from this list into the configuration page for the Drop Record If Not RegExp filter using the format:

(Cat 1|Cat 2|Cat 3|etc.)

Save the filter, and upon next import, only those categories listed will be imported for that feed...

Hope this helps!

Cheers,
David.
--
PriceTapestry.coma