I’ve made a little update to two of the PatREST Google gadgets (top and new items)–partly due to the insistance of a certain Superpatron, but mostly because I was planning on doing it anyway.
The new versions allow users to display cover images along with the records. A new option gives you the choice of text only, images only, or images and text. Not a major change, but noteworthy. Also, in case you missed the update in my previous post, the new items gadget can now match subject headings–useful if you want to be notified about new items on a particular topic.
For the purposes of the Talis mashup competition (for the judges), the original xml files are still available under a different name (tops-v1.xml and new-v1.xml). Everyone else, here are the new ones:
(FYI, it’s the same URL as the previous version. If you’ve already added it to your Google page, the update will be automatic)
While working on this little project, I became painfully aware of PatREST’s limitations when dealing with asynchronous execution — like that of Google gadgets. I previously thought it would be better to limit the amount of data returned in an XML hit-list and use a second record query for and detailed info. I think I may have been a little short-sighted. At any rate, the lesson learned is that the more practical experience I have with PatREST, the more I’ll know what works and what doesn’t.
The upshot of all this is that I’ve expanded the result objects in any PatREST function that returns multiple records to include more information, such as ISBN, cover image, author, and record link. For those asynchronous folks, this will make life a lot easier. The new additions have been added to an updated specification. Existing PatREST applications (I don’t think there are many at this point) will continue to work, of course.














2 Comments so far
Leave a comment
Good update. I tweaked the output a little bit on the image-only display to get more of a “wall of books” approach - see http://superpatron.com/google-gadget/aadl-new.xml for the edits - the only noticable thing is that I yanked a few extraneous br/ tags & thus can view books three across in image only view. (It’s broken in image+title view however, so this is more proof of concept than something usable.)
Heading towards the wall of books - next iteration I think could do mouseovers for titles and other details.
By Edward Vielmetti on 08.25.06 9:29 am | Permalink
Oh, nice! Yah, I tend to start getting annoyed when I’m working with HTML.. Never really liked it. Anyway, I love derivation!
Mouseovers are a good idea.. I think I’ll add that feature.
By john on 08.25.06 9:58 am | Permalink
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>