Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 5466 - Acquisitions - ability to set currency in order screens 2011-03-21 16:51:40 +13:00
admin Bug 5478 - Automate MARC framework import/export 2011-04-01 21:17:33 +13:00
authorities Bug 4838 Allow to choose which authority heading to copy into biblio record 2010-12-21 16:50:45 +13:00
basket Bug 5641: Replace Favicon through staff client 2011-03-23 21:41:32 +13:00
batch
catalogue Bug 5973: Add spans to staff client results 2011-04-01 20:06:20 +13:00
cataloguing Merge remote branch 'kc/new/bug_3013' into kcmaster 2011-03-13 14:02:06 +13:00
circ Bug 5952: Add another tab for relatives issues 2011-04-01 21:03:15 +13:00
errors Bug 5530 Follow up 2010-12-22 11:27:55 +13:00
help Bug 5940: Offline Circ & Patron Card Help Files for 3.4 2011-03-31 20:45:35 +13:00
installer
labels Fix for Bug 5818, Date picker broken on label batches 2011-03-05 20:35:57 +13:00
maint Bug 5462: fixed dashes (replaced with _) and fullstops (removed) for variable names 2011-02-03 09:54:50 +00:00
members Bug 5952: Add another tab for relatives issues 2011-04-01 21:03:15 +13:00
offline_circ
patroncards Bug 5370: Fix references to koha.org and other old websites 2010-11-07 19:50:52 +13:00
reports Bug 5838: Format sql outout on guided reports 2011-03-29 09:53:02 +13:00
reserve Bug 5547: Hide Lost Items dev 2011-03-30 20:20:05 +13:00
reviews
rotating_collections Bug 5132 - Misspelled words: Acquistion Succesfully professionnal 2010-10-17 13:51:33 -04:00
serials Bug 5741 - Extra comma causes JavaScript error in Internet Explorer 2011-02-20 20:29:07 +13:00
sms
suggestion Fix for Bug 5828 - notes for purchase suggestions not showing in the staff client 2011-04-01 11:51:48 +13:00
tags bug 5649: changes the white/blacklisting to approved/rejected consistent wording 2011-02-14 10:33:07 +13:00
test bug 5309: Adjust progres bar 2010-10-26 11:20:34 -04:00
tools Bug 5401, WYSIWYG for Koha news: Testing TinyMCE 2011-04-01 20:35:49 +13:00
virtualshelves Bug 5462: fixed dashes (replaced with _) and fullstops (removed) for variable names 2011-02-03 09:54:50 +00:00
z3950
about.tmpl Merge remote branch 'kc/new/bug_2742' into kcmaster 2011-02-28 09:09:33 +13:00
auth.tmpl Fix for Bug 5743, 5743 - Make login errors a little nicer 2011-02-14 09:14:46 +13:00
intranet-main.tmpl Fix for intranet-tmpl had one /TMPL_IF to many 2010-12-14 20:10:59 +13:00