Author Topic: Loading a "stack" of books at once  (Read 446 times)

Ecnassianer

  • Sr. Member
  • ****
  • Posts: 126
    • Carpe Chaos
Loading a "stack" of books at once
« on: May 20, 2010, 07:32:59 am »
I'm building a library of megazine books.

One day I'd like users to be able to "check out" several megazine books at once. Megazine would load once, and as people page flipped to the end of one book in their "stack", they'd come to the front cover of the next book without ever leaving megazine.

Ideally, I wouldn't have to configure this separately, I'd just be able to make some kind of swfaddress that told Megazine which books to queue up. Something like:
http://CarpeChaos.com/ACoolBook.html/#+AShortMagazine+MomsScrapbook

I wouldn't mind much if it used the book parameters from ACoolBook the whole time and just loaded the page/chapter content of AShortMagazine and MomsScrapbook.
See my megazine at CarpeChaos.com

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: Loading a "stack" of books at once
« Reply #1 on: May 25, 2010, 05:03:15 pm »
As long as the basic settings, such as page width and height don't change, that's not impossible. You can already add and remove pages dynamically at runtime via the API (batchpages uses that for adding pages). So it'd be possible to write a plugin that swaps out the content entirely.

This is a very unique requirement, though (I think?), so we'll best continue this via mail (you already contacted Hans, I believe).
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

Ecnassianer

  • Sr. Member
  • ****
  • Posts: 126
    • Carpe Chaos
Re: Loading a "stack" of books at once
« Reply #2 on: May 28, 2010, 12:29:23 am »
It hadn't occured to me to just add and remove pages. That seems like an option I might investigate, but for now this is super low priority for me as well. First I need to get more than a handful of books to load, then I'll look into how to get them to load together! :D
See my megazine at CarpeChaos.com