Dear Hossein,
Hossein Rafighi wrote:
2) I believe, once that is done, then all I need to do is follow the
steps provided
for BibHarvest Admin Guide at:
http://invenio.triumf.ca/help/admin/bibharvest-admin-guide
Please feel free to correct me if I am wrong?
I cannot answer for the Indico part, but your second step seems all
right.
However please note that a bug affecting CDS Invenio v0.99.0 prevents
adding new OAI sources in the BibHarvest interface. I have attached a
patch that fixes this problem. You can also expect a new release of
CDS Invenio soon that will fix this issue.
Also note that the BibHarvest admin guide has broken links to the
BibConvert admin guide. Your BibConvert admin guide can be found at
this URL:
<http://invenio.triumf.ca/help/admin/bibconvert-admin-guide>.
This guide could be needed for the conversion step after the
harvesting, though you might just use the provided XSL template (in
/opt/cds-invenio/etc/bibconvert/config/oaimarc2marcxml.xsl) for the
conversion from OAImarc to marcxml.
Best regards,
Jerome
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>
Index: bibharvestadminlib.py
===================================================================
--- bibharvestadminlib.py 12 Mar 2008 16:47:44 -0000 1.35
+++ bibharvestadminlib.py 4 Apr 2008 13:32:15 -0000 1.36
@@ -445,8 +445,8 @@
else:
lastrun_mode = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
# lastrun_mode = "'"+lastrun_mode+"'"
- sql = "INSERT INTO oaiHARVEST (id, baseurl, metadataprefix, arguments,
comment, bibconvertcfgfile, name, lastrun, frequency, postprocess,
bibfilterprogram, setspecs) VALUES (0, %s, %s, NULL, NULL, %s, %s, %s, %s, %s,
%s, %s)", (oai_src_baseurl, oai_src_prefix, oai_src_config, oai_src_name,
lastrun_mode, oai_src_frequency, oai_src_post, oai_src_bibfilter, "
".join(oai_src_sets))
- res = run_sql(sql)
+ run_sql("INSERT INTO oaiHARVEST (id, baseurl, metadataprefix,
arguments, comment, bibconvertcfgfile, name, lastrun, frequency,
postprocess, bibfilterprogram, setspecs) VALUES (0, %s, %s, NULL, NULL, %s,
%s, %s, %s, %s, %s, %s)", \
+ (oai_src_baseurl, oai_src_prefix, oai_src_config,
oai_src_name, lastrun_mode, oai_src_frequency, oai_src_post, oai_src_bibfilter,
" ".join(oai_src_sets)))
return (1, "")
except StandardError, e:
return (0, e)