Hi Paul,
Thanks for the clarification and update and sorry for the confusion, I
didn't know if you were the original poster or not.
What your asking sounds very possible, but just to make sure we are on
the same page have a quick look at this gadget I made using the
Gadgets API as it sounds quite similar to what your asking about.
(Click the entry titles to toggle/display the entry content)
http://www.gmodules.com/ig/creator?synd=open&url=http%3A//www.visionjinx.net/gg/ultrareader/ultrareader_v1.xml&up_tb1=http://googleajaxsearchapi.blogspot.com/rss.xml
This would be quite easy to do with the Google AJAX Feed API and I
know it should not be too hard to do with pure javascript (use JSONP -
JSON with Padding techniques) or with PHP using CURL and a JSON
parser, but I don't know ASP at all so I don't know what the
equivalent would be for that platform (I use LAMP configurations
mostly). If your looking for just a javascript based solution not a
problem, I can help ya there if needed.
In either case to help better build a more lightweight app I would
recommend using the RESTful aspects of the API to do what you want as
it will eliminate the need for extra 3rd party code dependence and
having to edit sections of the code to create your desired effect.
If your looking for SEO optimization then I would suggest using the
ASP equivalent to PHPs CURL to fetch the raw JSON data from Google
then parse it using a JSON parser, in newer version of PHP this is
included for older ones I use the Services_JSON library (for others
reading this thread).
Once you fetch the JSON string from Google you can use your server
side script to generate the HTML results from the data then the rest
would be just attaching an onclick event to the titles of each result
to toggle the display of the entry.
I had a quick look at the
json.org site and at the bottom it looks
like they have asp apps for parsing JSON so you should be able to
accomplish this with your current set up.
Some links to check out would be
http://code.google.com/apis/ajaxfeeds/documentation/#fonje
- Use this to see how to make a GET request for Googles feed data in
JSON format and it's data structure.
http://www.json.org/
Look for...
ASP:
* JSON for ASP.
* JSON ASP utility class.
For a JSON parser if you don't already have one.
See if that helps
Regards,
Vision Jinx