2009-09-14, 19:33
BDPNA Wrote:.......
Yeah, that did it -- As soon as I went above 10 slides it started scrambling Q&As. I assume I need to change the regex from something different than 0-9 when I am going into double digits...Maybe it's the fact I am not using the +q after my [0-9] for the question type and RE only allows for a single digit number in that case? Just grasping. I dunno.
Correct the REGEX format needs to be changed within the slides.xml file that is located in the same folder where you have placed all of your slides.
The following slides.xml will increase your slide count to 1000.
Starting from 000 ending at 999
Your slide groupings need to follow this naming convention.
Note: The use of leading zeros are optional.
This REGEX string will work with or without them. For the OCD type's like me, I would use them to keep the file names looking consistent within the folder.
- q###q.jpg for question slides
- q###c.jpg for clue slides
- q###a.jpg for answer slides
slides.xml
Code:
<slides>
<slide>
<question format="q([0-9]{1,3})q\.jpg" />
<clue format="q([0-9]{1,3})c\.jpg" />
<answer format="(q[0-9]{1,3})a\.jpg" />
</slide>
</slides>
If you wish to change the total # of slides in a group.
Change {1,3} to {1,2} and this will change the slide count from 000-999 to 00-99.
Cheers
CyberMaxX