<div dir="ltr">C:\usr\koha228\scripts\misc\migration_tools>perl bulkmarcimport.pl -file filename.mrc<br><br>where filename.mrc is the filename of your data file in marc format<br><br>Ata<br>LISolutions.org<br><br><br><br>
<div class="gmail_quote">On Thu, Sep 4, 2008 at 9:26 AM, thandu venkat narayana <span dir="ltr"><<a href="mailto:thandu_venkat@yahoo.com">thandu_venkat@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<div>Dear All,</div>
<div> </div>
<div>I am using koha 2.2.8 on windows, </div>
<div>How to use bulkmarcimport.pl to add library records.</div>
<div> </div>
<div>Regards</div>
<div> </div>
<div><font color="#ff40ff"><b>T.Venkat Narayana</b></font></div>
<div>M.A.,M.L.I.Sc.;PGDLAN,</div>
<div>Assistant Librarian,</div>
<div>Sri Venkateswara Engineering College,</div>
<div>SURYAPET - A.P.</div>
<div>INDIA</div><br><br>--- On <b>Wed, 3/9/08, koha-request@lists.katipo.co..nz <i><<a href="mailto:koha-request@lists.katipo.co.nz" target="_blank">koha-request@lists.katipo.co.nz</a>></i></b> wrote:<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">From: <a href="mailto:koha-request@lists.katipo.co.nz" target="_blank">koha-request@lists.katipo.co.nz</a> <<a href="mailto:koha-request@lists.katipo.co.nz" target="_blank">koha-request@lists.katipo.co.nz</a>><br>
Subject: Koha Digest, Vol 35, Issue 8<br>To: <a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a><br>Date: Wednesday, 3 September, 2008, 6:47 PM<br><br><pre>Send Koha mailing list submissions to
        <a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a>
To subscribe or unsubscribe via the World Wide Web, visit
        <a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
or, via email, send a message with subject or body 'help' to
        <a href="mailto:koha-request@lists.katipo.co.nz" target="_blank">koha-request@lists.katipo.co.nz</a>
You can reach the person managing the list at
        <a href="mailto:koha-owner@lists.katipo.co.nz" target="_blank">koha-owner@lists.katipo.co.nz</a>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha digest..."
Today's Topics:
1. migrating winisis data into koha (Zahir Husain Mohamed Ismail)
2. Quesitons about make_spellcheck_suggest.pl (Brendan Gallagher)
3. Re: Quesitons about make_spellcheck_suggest.pl (Jesse Weaver)
4. Re: Quesitons about make_spellcheck_suggest.pl (Brendan Gallagher)
----------------------------------------------------------------------
Message: 1
Date: Wed, 3 Sep 2008 10:11:46 +0530
From: "Zahir Husain Mohamed Ismail" <<a href="mailto:shammyac@gmail.com" target="_blank">shammyac@gmail.com</a>>
Subject: [Koha] migrating winisis data into koha
To: <a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a>
Cc: <a href="mailto:venkat_222002@yahoo.co.in" target="_blank">venkat_222002@yahoo.co.in</a>
Message-ID:
        <<a href="mailto:ec9076c00809022141j7d73da5anf94290dc79c830e9@mail.gmail.com" target="_blank">ec9076c00809022141j7d73da5anf94290dc79c830e9@mail.gmail.com</a>>
Content-Type: text/plain; charset="iso-8859-1"
Dear friends
I received ur mail thanks a lot
Rehamn i have been find ur solution i mean
C:\usr\koha228\scripts\misc\migration_tools>perl
bulkmarcimport.pl -
but how to import my *finaldata.mrc* in to this folder
its i can't understand please help me step by step its grate help for me
and
my institution
i have been import my (*finaldata.mrc*) Koha Reservior through the web
interface.
but its not import by this way and i received following massage
*Import results :*
*300 imported records*
*0 not imported because already in DB*
*0 not imported because already in farm*
*0 not imported because they seems not to be MARC format (or ISBN/ISSN
missing) !*
*300 records parsed*
*Back* <<a href="http://intranet/cgi-bin/koha/admin-home.pl" target="_blank">http://intranet/cgi-bin/koha/admin-home.pl</a>>* *
*therefore please help me how to import tis file *
please reply me
--
<><><><><><><><><><><><><><><><><><><><><><><><>
"Trust in God. Always !"
(?`?.???) Always
`?.?(?`?.???) Keep
(?`?.???)?.?? Smiling!
`?.?.??
M.I.Zahir Hussain
Library Assiatant
Science Library
Faculty of Applied Sciences
South Eastern University of Sri Lanka
University Park
Sammanthurai # 32200
T.P. Office : 067 2260717
Home : 067 2261283
Mobile : 077 3305920
e-mail : <a href="mailto:shammyac@gmail.com" target="_blank">shammyac@gmail.com</a>
: <a href="mailto:shammyac@seu.ac.lk" target="_blank">shammyac@seu.ac.lk</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<a href="http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/c585f589/attachment-0001.htm" target="_blank">http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/c585f589/attachment-0001.htm</a>
------------------------------
Message: 2
Date: Wed, 3 Sep 2008 14:25:59 -0400
From: Brendan Gallagher <<a href="mailto:gallabr@biblio.org" target="_blank">gallabr@biblio.org</a>>
Subject: [Koha] Quesitons about make_spellcheck_suggest.pl
To: Koha Mailing List <<a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a>>
Cc: Amy Terlaga <<a href="mailto:terlaga@biblio.org" target="_blank">terlaga@biblio.org</a>>
Message-ID: <<a href="mailto:F4D6FA5C-1309-4462-A0D9-C60C018D0111@biblio.org" target="_blank">F4D6FA5C-1309-4462-A0D9-C60C018D0111@biblio.org</a>>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi All -
I've been snooping around in the make_spellcheck_suggest.pl perl
script and I've developed a few questions.
Looks like the script was originally written for Koha 2.4 CVS and
hasn't quite been updated yet.
I've been working my way through updating the script (I'm on perl 5.10
and koha 3.1).
Ok, my question is (or if someone has a better recommendation of a
different path I should be chasing or working towards developing)
Could someone lead me to the new mysql database tables for marc_word
(or another equivalent) and correct me if I am wrong but I am equating
"marc_subfield_table" with the newer mysql table
marc_subfield_structure (plus i need to change subfieldvalue to either
tagfield or tagsubfield). Below is the current part of the script
that I am referencing,
"
my $query_words = "SELECT DISTINCT word, COUNT(word) FROM marc_word";
my $query_marc_subfields = "SELECT DISTINCT subfieldvalue,
COUNT(subfieldvalue) FROM marc_subfield_table";
my $query_titles = "SELECT DISTINCT title, COUNT(title) FROM biblio
GROUP BY title";
my $query_authors = "SELECT DISTINCT author, COUNT(author) FROM biblio
GROUP BY author";
"
I do have the fuzzy searching set for my opac --> but I am just
looking a little bit more (and some of my searches dealing with these
"spellcheck" suggestions are working - you can see that I have got it
to populate some information in mysql database).
Here is a copy of the message I get when executing this script. and I
want to get ride of the "excute failed" -parts.
Step 1 of 5: Checking to make sure suggest tables exist
Use of uninitialized value $_ in pattern match (m//) at
make_spellcheck_suggest.pl line 99.
All tables present ... moving along
Step 2 of 5: Deleting old data
Step 3 of 5: Creating non-distinct table from various Koha tables
Finished building marc_word list
Adding marc_word entries with the following tagsubfields:020a, 100a,
110a, 130a, 240a, 245a, 245b, 245c, 245p, 246a, 246b, 440a, 440p,
505t, 511a, 534a, 600a, 610a, 611a, 630a, 650a, 651a, 700a, 710a,
730a, 740a, 800a, 830a,
DBD::mysql::st execute failed: Unknown column 'tagsubfield' in
'where
clause' at make_spellcheck_suggest.pl line 173.
DBD::mysql::st fetchrow_array failed: fetch() without execute() at
make_spellcheck_suggest.pl line 179.
0 more records added...
Finished building marc_subfield_table list
Adding marc_subfield_table entries with the following tags and
subfields:020, a, 100, a, 110, a, 130, a, 240, a, 245, a, 245, b, 245,
c, 245, p, 246, a, 246, b, 440, a, 440, p, 505, t, 511, a, 534, a,
600, a, 610, a, 611, a, 630, a, 650, a, 651, a, 700, a, 710, a, 730,
a, 740, a, 800, a, 830, a,
DBD::mysql::st execute failed: Table 'koha.marc_subfield_table'
doesn't exist at make_spellcheck_suggest.pl line 173.
DBD::mysql::st fetchrow_array failed: fetch() without execute() at
make_spellcheck_suggest.pl line 179.
0 more records added...
57708 more records added...
83598 more records added...
Step 4 of 5: Deleting old distinct entries
Step 5 of 5: Creating distinct spellcheck table out of non-distinct
table
Finished: total distinct items added to spellcheck: 81520
Thanks,
+++++++++++++++++++++++++++++++++++++++++++
Brendan A. Gallagher
Software Services Coordinator
Bibliomation, INC.
Middlebury, CT 06516
<a href="http://www.biblio.org" target="_blank">http://www.biblio.org</a>
(203)577-4070 x119
+++++++++++++++++++++++++++++++++++++++++++
------------------------------
Message: 3
Date: Wed, 3 Sep 2008 12:44:27 -0600
From: "Jesse Weaver" <<a href="mailto:jesse.weaver@liblime.com" target="_blank">jesse.weaver@liblime.com</a>>
Subject: Re: [Koha] Quesitons about make_spellcheck_suggest.pl
To: "Brendan Gallagher" <<a href="mailto:gallabr@biblio.org" target="_blank">gallabr@biblio.org</a>>
Cc: Koha Mailing List <<a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a>>,        Amy Terlaga
        <<a href="mailto:terlaga@biblio.org" target="_blank">terlaga@biblio.org</a>>
Message-ID:
        <<a href="mailto:6bd6de210809031144t68efd2a2mfc20b1edbfa14468@mail.gmail.com" target="_blank">6bd6de210809031144t68efd2a2mfc20b1edbfa14468@mail.gmail.com</a>>
Content-Type: text/plain; charset="utf-8"
On Wed, Sep 3, 2008 at 12:25 PM, Brendan Gallagher
<<a href="mailto:gallabr@biblio.org" target="_blank">gallabr@biblio.org</a>>wrote:
> Hi All -
>
> I've been snooping around in the make_spellcheck_suggest.pl perl
> script and I've developed a few questions.
>
> Looks like the script was originally written for Koha 2.4 CVS and
> hasn't quite been updated yet.
> I've been working my way through updating the script (I'm on perl
5.10
> and koha 3.1).
>
> Ok, my question is (or if someone has a better recommendation of a
> different path I should be chasing or working towards developing)
>
> Could someone lead me to the new mysql database tables for marc_word
> (or another equivalent) and correct me if I am wrong but I am equating
> "marc_subfield_table" with the newer mysql table
> marc_subfield_structure (plus i need to change subfieldvalue to either
> tagfield or tagsubfield). Below is the current part of the script
> that I am referencing,
marc_subfield_structure is present in both versions, and is different from
_table. It holds framework information (description of MARC subfields, and
what they mean, like the title or author), rather than the values of those
fields for any given record.
>
> "
> my $query_words = "SELECT DISTINCT word, COUNT(word) FROM
marc_word";
> my $query_marc_subfields = "SELECT DISTINCT subfieldvalue,
> COUNT(subfieldvalue) FROM marc_subfield_table";
> my $query_titles = "SELECT DISTINCT title, COUNT(title) FROM biblio
> GROUP BY title";
> my $query_authors = "SELECT DISTINCT author, COUNT(author) FROM
biblio
> GROUP BY author";
> "
>
> I do have the fuzzy searching set for my opac --> but I am just
> looking a little bit more (and some of my searches dealing with these
> "spellcheck" suggestions are working - you can see that I have
got it
> to populate some information in mysql database).
>
> Here is a copy of the message I get when executing this script. and I
> want to get ride of the "excute failed" -parts.
>
> Step 1 of 5: Checking to make sure suggest tables exist
> Use of uninitialized value $_ in pattern match (m//) at
> make_spellcheck_suggest.pl line 99.
> All tables present ... moving along
> Step 2 of 5: Deleting old data
> Step 3 of 5: Creating non-distinct table from various Koha tables
> Finished building marc_word list
> Adding marc_word entries with the following tagsubfields:020a, 100a,
> 110a, 130a, 240a, 245a, 245b, 245c, 245p, 246a, 246b, 440a, 440p,
> 505t, 511a, 534a, 600a, 610a, 611a, 630a, 650a, 651a, 700a, 710a,
> 730a, 740a, 800a, 830a,
> DBD::mysql::st execute failed: Unknown column 'tagsubfield' in
'where
> clause' at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> Finished building marc_subfield_table list
> Adding marc_subfield_table entries with the following tags and
> subfields:020, a, 100, a, 110, a, 130, a, 240, a, 245, a, 245, b, 245,
> c, 245, p, 246, a, 246, b, 440, a, 440, p, 505, t, 511, a, 534, a,
> 600, a, 610, a, 611, a, 630, a, 650, a, 651, a, 700, a, 710, a, 730,
> a, 740, a, 800, a, 830, a,
> DBD::mysql::st execute failed: Table 'koha.marc_subfield_table'
> doesn't exist at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> 57708 more records added...
> 83598 more records added...
> Step 4 of 5: Deleting old distinct entries
> Step 5 of 5: Creating distinct spellcheck table out of non-distinct
> table
> Finished: total distinct items added to spellcheck: 81520
>
Koha 3.0's new database schema does make this a bit harder; the script
would
have to parse the record from the biblioitems.marcxml or biblioitems.marc
column, then find the words within that to add to the relevant tables.
>
>
> Thanks,
>
> +++++++++++++++++++++++++++++++++++++++++++
> Brendan A. Gallagher
> Software Services Coordinator
> Bibliomation, INC.
> Middlebury, CT 06516
> <a href="http://www.biblio.org" target="_blank">http://www.biblio.org</a>
> (203)577-4070 x119
> +++++++++++++++++++++++++++++++++++++++++++
>
>
--
Jesse Weaver
Software Developer, LibLime
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<a href="http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/9b394fdf/attachment-0001.htm" target="_blank">http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/9b394fdf/attachment-0001.htm</a>
------------------------------
Message: 4
Date: Wed, 3 Sep 2008 14:47:34 -0400
From: Brendan Gallagher <<a href="mailto:gallabr@biblio.org" target="_blank">gallabr@biblio.org</a>>
Subject: Re: [Koha] Quesitons about make_spellcheck_suggest.pl
To: "Jesse Weaver" <<a href="mailto:jesse.weaver@liblime.com" target="_blank">jesse.weaver@liblime.com</a>>
Cc: Koha Mailing List <<a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a>>,        Amy Terlaga
        <<a href="mailto:terlaga@biblio.org" target="_blank">terlaga@biblio.org</a>>
Message-ID: <<a href="mailto:B9F89948-FD35-4FB4-8C78-4D63ED69B130@biblio.org" target="_blank">B9F89948-FD35-4FB4-8C78-4D63ED69B130@biblio.org</a>>
Content-Type: text/plain; charset="us-ascii"
Thanks for the lead Jesse --
I'll continue to mess around with these and see what I can develop.
-Brendan
On Sep 3, 2008, at 2:44 PM, Jesse Weaver wrote:
> On Wed, Sep 3, 2008 at 12:25 PM, Brendan Gallagher
> <<a href="mailto:gallabr@biblio.org" target="_blank">gallabr@biblio.org</a>> wrote:
> Hi All -
>
> I've been snooping around in the make_spellcheck_suggest.pl perl
> script and I've developed a few questions.
>
> Looks like the script was originally written for Koha 2.4 CVS and
> hasn't quite been updated yet.
> I've been working my way through updating the script (I'm on perl
5.10
> and koha 3.1).
>
> Ok, my question is (or if someone has a better recommendation of a
> different path I should be chasing or working towards developing)
>
> Could someone lead me to the new mysql database tables for marc_word
> (or another equivalent) and correct me if I am wrong but I am equating
> "marc_subfield_table" with the newer mysql table
> marc_subfield_structure (plus i need to change subfieldvalue to either
> tagfield or tagsubfield). Below is the current part of the script
> that I am referencing,
>
> marc_subfield_structure is present in both versions, and is
> different from _table. It holds framework information (description
> of MARC subfields, and what they mean, like the title or author),
> rather than the values of those fields for any given record.
>
>
> "
> my $query_words = "SELECT DISTINCT word, COUNT(word) FROM
marc_word";
> my $query_marc_subfields = "SELECT DISTINCT subfieldvalue,
> COUNT(subfieldvalue) FROM marc_subfield_table";
> my $query_titles = "SELECT DISTINCT title, COUNT(title) FROM biblio
> GROUP BY title";
> my $query_authors = "SELECT DISTINCT author, COUNT(author) FROM
biblio
> GROUP BY author";
> "
>
> I do have the fuzzy searching set for my opac --> but I am just
> looking a little bit more (and some of my searches dealing with these
> "spellcheck" suggestions are working - you can see that I have
got it
> to populate some information in mysql database).
>
> Here is a copy of the message I get when executing this script. and I
> want to get ride of the "excute failed" -parts.
>
> Step 1 of 5: Checking to make sure suggest tables exist
> Use of uninitialized value $_ in pattern match (m//) at
> make_spellcheck_suggest.pl line 99.
> All tables present ... moving along
> Step 2 of 5: Deleting old data
> Step 3 of 5: Creating non-distinct table from various Koha tables
> Finished building marc_word list
> Adding marc_word entries with the following tagsubfields:020a, 100a,
> 110a, 130a, 240a, 245a, 245b, 245c, 245p, 246a, 246b, 440a, 440p,
> 505t, 511a, 534a, 600a, 610a, 611a, 630a, 650a, 651a, 700a, 710a,
> 730a, 740a, 800a, 830a,
> DBD::mysql::st execute failed: Unknown column 'tagsubfield' in
'where
> clause' at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> Finished building marc_subfield_table list
> Adding marc_subfield_table entries with the following tags and
> subfields:020, a, 100, a, 110, a, 130, a, 240, a, 245, a, 245, b, 245,
> c, 245, p, 246, a, 246, b, 440, a, 440, p, 505, t, 511, a, 534, a,
> 600, a, 610, a, 611, a, 630, a, 650, a, 651, a, 700, a, 710, a, 730,
> a, 740, a, 800, a, 830, a,
> DBD::mysql::st execute failed: Table 'koha.marc_subfield_table'
> doesn't exist at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> 57708 more records added...
> 83598 more records added...
> Step 4 of 5: Deleting old distinct entries
> Step 5 of 5: Creating distinct spellcheck table out of non-distinct
> table
> Finished: total distinct items added to spellcheck: 81520
>
> Koha 3.0's new database schema does make this a bit harder; the
> script would have to parse the record from the biblioitems.marcxml
> or biblioitems.marc column, then find the words within that to add
> to the relevant tables.
>
>
>
> Thanks,
>
> +++++++++++++++++++++++++++++++++++++++++++
> Brendan A. Gallagher
> Software Services Coordinator
> Bibliomation, INC.
> Middlebury, CT 06516
> <a href="http://www.biblio.org" target="_blank">http://www.biblio.org</a>
> (203)577-4070 x119
> +++++++++++++++++++++++++++++++++++++++++++
>
>
> --
> Jesse Weaver
> Software Developer, LibLime
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<a href="http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/47dca8fd/attachment.htm" target="_blank">http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/47dca8fd/attachment.htm</a>
------------------------------
_______________________________________________
Koha mailing list
<a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
End of Koha Digest, Vol 35, Issue 8
***********************************
</pre></blockquote></td></tr></tbody></table><div class="WgoR0d"><br>
<hr size="1"> Connect with friends all over the world. <a href="http://in.rd.yahoo.com/tagline_messenger_1/*http://in.messenger.yahoo.com/?wm=n/" target="_blank"> Get Yahoo! India Messenger.</a></div><br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br></div>