EPrints Technical Mailing List Archive
Message: #06026
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Adding Google Custom Search Engine to EPrints xpage file
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Adding Google Custom Search Engine to EPrints xpage file
- From: Andrew Hercules <Andrew.Hercules@ulcc.ac.uk>
- Date: Tue, 18 Oct 2016 12:49:14 +0000
Hi John,
Thanks for the tip - much appreciated.
Originally, it was throwing an error that it fails to parse due to a named space error.
But following your advice, I registered the tag using the following and at least the error has gone away:
Thanks again for the tip! :-)
Cheers,
Andrew
--
Andrew Hercules
Developer & UX Researcher
University of London Computer Centre
Senate House, Malet Street, London WC1E 7HU
+44 (0)20 7863 1342 | andrew.hercules@ulcc.ac.uk
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of John Salter <J.Salter@leeds.ac.uk>
Sent: 18 October 2016 13:03 To: Dan Watson; eprints-tech@ecs.soton.ac.uk Subject: Re: [EP-tech] Adding Google Custom Search Engine to EPrints xpage file Hi, Apologies, early morning train-based emails... ‘page’ xml is what I meant (i.e. the xpage)…
Cheers, John
From: Dan Watson [mailto:D.Watson@gold.ac.uk]
Thanks John.
Yes, the error was to do with namespaces. I’m new to eprints, we are reskinning it for our library team, so what/where is cage XML? I think this might be my only possible lead, otherwise I might have to give up on trying to use GCS.
Cheers Dan
___________________________________ Dan Watson Web Development Manager Communications
Goldsmiths, University of London New Cross, London, SE14 6NW
+44 (0)207 919 7057
___________________________________
From:
John Salter <J.Salter@leeds.ac.uk>
What is the error that gets thrown?
From:
eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Andrew Hercules <Andrew.Hercules@ulcc.ac.uk>
Hi all,
Just wondering ... has anybody been able to implement a Google Custom Search Engine with EPrints. I noticed that ROAR attempted to do it - http://roar.eprints.org/content.html - but when I run a search, I get a 403 error.
The problem is that when the tag <gcse> is put in an xpage file, EPrints throws an error - I'm assuming it doesn't recognise the tag. Wrapping the tag in cdata tags or using _javascript_ to insert the element don't work.
Any suggestions/tips would be much appreciated.
Thank you!
Cheers,
Andrew
-- Andrew Hercules Developer & UX Researcher University of London Computer Centre Senate House, Malet Street, London WC1E 7HU +44 (0)20 7863 1342 | andrew.hercules@ulcc.ac.uk |
- References:
- [EP-tech] Adding Google Custom Search Engine to EPrints xpage file
- From: Andrew Hercules <Andrew.Hercules@ulcc.ac.uk>
- Re: [EP-tech] Adding Google Custom Search Engine to EPrints xpage file
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Adding Google Custom Search Engine to EPrints xpage file
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Adding Google Custom Search Engine to EPrints xpage file
- Prev by Date: Re: [EP-tech] run commands after import?
- Next by Date: Re: [EP-tech] Installing under CentOS
- Previous by thread: Re: [EP-tech] Adding Google Custom Search Engine to EPrints xpage file
- Next by thread: [EP-tech] Hiding some document types from search page
- Index(es):