I'm working on a catalog that contains several chapters and well over 100 pages. Luckily, I know that each chapter will be four pages long and use the same four Master Pages.
In a perfect world, I would have the client export their data as XML, with each chapter and all of its content being held by its child tags (number, title, description, etc.), and then just script the generation of the pages and let the XML fill it all out on import.
I was trying to do something like this
<catalog> <chapter> <number> 01 </number> <title> Super Awesome Title </title> <description> Here is the description for this chapter. </description> </chapter> <chapter> <number> 02 </number> <title> Another Title </title> <description> And another description. </description> </chapter> </catalog>
but it's only importing the first set, and I kind of figured this attempt was a long shot anyways. I also tried using
<chapter1> <number> ... <chapter2> <number> ... <chapter3> <number> ...
though I couldn't see how to wrap individual pages with a tag and it's moving away from the automation I'm working towards.
So, does it make sense what I'm doing, and is my proposed process logical and (more importantly) doable?