Add more documentation

This commit is contained in:
Sebastian Meyer 2019-03-14 09:38:24 +01:00
parent 732dcaf4c1
commit a59cca89df
2 changed files with 25 additions and 8 deletions

25
README.md Normal file
View File

@ -0,0 +1,25 @@
OpenSearch widget for VuFind
============================
This is just a rough proof-of-concept made during an [eod](https://books2ebooks.eu) hackathon back in 2011. Please do not use this in production, but merely as an inspiration!
Since the [eod](https://books2ebooks.eu) catalog is based on the popular [VuFind](https://vufind.org) library resource discovery system you can easily adapt this for other instances as well (or basically any other [OpenSearch](http://www.opensearch.org) interface). [VuFind is open source](https://github.com/vufind-org/vufind) and developed and maintained by [Villanova University's Falvey Memorial Library](https://www.library.villanova.edu/).
Installation
------------
- Adjust $eodOpenSearch in server/search.php according to your requirements.
- Copy the server/* files to any webserver.
- Adjust client/js/jquery.eod.js according to your requirements.
- Add the client/js/* files to your website.
- Take a look at client/index.html for integrating with your pages.
Ideas
-----
Instead of going for a client/server approach I'd do the RSS parsing completely client-side in Javascript nowadays. The server part just adds unnecessary complexity. Back in the day I was curious about [jQuery-PHP](http://jquery.hohli.com/) and wanted to try it out. [jQuery-PHP is open source](https://code.google.com/archive/p/jquery-php/) and developed by [Anton Shevchuk](http://anton.shevchuk.name/).
Known Issues
------------
The OpenSearch interface of VuFind only returns the top 50 results. There is no paging or any chance of getting more hits.

View File

@ -1,8 +0,0 @@
Problems:
- The OpenSearch interface of VuFind only returns the top 50 results. There is no paging or any chance of getting more hits.
Ideas:
- Search word suggestions could be enabled.
- Display a loading image while waiting for results.
- Localize the widget.
- Instead of using the OpenSearch interface, a direct call to Solr would be possible, if the server part runs locally at the VuFind host.