8000 GitHub - jnewland/gsa-prototype: Prototype/Javascript wrapper for the Google Search Appliance Search Protocol. Fancy cross-domain JSON support included.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
/ gsa-prototype Public archive

Prototype/Javascript wrapper for the Google Search Appliance Search Protocol. Fancy cross-domain JSON support included.

License

Notifications You must be signed in to change notification settings

jnewland/gsa-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gsa-prototype
=============

Prototype/Javascript wrapper for the Google Search Appliance Search Protocol. Fancy cross-domain JSON support included.

Install
=======

gsa-prototype requires a custom XSL be installed on your Google Search Appliance

* Login to the GSA Admin Console
* Click 'Serving' on the sidebar
* Create a new frontend named 'json'
* Click 'Edit' beside the newly created frontend
* Click 'Edit underlying XSLT code'
* Select 'Import Stylesheet'
* Import the template at xsl/json.xsl
* Done!

Usage
=====

>>> var gsa = new Gsa('foo.com')
>>> gsa.search('jesse newland')
true
>>> gsa.results.first().get('title')
"LexBlog IT Director talks about today&#39;s platform upgrade : Real <b>...</b>"
>>> gsa.results.first().get('url')
"http://kevin.lexblog.com/2007/07/articles/cool-stuff/lexblog-it-director-talks-about-todays-platform-upgrade/"

See inline documentation in gsa.js for more details.

About

Prototype/Javascript wrapper for the Google Search Appliance Search Protocol. Fancy cross-domain JSON support included.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0