added File Export Pipeline reference to Exporters doc

This commit is contained in:
Pablo Hoffman 2009-08-31 21:01:35 -03:00
parent 8d006e9ea1
commit ac8f46ce9e
2 changed files with 9 additions and 1 deletions

View File

@ -17,6 +17,12 @@ different output formats, such as XML, CSV or JSON.
Using Item Exporters
====================
If you are in a hurry, and just want to use an Item Exporter as an :doc:`Item
Pipeline <item-pipeline>` see the :ref:`File Export Pipeline
<file-export-pipeline>`. Otherwise, if you want to know how Item Exporters
work, or need more custom functionality (not covered by the :ref:`File Export
Pipeline <file-export-pipeline>`) continue reading below.
In order to use a Item Exporter, you must instantiate it with its required
args. Different exporters require different args, so check each exporter
documentation to be sure, in :ref:`topics-exporters-reference`. After you have

View File

@ -97,6 +97,8 @@ Built-in Item Pipelines reference
Here is a list of item pipelines bundled with Scrapy.
.. _file-export-pipeline:
File Export Pipeline
--------------------
@ -164,7 +166,7 @@ on the respective Item Exporter to get more info.
the first line. This format requires you to specify the fields to export
using the :setting:`EXPORT_FIELDS` setting.
* ``jsonlines``: uses a :class:`jsonlines.JsonLinesItemExporter`
* ``jsonlines``: uses a :class:`~jsonlines.JsonLinesItemExporter`
* ``pickle``: uses a :class:`PickleItemExporter`