URL Template

Home Page | Download | Register

In this tab you can tune URL template.

task_template_options2

In the input field "URL template" input URL template. Those parts which will be changed in the address replace by the following construction - {?}. Instead of '?' put the number of corresponding substitution from "List of substitutions". This list can be fulfilled by means of the button "New...", selecting the type of corresponding substitution.

For example the media files have the following addresses:

http://www.somesite/first/folder_a/01.jpg
http://www.somesite/first/folder_a/02.jpg
...
http://www.somesite/first/folder_a/10.jpg
http://www.somesite/first/folder_b/01.jpg
http://www.somesite/first/folder_b/02.jpg
...
http://www.somesite/first/folder_b/10.jpg
http://www.somesite/second/folder_a/01.jpg
http://www.somesite/second/folder_a/02.jpg
...
http://www.somesite/second/folder_a/10.jpg
http://www.somesite/second/folder_b/01.jpg
http://www.somesite/second/folder_b/02.jpg
...
http://www.somesite/second/folder_b/10.jpg

In input field "URL template" input the address http://www.somesite/{3}/folder_{2}/{1}.jpg

Press the button "New...". In the first turn select the substitution "Numbers..."

substitution_numbers

"Min value" - starting value from which counting begins.
"Max value" - the last value. When reaching this value, the value of the following substitution increases (for example {2} - from 'a' to 'b') if it exists and counter will be "Min value". Counting will be started again. If it is the last substitution in the list, downloading will be completed. The rest of substitutions work in the same manner.
"Interval" - number of counter increasing, for example, if interval - 2, the counter will be increases as follows: '1', '3', '5'...
"Number of digits" - quantity of figures in substitution. For example: digits - 1: 1, 2, 3..., digits - 2: 01, 02, 03 .. 10 ... 120, digits - 3: 001, 002, 003.

In our example values must be as shown in the media file above.

Again press the button "New...". Select the substitution "Chars..."

substitution_chars

You can input symbols from A-Z or a-z.

In our example values must be as shown in the media file above.

Again press the button "New...". Select the substitution "Strings..."

substitution_strings

In this dialog you can input the list of strings for substitution. The will be substituted in order given in this dialog.

Now press the button "Test...". "URLs" dialog will appear where you can check correctness of input template and substitutions.

template_test

That is all. URL template is input. You can start downloading.



Copyright © 1999-2006 PhotoActions
. All rights reserved.