Koha/koha-tmpl/intranet-tmpl/prog/en/css
Salvador Zaragoza Rubio 689bc19154 Bug 5478 - Automate MARC framework import/export
Module to Import/Export a Framework structure to CSV/Excel-xml/ODS/SQL in Intranet Administration - MARC Frameworks section.
    There are two new links: "Export" to export to a format; and "Import" to import from a file.
    The data exported/imported is the one stored in the MySQL tables marc_tag_structure, marc_subfield_structure.

    Exported works as follows:
    1) CSV: As this format only allows one worksheet, the data from the tables is splitted with a row with #-# cells or with the
    names of the fields of the next MySQL table. Each row has as much cells as fields has the MySQL table. The first row contains the
    field names, the remaining holds the data.
    2) Excel: Excel xml 2003 format. Each MySQL table has its own worksheet in the spreadsheet. Rows and cells data as CSV.
    3) ODS: OpenDocument Spreadsheet compressed format, creates a temporary directory to generate the files needed to create the zip file.
    Each MySQL table has its own worksheet in the spreadsheet. Rows and cells data as CSV.
    4) SQL: Text file, the first row for each table is a delete and the remaining are inserts.

    Importing reads the rows from the spreadsheet/text-file as follows:
    1) CSV: Each row inserts or updates the associated MySQL table for this framework. At the end of the importing for a MySQL table, deletes the rows in the database that don't possess a correspondence with the spreadsheet.
    2) Excel: Imports each worksheet to the associated MySQL table. Works as the CSV for each worksheet.
    3) ODS: Creates a temporary directory to decompress and read the content.xml. This file has the data needed to import.
    Works as the CSV for each worksheet.
    4) Executes the SQL file.
    If the file imported has a different frameworkcode that the framework importing, the framecode is changed along the process.

    The Csv format will be the default.
    It uses perl module Archive::Zip or zip/unzip system command to process ODS files.
    To parse the sql files when importing it uses SQL::Statement or homemade parsing.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-01 21:17:33 +13:00
..
pages Follow-up fix for Bug 5285, adding missing CSS 2010-12-19 21:07:51 +13:00
treeview
addbiblio.css Fix for Bug 2122, Grayed out Fields not always visible 2010-11-17 21:21:29 +13:00
blue.css
card.css [10/30] Patron Card Creator home page css 2010-01-11 18:21:11 -05:00
help.css
hierarchy.css
humanmsg.css
intranet-print.css
intranet.css
intranet2.css
intranet2popup.css
label.css
login.css Fix for Bug 5743, 5743 - Make login errors a little nicer 2011-02-14 09:14:46 +13:00
preferences.css Fix for Bug 5532 - sysprefs editor should show names of saved prefs 2011-02-04 13:38:05 +13:00
print.css Fix for Bug 4097, Problems with print stylesheet and add item screen 2010-02-02 18:42:50 -05:00
printreceiptinvoice.css Bug 4440 Layout tweaking follow-up patch 2010-11-18 14:33:29 +13:00
spinelabel.css
staff-global.css Bug 5478 - Automate MARC framework import/export 2011-04-01 21:17:33 +13:00
staff-global2.css