Friday, February 1, 2008

Google Gadgets for the Snowden Library

I was finally able to get my catalog gadget to work yesterday. It will not go to Aquabrowser, our catalog interface, but it goes to our "classic" catalog. Which is fine. If I had thought of that earlier, I could have done this a while ago. To create a gadget, you just go to the Google Gadgets editor and cut and paste HTML code inside the "" tag. The trick is that you can't have code that needs scripts in the header. It's very easy to do, and the editor allows you to preview before you go into publishing and stuff.

Links to my gadgets can be found here: http://snowdenatlyco.blogspot.com/

You do have to add some "attributes" in the ModulePrefs tag such as author and e-mail before you can publish. You can just e-mail me at snyderm@lycoming.edu and I will send you my code so you can see what it should look like.

Now it is time to convince faculty they really need iGoogle. I hope that will get people to look at the library's blog through an RSS feed, so I see this as accomplishing multiple goals.

1 comment:

Boaz said...

Dear SupernumeraryPA,

Let me start by introducing my self: my name is Boaz Leskes and I'm working for Medialab, the company that makes the AquaBrowser.

I came across your blog post and my first reaction was cool!, searching the catalog directly from iGoogle. Nice initiative. However I naturally couldn't just ignore your comment about not being able to make it work with your implementation of AquaBrowser.

So, I googled the Gadget Editor up and, based on your gadgets, made a new one that points to your ABL (http://search.aquabrowser.com/lycomingcollege/).

You can find the gadget on
http://www.google.com/ig/gadgets/file/112703274401101152800/SearchLycomingCollegeAquaBrowser.xml
I hope you like it!

I also posted the code for it bellow, but I'm not sure it will survive Blogger's text formatting.

Last, just in case your fingers are itching to do more with this gadget, here is a link that might help you interacting with ABL:
http://everything.aquabrowser.com/index.php/Knowledge_Base

Once again, good work and please don't hesitate to drop me a line if you have any questions.

Best regards,
Boaz


<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="hello world example" />
<Content type="html"><![CDATA[

<center>
<img src="http://www.lycoming.edu/library/images/smalllycoheader.jpg">
</center>
<form action="http://search.aquabrowser.com/lycomingcollege/" target="_blank" method="get" name="SearchForm" onsubmit="return AllowSearch();"><input name="FormId" value="0" align="middle" type="hidden"><input name="Config" value="pac" type="hidden"><input name="LimitsId" value="0" type="hidden"><input name="StartIndex" value="0" type="hidden"><input name="SearchField" value="7" type="hidden"><input name="SearchType" value="1" type="hidden"><input name="ItemsPerPage" value="10" type="hidden"><font face="Arial"><font size="2"><b>Quick AquaBrowserSearch:</b><b class="SearchBox"><br>
<input size="40" maxlength="250" name="q" style="vertical-align: middle;" type="text">&nbsp;<input value="Search" type="submit">



</b></font></font></form>
]]></Content>
</Module>