Hi Janne, been thinking about this too, how much effort would you yhink is in there to expand you solution into publishing into a seperate repository? (i.e. repository website_author website_public and have the the Syndicator pop into there) where can i find your code?
Cheers Uwe *********** REPLY SEPARATOR *********** On 7/18/2005 at 2:51 PM J.M.Hietamäki wrote: >Hi, > >I hacked magnolia (trunk) a little bit, and I now have a version which >runs author and public in a same instance (on small sites I don't think >there is really need for two instances, it only eats the resources twice.) > >briefly I: > >- changed Server.isAdmin() to Server.isAdmin(HttpServletRequest >request).. and modified all the code to use this new method. >- made PublicEntryServlet and two new ServletFilters, one to handle >security and other to do mapping of author and public contexts. >- modified SimpleNavigationTag to show only activated pages in public >"instance" >- modified Syndicator so it can be configured to syndicate to itself. > >Everything I've tested works fine. It only needed few modifications here >and there. My version can be configured to work as separate instances as >before. The only difference there is the modified (but activated) pages >go to public without activation. > >If anyone is interested I can share my code. > >Janne > > > >---------------------------------------------------------------- >for list details see >http://www.magnolia.info/en/magnolia/developer.html >---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
