Snow Leopard (interim) Tip - Also add/edit searches - MacUser-4-ever
Thanks for the tip thmghtd! I did a new/virgin install of Glims and found that it works with the defaults and the default searches.
I also found that going to /Users/YOURUSERNAME/Library/Application Support/Glims/, I could edit the plist files and add/edit searches.
The easiest way to do this would be to install Glims on a Leopard machine, edit the preferences, and then copy the Glims folder over, but if you don't have access to another Mac to do this with, simply create a new .plist file in that Glims folder. Make sure it's a <b>text file</b> named MHOCustomSearchEngines.plist
Replace DOMAIN, NAMEOFWEBSITE, and SEARCHURL with the actual domain, name of website and the search URL. The search URL, will look something like:
http://connectedsocialmedia.com/?s=
The easiest way to get a search URL is to go to the site and search for a simple word, then delete that word from the URL that is returned.
For additional search engines, duplicate everything within, and including <dict>...</dict>.
Then edit MHOSearchEngines.plist in the Glims folder by adding the exact name you entered as the name of the website in MHOCustomSearchEngines.plist. Add a new line duplicating everything within and including <string>...</string>. Again, make sure to save this file as text-only. Relaunch Safari, and you should be good.
You can also delete search engines by just deleting strings from MHOSearchEngines.plist. You can also re-order the strings. Some strings aren't listed, but the search engine still exists. This is because the search engine is "off" in the preferences. You can turn them back on by simply adding the string (you don't have to add it to MHOCustomSearchEngines.plist).
Snow Leopard (interim) Tip - Also add/edit searches - MacUser-4-ever
Thanks for the tip thmghtd! I did a new/virgin install of Glims and found that it works with the defaults and the default searches.I also found that going to /Users/YOURUSERNAME/Library/Application Support/Glims/, I could edit the plist files and add/edit searches.
The easiest way to do this would be to install Glims on a Leopard machine, edit the preferences, and then copy the Glims folder over, but if you don't have access to another Mac to do this with, simply create a new .plist file in that Glims folder. Make sure it's a <b>text file</b> named MHOCustomSearchEngines.plist
Then add the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>description</key>
<string></string>
<key>domain</key>
<string></string>
<key>enabled</key>
<string>1</string>
<key>favicon</key>
<string>http://DOMAIN/favicon.ico</string>
<key>name</key>
<string>NAMEOFWEBSITE</string>
<key>query</key>
<string>SEARCHURL#query#</string>
</dict>
</array>
</plist>
Replace DOMAIN, NAMEOFWEBSITE, and SEARCHURL with the actual domain, name of website and the search URL. The search URL, will look something like:
http://connectedsocialmedia.com/?s=
The easiest way to get a search URL is to go to the site and search for a simple word, then delete that word from the URL that is returned.
For additional search engines, duplicate everything within, and including <dict>...</dict>.
Then edit MHOSearchEngines.plist in the Glims folder by adding the exact name you entered as the name of the website in MHOCustomSearchEngines.plist. Add a new line duplicating everything within and including <string>...</string>. Again, make sure to save this file as text-only. Relaunch Safari, and you should be good.
You can also delete search engines by just deleting strings from MHOSearchEngines.plist. You can also re-order the strings. Some strings aren't listed, but the search engine still exists. This is because the search engine is "off" in the preferences. You can turn them back on by simply adding the string (you don't have to add it to MHOCustomSearchEngines.plist).
I hope this helps someone.
Reply to This
Friday, September 11 2009 @ 01:49 PM PDT