View Single Post
Old 10-21-2010, 08:09 AM   #10
Arco Witter
Member
Arco Witter began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2010
Device: iRex iLiad
Quote:
Originally Posted by Sweetpea View Post
Why not do the same as I have with my folder structure?

{author_sort:switch(^[A-D],[A - D],^[E-J],[E - J],^[K-O],[K - O],^[P-T],[P - T],^[U-Z],[U - Z],[Other])}

So, something like:

{series_index:switch(00[0-9][0-9], 0000-0099, 01[0-9][0-9], 0100-199, ....} etc...
Great idea!
{series}/{title:switch(00[0-9][0-9],0000-0099,01[0-9][0-9],0100-0199,02[0-9][0-9],0200-0299,03[0-9][0-9],0300-0399,04[0-9][0-9],0400-0499,05[0-9][0-9],0500-0599,06[0-9][0-9],0600-0699,07[0-9][0-9],0700-0799,08[0-9][0-9],0800-0899,09[0-9][0-9],0900-0999,Rest)}/{title:switch([0-9][0-9]0[0-9],00-09,[0-9][0-9]1[0-9],10-19,[0-9][0-9]2[0-9],20-29,[0-9][0-9]3[0-9],30-39,[0-9][0-9]4[0-9],40-49,[0-9][0-9]5[0-9],50-59,[0-9][0-9]6[0-9],60-69,[0-9][0-9]7[0-9],70-79,[0-9][0-9]8[0-9],80-89,[0-9][0-9]9[0-9],90-99,Rest)}/{title}

Since the titles are : Perry Rhodan 0001 - First book
I could also use the title for this, it works great when using this structure:
0000-0099
0000-0099/00-09
0000-0099/10-19
0000-0099/20-29 etc.
0100-0199/00-09
0100-0199/10-19 etc.
Any idea to make the last folder complete so it reads like this:
0000-0099
0000-0099/0000-0009
0000-0099/0010-0019
0000-0099/0020-0029 etc.
0100-0199/0100-0109
0100-0199/0110-0119 etc.
Arco Witter is offline   Reply With Quote