Hi Rudolf,

thank you for your idea, but this is not enough for our application management's
requirements.
The structure is partly different. Not only in regard to the visibility of the
nodes but also in their location.
We additionally need content that is only used for the mobile site (should not
be that much pages, so it might be possible to have these pages hidden in the
main publication).

Wish you a nice weekend!
 Gerd


Rudolf Korhummel <rud...@korhummel.de> hat am 11. Juli 2012 um 20:55
geschrieben:

> Hi Gerd,
>
> Is it. possible to have the same content on both publications, where
> only the visibility of some documents are different?
> If yes you can use the same content with different publications,
> Sharing  the same content works only on a slave cluster.
> The path to the content can be configured in the publication.xml.
> See:
>  http://lenya.apache.org/docu20/reference/publications/publication-config.html
> The different visibility of publication documents  can be handled by
> special navigation stylesheets.
>
> Would this be a solution for your requirements ?
>
> Best
> Rudolf
>
> Am 09.07.2012 um 19:09 schrieb Gerd Schrick:
>
> > Dear Lenya Devs,
> >
> > today I'd like to ask you to start a discussion about the following
> > (I could imagine that we're not the first Lenya users with this
> > "problem"):
> >
> > we're managing our (big) main website with Lenya 2 in 3 languages
> > and want to provide an extra version/site for mobile devices
> > (smartphones).
> > Our application management has the following requirements:
> > a) (obvious) the layout is completely different
> > b) the structure for mobile is partly different (it's not enough to
> > just hide some pages)
> > c) most of the main site's content should be used 1:1
> > d) some additional mobile-only pages are needed
> > e) content is pre-rendered (every 15 mins) and served static
> >
> > f) content editing/publishing is done the whole day from many
> > different editors
> >
> > Our first ideas to deal with this:
> > 1) document type to define references in pub (here the pub for
> > mobile) that refers to a page in another publication. Content and
> > metadata is read from the referenced page and read-only.
> > 2) all information that is stored in sitetree.xml is independent
> > from the main pub and allows to manage the different structure out-
> > of-the-box.
> > 3) workflow must be available to allow submit/review/publish/
> > deactivate of the pages in the mobile pub (based on the workflow
> > state of the main pub).
> >
> > Test for point 1) showed that it is easy to read the content from
> > another publication with the lenya-document protocol. (In document
> > type sitemap.xmap). Is there already a feature in Lenya for such
> > "Symlink-like-pages" or has anyone thought about this?
> >
> >
> > I know that there will be (many different) dependancies between the
> > two sites that cannot be handled automatically and tools/usecases
> > will be needed to support the editors/sitemanagers.
> >
> >
> > Thank you all for your honest opinion,
> >  Gerd
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lenya.apache.org
> For additional commands, e-mail: dev-h...@lenya.apache.org
>

Reply via email to