|
xxx
Utility Belt:
wsAmazonKeyWordSearch
by Charles Carroll
"Utility Belt" can grab the same XML
one grabs from Amazon webservices. Here is an example of a wbeservices call.
filename=/experiments/utilitybelt/vercurrent/ubdemo_wsAmazonKeywordSearch.aspx
<%@ debug="true" %>
<%@ Assembly src="utilitybelt.vb" %>
<script language="VB" runat="server">
dim ub1 as new LearnASP.UtilityBelt()
Sub Page_Load(S As Object, E As EventArgs)
ub1.Options("cache-on")
ub1.intcacheminutes = 10
Dim ht1 As New Hashtable()
ht1.Add("KeywordSearch", "dogs")
ht1.Add("mode", "books")
ht1.Add("type", "lite")
litAmazon.Text = "US Keyword Search<br><br>" & Server.HtmlEncode(ub1.wsAmazonKeywordSearch(ht1))
End Sub
</script>
<html><head>
<title></title>
</head>
<body bgcolor="#FFFFFF">
<PRE>
<asp:literal id="litAmazon" EnableviewState="false" runat="server" />
</PRE>
<form runat="server">
</form>
</body></html>
|