|
本帖最后由 dangerxue 于 2011-8-10 12:25 编辑
下面是个三级页面的请求函数,我想实现随机访问不同分类的不同产品,请求URL好办,都可以从上级页面的链接参数过来,
但是EXTRARES请求资源部分该如何处理,因为不同页面的资源请求地址不同,保持不变的话,对于服务器下载压力部分又比较恒定,
如何解决比较合适呢?请大家支招。
web_url("Items.aspx",
"URL=http://localhost/Items.aspx?productId={nowItem}&categoryId={nowlink}",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost/Products.aspx?page=0&categoryId={nowlink}",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=/Prod_Images/Birds/item-pelican-flowerloving.gif", "Referer=http://localhost/Items.aspx?productId=BD-01&categoryId=BIRDS", ENDITEM,
"Url=/Prod_Images/Birds/item-pelican-grassloving.gif", "Referer=http://localhost/Items.aspx?productId=BD-01&categoryId=BIRDS", ENDITEM,
"Url=/Comm_Images/button-cart.gif", "Referer=http://localhost/Items.aspx?productId=BD-01&categoryId=BIRDS", ENDITEM,
"Url=/Comm_Images/button-wishlist.gif", "Referer=http://localhost/Items.aspx?productId=BD-01&categoryId=BIRDS", ENDITEM,
LAST);
有没有什么*。*通配替代的 |
|