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