ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <marcello.sa...@shopila.com>
Subject GET ANT task parameters...
Date Fri, 09 Sep 2005 15:04:01 GMT

Hello all,

I'm trying to download a website using the GET ant task but I'm facing
some problems...

1. Can't use URL variables and values as parameters...
Using Eclipse facility, I can't write down the full address with
variables needed to get the information. In the following URL 

https://www.amazon.com/gp/seller-account/inventory/list-inventory.html/102-3297793-8829752?sortBy=StartDateDesc&itemsPerPage=500&submit%2ex=8&submit%2ey=9&pageNumber=1&showClosedListings=0=

I have the parameters 

sortBy=StartDateDesc
itemsPerPage=500
pageNumber=1
showClosedListings=0

I have the following GET ANT Task...

<get 
src="https://www.amazon.com/gp/seller-account/inventory/list-inventory.html/102-3297793-8829752?sortBy=StartDateDesc&itemsPerPage=500&submit%2ex=8&submit%2ey=9&pageNumber=1&showClosedListings=0"


dest="page1.html"
verbose="true"
usetimestamp="true"		
/>

I need to have them in the URL... the message in Eclipse is 

"The reference entity "itemsPerPage" must end with the ";" delimiter"

So, I tried to overcome this using the ISO-8859-1 (Latin-1) character
set to substitute the "&" (%26) and "=" (%3D)... It workS, but the
amazon server blocked the riquest... 

My question is if there's an extended way of indicating the parameters
(variables list)...

Regards,

Marcello

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message