Hi,

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Glenn Carr
> Sent: Tuesday, July 23, 2002 6:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DQSD-Users] Google API Webservice: FreshStuff
> 
> 
> > In general, seems that these XML-RPC APIs could become a 
> very interesting
> > aspect of DQSD.
> 
> I'm confused.  I am familiar with XML-RPC and SOAP, and I 
> know that Google
> has made its search engine available on a limited basis by 
> exposing a SOAP
> API.  (The GoogleSpell add-on [1] uses the Google SOAP API.)  
> How is XML-RPC
> is involved?
> 
> It looks like the researchbuzz cgi script determines the 
> julian dates from
> the time you give it in order to hand off
> "/daterange:<juliandate1>-<juliandate2>" to Google.  In fact, 
> it looks like
> we could do the same without ever touching the goofresh page, 
> since the
> conversion could be done in JavaScript [2].
> 
> I've made a quick hack at modifying the Google search 
> (gg.xml) to use the
> researchbuzz/goosearch.  E.g.
>      gg cardinals /fresh /since:w
> ...which searches for pages containing "cardinals" (who now 
> lead the NL
> Central by 4.5 games.. woo hoo!) that were indexed in the last week.
> 
> Usage:  gg <search-string> /fresh /since:<time>
>      /since:t - indexed today (default)
>      /since:y - indexed yesterday
>      /since:w - indexed in the last 7 days
>      /since:m - indexed in the last 30 days
> 
> Again, I don't think we need to hit the goosearch site first 
> -- the julian
> conversion could be done in the search script -- if someone 
> had the time and
> desire to look into this.  Feel free to make this search better.  I'm
> realizing now that I could have used only one switch (/fresh) 
> with a value,
> instead of adding the /since switch.

I did it. Seems to work. Please note that 

gg cardinals /fresh /since:w

now is

gg cardinals /since:7

for I replaced d, w and m by direct specification of the number of days required in 
the past.

Get it there : 
http://cvs.dqsd.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/dqsd/searches/gg.xml

I don't really see where Google's XML-RPC or SOAP or whatever APIS are involved here.

Cheers,

MLL



> 
> Glenn
> 
> [1]
> http://sourceforge.net/project/showfiles.php?group_id=42081&re
lease_id=92883
[2] http://aa.usno.navy.mil/data/docs/JulianDate.html




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dqsd-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-users
http://sourceforge.net/mailarchive/forum.php?forum_id=8601



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dqsd-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-users
http://sourceforge.net/mailarchive/forum.php?forum_id�01

Reply via email to