Help generate URLs

Post Reply
Debbie
Posts: 2
Joined: 03 Mar 2009, 11:52

Help generate URLs

Post by Debbie »

I need to make a complex list of varying urls.

this is how the base url looks like:
www.site.com/12/02/XXXXXXXX/12/02/01/0123.mp4

I need the delimetres to follow this pattern -

www.site.com/12/[01-12]/XXXXXXXX/12/[01-12]/[01-31]/[00-23][00-59].mp4

This url represents a full year as you probably can figure out.

http://www.site.com/year/month/XXXXXXXX ... ursecs.mp4

Now when I try to use this as my base url in urlcreator I can't get the desired result:

www.site.com/12/[1]/XXXXXXXX/12/[2]/[3]/[4][5].mp4

I want [1]and [2] to follow each other without using the literate within and then [3][4][5] should literate within [1],[2] and themselves. However this won't work. I enclose a sample list:

It won't create the zero in front of the urls so results looks like this:

www.site.com/12/9/XXXXXXXX/12/9/2/1632.mp4

www.site.com/12/1/XXXXXXXX/12/1/1/07.mp4

When I actually wanted:

www.site.com/12/09/XXXXXXXX/12/09/02/1632.mp4

www.site.com/12/01/XXXXXXXX/12/01/01/0007.mp4

I do hope you understand what I am trying to do and that you are able to help out.

Thanks a lot in advance.
Maksym
Site Admin
Posts: 2217
Joined: 02 Mar 2009, 17:02

Re: Help generate URLs

Post by Maksym »

You made 2 mistakes:
I want [1]and [2] to follow each other without using the literate
1. If you want the same digits in different parts of URL - use the same varying number.
It won't create the zero in front of the urls
2. If you want leading zeroes - set "Digits" to "2" or "3" or anything else, depending on how many leading zeroes you need.

So the resulting settings are:

Image
Post Reply