Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 32285 invoked from network); 13 Feb 2004 18:27:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Feb 2004 18:27:44 -0000 Received: (qmail 73377 invoked by uid 500); 13 Feb 2004 18:27:34 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 73339 invoked by uid 500); 13 Feb 2004 18:27:34 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 73316 invoked from network); 13 Feb 2004 18:27:34 -0000 Received: from unknown (HELO mail.medata.com) (65.104.121.53) by daedalus.apache.org with SMTP; 13 Feb 2004 18:27:34 -0000 Received: from [172.24.2.18] (proc012 [172.24.2.18] (may be forged)) (authenticated bits=0) by mail.medata.com (8.12.8/8.12.8) with ESMTP id i1DIRZBv031334 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Fri, 13 Feb 2004 10:27:35 -0800 Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <402D0F1E.9000309@apache.org> References: <402A6674.4060706@apache.org> <0C3D51AC-5CD7-11D8-9DA1-000393448246@medata.com> <402ADE66.7010700@apache.org> <1846.172.24.2.23.1076602151.squirrel@mail.medata.com> <402BF91E.8010702@apache.org> <3173.172.24.2.23.1076629174.squirrel@mail.medata.com> <402D0F1E.9000309@apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4BB9D8A8-5E52-11D8-BE15-000393448246@medata.com> Content-Transfer-Encoding: 7bit X-Image-Url: http://homepage.mac.com/webmaestro/.cv/thumbs/me.thumbnail From: Clay Leeds Subject: Re: Problems with FOP site (Was: Re: Sites built from sites) Date: Fri, 13 Feb 2004 10:27:35 -0800 To: forrest-dev@xml.apache.org X-Mailer: Apple Mail (2.612) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Feb 13, 2004, at 9:53 AM, Ross Gardler wrote: > Clay Leeds wrote: >> Ross Gardler said: >>> Your breadcrumbs are correct and the site look fine with "forrest >>> run". >> This might be one of the problems I was running into: I never did a >> "forrest run". Since I don't know what 'Jetty' and 'jetty.run' are, I >> never tried those... I did the following from the command line: >> forrest -projecthelp >> forrest seed >> forrest site > > Well this should build the breadcrumbs OK and since they work in a run > they should work in a site. Run just starts up a version of Jetty and > you can point your browser at http://localhost:8888 to see you site, > much faster than building the site from scratch. You can also edit the > src, refresh the browser and see the changes. Ahh... I'll try that and play with it a bit. So I can edit the src .xml files, then refresh the browser and it'll update the .html file I'm viewing? Cool! As for the breadcrumb, I was successful at changing 'mygroup > myProject" to "apache > xml.apache" but I still need to append " > FOP" to that. Here's the relevant portion of skinconf.xml: xml.apache.org Apache XML FOP Apache FOP Project http://xml.apache.org/fop/ images/project.png Apache XML Apache XML Projects http://xml.apache.org/ images/group-logo.gif (NOTE: that it does not include "apache" and "www.apache.org" anywhere in there... Where does that come from? >>> What you need to do is verify that any needed customisations in your >>> original xmap are copied across (I've not looked to see if any are >>> actually needed). >> I'll check that out with the developers. Unfortunately the primary >> developer who worked (I think) on this portion is no longer actively >> contributing, although I may be able to contact him. > > You should be able to worki it out by reading the sitemap.xmap file. > Fortuneatly the customisations are clearly marked. You can then check > to see if there is now an equivalent in Forrest. Sounds good. >>>> I get errors stating 'site.xml is not valid'. Heh... actually, I >>>> don't >>>> think the file exists, as they're using sitemap.xmap instead. >>> >>> You have to have either site.xml or book.xml. sitemap.xmap is >>> nothing to >>> do with these files, it manages how the site is built. >> As far as I can tell, this file does not exist in any of the >> distributions >> to which I have access (did you find it in your download src?): > > I just took a look. The site is using the old book.xml method. This > will still work fine. But it will be worth moving to the new site.xml > method. It's easier to manage. But one step at a time. Stick with > book.xml for now. Is there an XSL stylesheet which'll help me move from book.xml to site.xml? >> That's why I thought perhaps they were using sitemap.xmap instead. > > sitemap.xmap governs how each request is managed. see > http://xml.apache.org/forrest/sitemap-ref.html I read up on sitemap-ref, but since I was having problems getting the site to build in the first place, I found it difficult to understand how my changes would affect the site. Now that I can build something, it should move easier. Web Maestro Clay