Dear Friends, I am trying to attach full text document with the koha bibliographical records. The marc field 856 is used to give the local URL but on checking I realised one need to give full path eg. http://192.168.0.1/abc.pdf The pdf files are stored in var/www directory. I need to avoid the local machine numbers otherwise in future if the machine number is changed or the data will be transferred it will cause the path problem. I need to search only bibliographical details not the full text term. Please suggest the right way how the full text are handled in Koha. Looking forward to hear from you. Regads, Akhlaq Ahmed, New Delhi
Greetings, It sounds like you want bug 6874 (http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6874) to progress to a usable state. My problem is that this particular bug patch has some flaws which need to be addressed, and I have yet to receive feedback or ideas on it. Not to mention, I'm strapped for time to work on it. GPML, Mark Tompsett
Hi, On Wed, Dec 11, 2013 at 10:48 AM, akhlaq ahmed <akhlaqa@yahoo.com> wrote:
to attach full text document with the koha bibliographical records. The marc field 856 is used to give the local URL but on checking I realised one need to give full path eg. http://192.168.0.1/abc.pdf The pdf file are stored in var/www directory.
I need to avoid the local machine numbers otherwise in future if the machine number is changed or the data will be transferred it will cause the path problem. I need to search only bibliographical details not the full text term.
Would a "divide and conquer" approach work? How about storing the FT on something like DSpace with a registered HANDLE.NET persistent url approach and linking to that using 856u along with rest of the meta-data? cheers, -idg -- Indranil Das Gupta Phone : +91-98300-20971 Blog : http://indradg.randomink.org/blog IRC : indradg on irc://irc.freenode.net Twitter : indradg -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=- Please exchange editable Office documents only in ODF Format. No other format is acceptable. Support Open Standards. For a free editor supporting ODF, please visit LibreOffice - http://www.documentfoundation.org
Hi Akhlaq, We got around this by using the Redirect directive in our apache config. I created a subdirectory for a local user, then created a symbolic link to it from /var/www. In this way the cataloger can copy the file to the server as the local user and catalog using a string that apache redirects to the proper place. If you later have to move the subdirectory, you just change the redirect in the config. For example, our users login as "luser", and place the test files in a subdirectory called "lfiles". There is a symbolic link in /var/www called textfiles -> /home/luser/lfiles . In the apache config file for the Koha instance in both VirtualHost sections (OPAC and Intranet) is the redirect directive like this: Redirect /libraryfiles http://<ip address or DNS name of server>/textfiles . When we catalog, in the 856u field we put in /libraryfiles/<subdirectory>/<filename> . The link is active, and if you need to change to a different address or DNS name in the future all you have to do is change the Redirect directive in the apache config. It would also be possible to move all the files to another separate web server and just point to that server in the Redirect directive. Note that /var/www is the DocumentRoot for the default site in Apache. We have that running to serve up these documents. /var/www is not the default DocumentRoot for Koha instances. Hope that helps. Doug -----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of akhlaq ahmed Sent: Tuesday, December 10, 2013 10:18 PM To: Koha@lists.katipo.co.nz Subject: [Koha] Full text document attachment Dear Friends, I am trying to attach full text document with the koha bibliographical records. The marc field 856 is used to give the local URL but on checking I realised one need to give full path eg. http://192.168.0.1/abc.pdf The pdf files are stored in var/www directory. I need to avoid the local machine numbers otherwise in future if the machine number is changed or the data will be transferred it will cause the path problem. I need to search only bibliographical details not the full text term. Please suggest the right way how the full text are handled in Koha. Looking forward to hear from you. Regads, Akhlaq Ahmed, New Delhi _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (4)
-
akhlaq ahmed -
Doug Dearden -
Indranil Das Gupta -
Mark Tompsett