Hi Dennis, With our CMS implementation we also needed a preview functionality and implemented a pipeline in cocoon, which generated a redirect html page. (So, /cmspreview/<repository-path> generates a redirect to the real url.) We reused this functionality, so everything is fine now.
Thanks, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Mon, Dec 8, 2008 at 10:36 AM, Dennis Dam <[EMAIL PROTECTED]> wrote: > Hi Nick, > > just an idea; you could make a (secured) mini-webservice in Cocoon for > rewriting content paths to website urls. You can then call the webservice > from your external app. However, it depends on your performance requirements > whether this solution is desirable or not. This is probably the quickest > approach. > > regards, > Dennis > > > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] namens Nick Stolwijk > Verzonden: di 2-12-2008 13:18 > Aan: Hippo CMS development public mailinglist > Onderwerp: [HippoCMS-dev] Link rewriting without cocoon or portal > > Is there an independent module which can rewrite repository paths for > documents to url's with the sitemenu as basis? > > I've seen the SiteMenuLinkRewriterImpl.java [1] which is a cocoon > component and the CMSLinkFactoryImpl.java [2], but I need to know the > url of a document from another application. In that application I use > the Hippo Java Adapter to access the repository. > > Is it possible to rewrite urls without those two components? > > With regards, > > Nick Stolwijk > > [1] > https://svn.hippocms.org/repos/hippo/hippo-cocoon-extensions/trunk/skeleton-creation/src/java/nl/hippo/cocoon/site/SiteMenuLinkRewriterImpl.java > [2] > http://svn.hippoforge.org/repos/hippo/hippo-portal/trunk/hippo-portal/src/java/nl/hippo/portal/cms/site/CMSLinkFactoryImpl.java > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > > > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
