danzac
January 23, 2007, 4:40pm
1
There are a few google custom searches that I would like to make plugins for. Christian was trying to help me out but I just can’t figure this out. The URL’s returned in a google custom search doesn’t look the same to me as the DA example for creating your own plugin (in the user guide)
Has anyone made a plugin to use for a search set that uses a google custom search?
Perhaps someone could explain easily how? The google custom search in question is google.com/coop/cse?cx=01448 … f8e_mv4pou
Here is what my plist looks like (but it isn’t working)
<?xml version="1.0" encoding="UTF-8"?>
Description
Searches the websites indexed by the Deinde journal search.
EncodingUrl
UTF-8
EngineUrl
http://www.google.com/custom?cx=014480939289609955415%3A7f8e_mv4pou&q=_agentQuery_=Search&cof=CX%3AOnline%2520Biblical%2520Studies%2520Journals%2520Search%3BFORID%3A1&hl=en&client=pub-0329989596721607
Identifier
com.danny_zacharias.deinde_journal_search.plugin
Info
Deinde journal search Plugin 1.0 ©2007, Danny Zacharias
Keyword
Journal Search
LinksEnd
<!--z-->
LinksNotMatching
*.google.*
*search?q=cache:*
LinksStart
<!--a-->
Name
Deinde journal Search
OffsetPerPage
100
ResultsPerPage
100
Start
1
Version
1.5
thanks very much.
Here’s a revised version fixing/improving the following issues:
& characters in URL have to be replaced with &
=Search string from URL removed
LinksStart/End definitions removed
LinksNotMatching definition extended
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Searches the websites indexed by the Deinde journal search.</string>
<key>EncodingUrl</key>
<string>UTF-8</string>
<key>EngineUrl</key>
<string>http://www.google.com/custom?cx=014480939289609955415%3A7f8e_mv4pou&q=_agentQuery_&cof=CX%3AOnline%2520Biblical%2520Studies%2520Journals%2520Search%3BFORID%3A1&hl=en&client=pub-0329989596721607</string>
<key>Identifier</key>
<string>com.danny_zacharias.deinde_journal_search.plugin</string>
<key>Info</key>
<string>Deinde journal search Plugin 1.0 ©2007, Danny Zacharias</string>
<key>Keyword</key>
<string>Journal Search</string>
<key>LinksNotMatching</key>
<array>
<string>*.google.*</string>
<string>*search?q=cache:*</string>
<string>*custom?q=cache:*</string>
</array>
<key>Name</key>
<string>Deinde journal Search</string>
<key>OffsetPerPage</key>
<integer>100</integer>
<key>ResultsPerPage</key>
<integer>100</integer>
<key>Start</key>
<integer>1</integer>
<key>Version</key>
<string>1.5</string>
</dict>
</plist>
danzac
January 23, 2007, 5:51pm
3
It works!! Thanks very much. I thought the plugin would be a little quicker, but it still takes quite alot of time searching (like minutes)
danzac
January 25, 2007, 6:21pm
4
What about Google Books, has anyone made a plugin for that?
I tried altering the Google scholar plugin but it didn’t work. I’m definitely not good at this plugin stuff.