CSV-filter review

Главные вкладки

Аватар пользователя axel axel 12 декабря 2004 в 21:54

CSV (comma separated) tables may be convenient to export from office packages (like OpenOffice, Koffice etc.). The csvfilter allows to use this exported data in Drupal nodes, simply inserting them through clipboard. If place data between [СSV] ... [/СSV] (BBCode style tags), then filter try to interprete data as CSV-table and represents it as HTML-table. In filter options you may set alternative separators, sorting column etc. (see filter help for full options list). Module may be usefull for price-list publication and other commercial data.

Project page: http://drupal.org/node/view/9165

Example of data:

[СSV unquoted sep=; sortby=1]
title №1;title №2;title №3
1;String 1;1.2
3;String 3;тест
2;String 2;3.2
[/СSV]

Note: text in example above specially placed with one wrong letter (first letter in 'CSV' tag is Russian 'С'), that
not be filtered, dont't try to use it. Right text placed below and as you see it filtered).

In result we get:

[CSV unquoted sep=; sortby=1]
title №1;title №2;title №3
1;String 1;1.2
3;String 3;тест
2;String 2;3.2
[/CSV]