|
xxx
Utility Belt:
wsAmazonBrowsenodeSearch
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_wsAmazonBrowsenodeSearch.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()
' US Browse Node Searches
ht1.Add("BrowseNodeSearch", "1000")
ht1.Add("mode", "books")
ht1.Add("type", "lite")
litAmazon.Text &= "<br><br><hr> US Browse Node Search<br><br>" & Server.HtmlEncode(ub1.wsAmazonBrowseNodeSearch(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>
|