[Resolved] Build Gallery ... help wanted
Posted: Thu Jan 31, 2013 9:42 pm
I have revised this post many times, in order to escape the dreaded spam filter in the posting editor. If I have left you without enough information, I will be happy to supply nore. I am trying to build a gallery to download a list of files. Each file is named like this (links are added by the posting editor):
http://select.nytimes.com/premium/xword/2012/12/[b]01[/b]/Dec0112.puz
with sequential files stored in sequential directories. The last two parts of the URL are named for the day of the month and the file name. The next file would be the same, except the last two sections, which would be /02/Dec0212.puz. Each directory has only one file in it. The emboldened text is the only part of the URL that changes for each file. My best attempt of a gallery so far is:
http://select.nytimes.com/premium/xword/[2012-2012;1]/[12-12;1]/[01-05;1]/Dec[01-05;1]12.puz
This gallery cycles through all the puzzles for each day, then moves to the next day and cycles through the puzzles there. Unfortunately, there is only one file for each day.
Can anyone help me create a gallery that will change the last two sections so that I get these files:
.../01/Dec0112.puz
.../02/Dec0212.puz
.../03/Dec0312.puz
.../04/Dec0412.puz
.../05/Dec0512.puz
etc.
Phil from Coralville
http://select.nytimes.com/premium/xword/2012/12/[b]01[/b]/Dec0112.puz
with sequential files stored in sequential directories. The last two parts of the URL are named for the day of the month and the file name. The next file would be the same, except the last two sections, which would be /02/Dec0212.puz. Each directory has only one file in it. The emboldened text is the only part of the URL that changes for each file. My best attempt of a gallery so far is:
http://select.nytimes.com/premium/xword/[2012-2012;1]/[12-12;1]/[01-05;1]/Dec[01-05;1]12.puz
This gallery cycles through all the puzzles for each day, then moves to the next day and cycles through the puzzles there. Unfortunately, there is only one file for each day.
Can anyone help me create a gallery that will change the last two sections so that I get these files:
.../01/Dec0112.puz
.../02/Dec0212.puz
.../03/Dec0312.puz
.../04/Dec0412.puz
.../05/Dec0512.puz
etc.
Phil from Coralville