From: Demian K. <dem...@vi...> - 2013-04-12 10:59:03
|
Looks like Filipe has taken care of your problems (thanks, Filipe!), but just one more comment in case you ever need to work with OAI in the future: I think part of your problem may also be that you didn't give your settings a section name... so where you have "; [section_name]" you should have something like: [Koha] ... this is what tells the harvest tool where to put the harvested records (it uses a directory that matches the name of the configuration section). - Demian ________________________________________ From: schnydszch [eug...@ya...] Sent: Thursday, April 11, 2013 9:27 PM To: vuf...@li... Subject: [VuFind-General] Vufind, Koha and OAI Good day vufind users and developers. I am trying vufind 1.4 and OAI harvesting of Koha ILS. I configures oai.ini but could have inputted wrong values, the values below: ; [section_name] url = http://hreplib.congress.gov.ph ; set = my_optional_set ; metadataPrefix = oai_dc ; idSearch[] = "/oai:myuniversity.edu:/" idSearch[] = "^oai:hreplib.congress.gov.ph:/" ; idReplace[] = "myprefix-" idReplace[] = "hreplib-" ; injectDate = false ; injectId = false injectId = "identifier" ; injectSetName = false ; injectSetSpec = false ; injectHeaderElements[] = hierarchy ; dateGranularity = auto dateGranularity = auto ; harvestedIdLog = harvest.log ; verbose = false And when I run php harvest_oai.php, I get the following: PHP Warning: simplexml_load_string(): </strong> in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 385: parser error : Entity 'nbsp' not defined in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): </strong> in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 391: parser error : Opening and ending tag mismatch: ul line 331 and body in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): </body> in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 392: parser error : Opening and ending tag mismatch: div line 329 and html in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): </html> in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 394: parser error : Premature end of data in tag div line 328 in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 394: parser error : Premature end of data in tag div line 167 in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 394: parser error : Premature end of data in tag div line 166 in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 394: parser error : Premature end of data in tag div line 165 in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 394: parser error : Premature end of data in tag body line 164 in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): ^ in /usr/local/vufind/harvest/harvest_oai.php on line 353 PHP Warning: simplexml_load_string(): Entity: line 394: parser error : Premature end of data in tag meta line 12 in /usr/local/vufind/harvest/harvest_oai.php on line 353 Thank you in advance :) -- View this message in context: http://vufind.2307425.n4.nabble.com/Vufind-Koha-and-OAI-tp4662015.html Sent from the vufind-general mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |