[daisy] Bookstore per Site=language?
Paul Focke
paul at outerthought.org
Wed Jul 16 17:02:27 CEST 2008
Kevin
I'd make an extension that displays a list of books in the same language
as the current site. This extension can be called using a daisy include
in document or in some part of the styling.
You'll also want to get an instance of a BookStore object. You can do
this by using the following command in flowscript
var bookstore = repository.getExtension("BookStore")
What you have will be an instance of
org.outerj.daisy.books.store.BookStore
I'm pretty sure this interface isn't taken up in the API that's shipped
with binary builds so you'll have to have a peek at the sourcec code to
see what's possible.
hth
Paul
On Wed, 2008-07-16 at 16:48 +0200, Kevin_Walsh at deichmann.com wrote:
>
> Dear list,
>
> we are now ready to generate our books per site, i.e. per language.
>
> But I cannot see a way to display them automatically, is there? I
> would love the bookstore to be within a site per language.
>
> I can enter the path in the fields tab in the book defintion and it
> sorts the book nicely by English or German, but both are displayed all
> the time.
> Is there any way to change this the same way I change the navigation
> from one language to another?
>
> Thank you!
>
> Kevin
More information about the daisy
mailing list