csv_export_documentation:csv_request_and_response
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
csv_export_documentation:csv_request_and_response [2019/05/16 16:46] florian |
csv_export_documentation:csv_request_and_response [2020/06/16 15:53] (current) amil |
||
---|---|---|---|
Line 2: | Line 2: | ||
Due to run-time restrictions, an export must be sequentially callable.\\ | Due to run-time restrictions, an export must be sequentially callable.\\ | ||
- | For this purpose, a start URL must be provided. The next URL to be called is indicated by ''Location''-Header (HTTP location).((This start URL can be entered in the FINDOLOGIC customer account in the export URL field under "Settings" –> "Import/Export" –> "Export".))\\ | + | For this purpose, a start URL must be provided. The next URL to be called is indicated by ''Location''-Header (HTTP location).((This start URL can be entered in the Findologic customer account in the export URL field under "Settings" –> "Import/Export" –> "Export".))\\ |
This redirection is followed until a ''Location''-Header is no longer returned. | This redirection is followed until a ''Location''-Header is no longer returned. | ||
Line 16: | Line 16: | ||
* Determines the interval size / number of items to be exported. | * Determines the interval size / number of items to be exported. | ||
* ''shopkey'' | * ''shopkey'' | ||
- | * Determines the corresponding FINDOLOGIC service for the items to be exported. | + | * Determines the corresponding Findologic service for the items to be exported. |
- | * A separate FINDOLOGIC service is required for each language and subshop. | + | * A separate Findologic service is required for each language and subshop. |
* ''language'' | * ''language'' | ||
* Determines the language of the items to be exported. | * Determines the language of the items to be exported. | ||
+ | |||
+ | <note>Please make sure to whitelist the HTTP user agent "Findologic" if you are restricting access to the export via user agents.</note> | ||
---- | ---- | ||
Line 48: | Line 50: | ||
==== CSV file ==== | ==== CSV file ==== | ||
- | The item data is being exported to a CSV file according to a corresponding [[export_patterns:csv|format]]. \\ | + | The item data is being exported to a CSV file according to a corresponding [[csv_export_documentation:csv_format|format]]. \\ |
The file name has to be put out after the export (see example below). | The file name has to be put out after the export (see example below). | ||
Line 79: | Line 81: | ||
- Start | - Start | ||
- | * The export URL is called by FINDOLOGIC with the parameters described above. | + | * The export URL is called by Findologic with the parameters described above. |
* Call: ''<nowiki>http://www.example.com/findologic_export.php?start=0&limit=100&language=de&shopkey=ABCDABCDABCDABCDABCDABCDABCDABCD</nowiki>'' | * Call: ''<nowiki>http://www.example.com/findologic_export.php?start=0&limit=100&language=de&shopkey=ABCDABCDABCDABCDABCDABCDABCDABCD</nowiki>'' | ||
- Initialisation | - Initialisation | ||
Line 104: | Line 106: | ||
FILE: <PFAD_ZUR_CSV>/<CSV_DATEINAME></code> | FILE: <PFAD_ZUR_CSV>/<CSV_DATEINAME></code> | ||
- Download | - Download | ||
- | * The ''CSV'' just created is imported by FINDOLOGIC. | + | * The ''CSV'' just created is imported by Findologic. |
- | * The product indexing is started by FINDOLOGIC. | + | * The product indexing is started by Findologic. |
---- | ---- | ||
Line 135: | Line 137: | ||
=== .htaccess protection === | === .htaccess protection === | ||
- | The export script can also be in a .htaccess-protected area. For this purpose, you can store a user name and password in the FINDOLOGIC customer account under //Settings -> Import/Export -> Export Settings//. | + | The export script can also be in a .htaccess-protected area. For this purpose, you can store a user name and password in the Findologic customer account under //Settings -> Import/Export -> Export Settings//. |
\\ | \\ |