2014-01-13, 05:40
(2014-01-13, 05:36)bluenote Wrote: Is anyone successfully using this with mysql?
Why wouldn't this work with MySQL? It's doesn't access the database directly.
(2014-01-13, 05:34)huttdes Wrote:(2014-01-13, 05:05)giftie Wrote: In each of the Trivia slide folders(if they have different naming schemes) there needs to be a slides.xml file.
The slides.xml file for the first pattern needs to look like this:
PHP Code:<slides>
<slide>
<slide rating="">
<question format=".([0-9]{1,3})+a.jpg" />
<clue format="N/A" />
<answer format=".([0-9]{1,2})+b.jpg" />
</slide>
</slides>
The slides.xml file for the second pattern needs to look like this:
PHP Code:<slides>
<slide>
<slide rating="G">
<question format=".([0-9]{1,3})+_q.jpg" />
<clue format=".([0-9]{1,3})+_c.jpg" />
<answer format=".([0-9]{1,2})+_a.jpg" />
</slide>
</slides>
[/php]
I tried the top one and the slides would not play at all... just skipped them. I eliminated the NA line and still no luck.
I then linked to another folder I had just downloaded... a guy on youtube had a link to his entire folder structure. He had the xml file in his slides folder.
A little different then what you wrote me... as you can see by the below his filenames have an underscore before the letter.
<slides>
<slide>
<question format="([a-z])_a\.jpg" />
<clue format="q([0-9]{1,3})c\.jpg" />
<answer format="([a-z])_b\.jpg" />
<mpaa = "N/A">
</slide>
</slides>
Unfortunately this did the same thing... would not play at all.
So right now the only way I can get them to play is with no xml at all... but does not play properly.
The xml file is needed to sort the order. It is really difficult to diagnose anything with out a debug log. The slides.xml files I provided, should work.