Horizon importer

0 views
Skip to first unread message

Casey Bisson

unread,
Dec 13, 2007, 8:55:50 PM12/13/07
to scri...@googlegroups.com

I just added an importer for Horizon to Scriblio. It's alpha quality,
but it mostly works with the one Horizon iPac I can test against. Like
the III importer, it gets the data from the public web OPAC and
doesn't require any exports/imports.

I don't use Horizon myself, so I'll need others to poke at it and talk
about how it works. Volunteers?

Get it via SVN or here:
http://svn.scriblio.net/plugin/trunk/importer_horizon.php

--Casey

don....@gmail.com

unread,
Dec 18, 2007, 11:51:32 AM12/18/07
to Scriblio
Hi Casey:
thanks for adding direct imports from Horizon to your application. I
tried the import with just a few records and for some reason they
don't appear in the blog output, though I can see the records as
posts. I can also search for the records, but get this error message:

Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs
\wordpress\wp-content\plugins\scriblio\scriblio.php on line 1087

when I try a keyword search for health.

I'm thinking that I've got something wrong with the installation,
because I'm using the scriblio template, but the sidebar seems to be
missing? I'm investigating :)

Thanks,
Don

Casey Bisson

unread,
Dec 19, 2007, 10:47:20 AM12/19/07
to scri...@googlegroups.com

Answers/thoughts inline:

On Dec 18, 2007, at 11:51 AM, don....@gmail.com wrote:

> Hi Casey:
> thanks for adding direct imports from Horizon to your application. I
> tried the import with just a few records and for some reason they
> don't appear in the blog output, though I can see the records as
> posts.

The default is to suppress catalog records from the front page, though
they should appear if you go to /browse/ or do a search. Which would
be an easy answer except for the following:

> I can also search for the records, but get this error message:
>
> Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs
> \wordpress\wp-content\plugins\scriblio\scriblio.php on line 1087

It looks like the version of PHP doesn't support curl ( http://us.php.net/curl
). It looks like you're running the very recent release that has
spellcheck support (though it's also likely I've forgotten bits of my
code), in which case you can probably work around the error by
commenting out the spellcheck stuff in the search.php file inside the
theme directory. I'll try to add a work around in a future release.

> I'm thinking that I've got something wrong with the installation,
> because I'm using the scriblio template, but the sidebar seems to be
> missing? I'm investigating :)

The sidebar should appear unless you're doing a search or browse. If
you're looking at those pages with the default theme and you don't see
the sidebar, the widgets either got reset in some way or there's an
error that's ending the page execution before the sidebar gets
generated.

Thanks for trying it out, please write back to say how that works,

--Casey

Reply all
Reply to author
Forward
0 new messages