SourceForge has been redesigned. Learn more.
Close

#51 Upload CSV - Migration helper

open
nobody
None
5
2008-06-23
2008-06-23
H.-J. Tappe
No

This patch adds a biblio CSV import which can be used for library migration to openbiblio.

The CSV import file must be a tab separated file (use any parser-converter to convert your CSV file to the usable format). It can include barcode numbers to
ease migration but it does not yet handle duplicates cleanly (currently, it will add a complete entry, not just a copy).

The import page describes the column names understood by the import tool. Most are represented by the MARC identifier, other (openbiblio-special enries) carry
own column names.

Before import, a dry-run feature is available (like in the MARC import) to check for a lot of error conditions (missing mandatory data).

Translation-ready (en part of this patch).

Discussion

<< < 1 2 3 (Page 3 of 3)
  • H.-J. Tappe

    H.-J. Tappe - 2009-02-11

    This patch adds a biblio CSV *import*, not any kind of export. Exports *to* CSV can be done via reports.

    This patch modifies several files. There is no less-technical way of including the patch than understanding the patch file format or "simply" using a patch program (ask wikipedia or hire an IT consultant).

     
  • Arash

    Arash - 2011-10-21

    Hi,

    Can you please show me how to install this patch, i couldn't find any HowTo file inside the zip file? This is how i did but it didn't work.

    krator@laptop:/var/www/openbiblio$ patch -p1 < upload_csv.patch-0.6.X-3/upload_csv.patch
    patching file openbiblio/catalog/upload_csv_form.php
    patching file openbiblio/catalog/upload_csv.php
    can't find file to patch at input line 638
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |Index: quilt/openbiblio/navbars/cataloging.php
    |===================================================================
    |--- quilt.orig/openbiblio/navbars/cataloging.php 2008-06-16 21:06:52.000000000 +0200
    |+++ quilt/openbiblio/navbars/cataloging.php 2008-06-16 21:07:02.000000000 +0200
    --------------------------
    File to patch:

    Thank you

     
  • Hans van der Weij

    For easier installing on version 0.7.X: applied the patch to 0.7.1. The changed and new files are available in upload_csv.files-0.7.X-3.zip

     
  • Stephanie

    Stephanie - 2012-08-24

    Hi,
    I've been getting this warning and I was wondering if anyone had some advice.
    Warning: Missing argument 1 for BiblioCopy::validateData(), called in C:\xampp\htdocs\openbiblio\catalog\upload_csv.php on line 275 and defined in C:\xampp\htdocs\openbiblio\classes\BiblioCopy.php on line 43

    Thanks!

     
  • Michael Roush

    Michael Roush - 2013-05-22

    sosley,

    I am getting the same warning:

    Warning: Missing argument 1 for BiblioCopy::validateData(), called in
    C:\xampp\htdocs\openbiblio\catalog\upload_csv.php on line 275 and defined
    in C:\xampp\htdocs\openbiblio\classes\BiblioCopy.php on line 43

    It only happens when my .csv file includes a column for "barCo". When I remove that column, the file tests just fine.

    The problem is, without the "barCo" field, I'm entering a bunch of call numbers without having any actual copies of anything to check out. I can't tell if the problem is because the software won't create a "barcode" entry for an item it thinks doesn't exist, or if something else is going haywire.

    I've got 7500 entries, and I really don't want to have to enter them all by hand... or create loanable copies of them all by hand either.

     
<< < 1 2 3 (Page 3 of 3)

Log in to post a comment.