From fd41f06056de0f46a11b0f4754815d415f542179 Mon Sep 17 00:00:00 2001 From: Ismael Carnales Date: Wed, 16 Sep 2009 14:19:16 -0300 Subject: [PATCH] added doc on how to enable an Item Pipeline component --- docs/topics/item-pipeline.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rst index 68c6dd4c1..48aa2d00b 100644 --- a/docs/topics/item-pipeline.rst +++ b/docs/topics/item-pipeline.rst @@ -58,6 +58,16 @@ attribute), and drops those items which don't contain a price:: raise DropItem("Missing price in %s" % item) +Activating a Item Pipeline component +==================================== + +To activate an Item Pipeline component you must add its class to the +:setting:`ITEM_PIPELINES` list, like in the following example:: + + ITEM_PIPELINES = [ + 'myproject.pipeline.PricePipeline', + ] + Item pipeline example with resources per domain ===============================================