thank u Dan,i got another option to work out that
 
Thanks
 
Jegatha

Dan Powderhill <[EMAIL PROTECTED]> wrote:
What error does it show, and which line is line 26?

Dan

________________________________

From: AspClassicAnyQuestionIsOk@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jegatha
Sent: 05 August 2005 06:20
To: Asp
Subject: [AspClassicAnyQuestionIsOk] google link


hi all
i have a small program for google link,i just attached the code below.It
shows the error in line 26.I don't know much about the objects here.can
any one help out this.(i dont know much about XML)

<%
  Google_Web_APIs_license_key = "00000000000000000000000000000000"
  
  If Request.Form("SrchStr") = "" Then
    SrchStr="Sample Search"
  Else
   SrchStr= Request.Form("SrchStr")
  End If
  '
  ' This SOAP message came from the Google API soap-examples.
  ' Dump the SOAP message into an XML document and set the key value,
  ' search string value and start index.
  '
  Set objInputXMLDoc = Server.CreateObject("Microsoft.XMLDOM")
  objInputXMLDoc.load Server.MapPath("doGoogleSearch.xml")
  objInputXMLDoc.selectSingleNode
("//key").Text=Google_Web_APIs_license_key /********26th line*******/
  objInputXMLDoc.selectSingleNode("//q").Text =SrchStr
  objInputXMLDoc.selectSingleNode("//start").Text =0
  '
  ' Post the SOAP message.
  '
  Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
  objXMLHTTP.open "post", "http://api.google.com/search/beta2";, False
  objXMLHTTP.setRequestHeader "Content-Type", "text/xml"
  objXMLHTTP.setRequestHeader "SOAPAction", "doGoogleSearch"
  objXMLHTTP.send objInputXMLDoc
  'showXML(objXMLHTTP.responseText)
  '
  ' Dump the results into an XML document.
  '
  Set objOutputXMLDoc = Server.CreateObject("Microsoft.XMLDOM")
  objOutputXMLDoc.loadXML objXMLHTTP.responseText
  '
  ' Parse the XML document.
  '
  Set Nodes = objOutputXMLDoc.selectNodes("//item")
  For Each Node In Nodes
    Response.Write "<a href=""" & Node.selectSingleNode("URL").Text &
""">" _
      & Node.selectSingleNode("title").Text & "</a><br>" & VbCrLf
  Next
%>
</body>
</html>
<%
Function showXML(XMLSource)
  Response.Clear
  Response.Write XMLSource
  Response.End
End Function
%>

            
---------------------------------
Too much spam in your inbox? Yahoo! Mail gives you the best spam
protection for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]




SPONSORED LINKS 
Programming languages
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Programmin
g+languages&w2=C+programming+language&w3=Computer+programming+languages&
w4=Java+programming+language&w5=C+++programming+language&w6=History+of+c
omputer+programming+language&c=6&s=198&.sig=hjFSMmldhVc3zrT5SqL9xQ>
C programming language
<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Programmi
ng+languages&w2=C+programming+language&w3=Computer+programming+languages
&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+
computer+programming+language&c=6&s=198&.sig=td85HQ93XfErfw7wfLZ86A>
Computer programming languages
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=P
rogramming+languages&w2=C+programming+language&w3=Computer+programming+l
anguages&w4=Java+programming+language&w5=C+++programming+language&w6=His
tory+of+computer+programming+language&c=6&s=198&.sig=BMtgOo7dpsC1xzn1Ygp
BPg>        
Java programming language
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Progra
mming+languages&w2=C+programming+language&w3=Computer+programming+langua
ges&w4=Java+programming+language&w5=C+++programming+language&w6=History+
of+computer+programming+language&c=6&s=198&.sig=8IuywkhSLTtpB6_iFiJoCQ>
C programming language
<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Program
ming+languages&w2=C+programming+language&w3=Computer+programming+languag
es&w4=Java+programming+language&w5=C+++programming+language&w6=History+o
f+computer+programming+language&c=6&s=198&.sig=jpmDiGf8qD8AqZNqFwDO7w>
History of computer programming language
<http://groups.yahoo.com/gads?t=ms&k=History+of+computer+programming+lan
guage&w1=Programming+languages&w2=C+programming+language&w3=Computer+pro
gramming+languages&w4=Java+programming+language&w5=C+++programming+langu
age&w6=History+of+computer+programming+language&c=6&s=198&.sig=9slR1_vZJ
lvyOINA4iLkow>        

________________________________

YAHOO! GROUPS LINKS 


      
*      Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
        
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
        
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



SPONSORED LINKS 
Programming languages C programming language Computer programming languages 
Java programming language C programming language History of computer 
programming language 

---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspClassicAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------



                
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection 
for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hot0t9s/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123319053/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to