Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 34660 invoked from network); 3 Apr 2005 12:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Apr 2005 12:06:18 -0000 Received: (qmail 98810 invoked by uid 500); 3 Apr 2005 12:06:17 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 98788 invoked by uid 500); 3 Apr 2005 12:06:17 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 98775 invoked by uid 99); 3 Apr 2005 12:06:17 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from anchor-post-31.mail.demon.net (HELO anchor-post-31.mail.demon.net) (194.217.242.89) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 03 Apr 2005 05:06:17 -0700 Received: from kegcl.demon.co.uk ([194.222.194.80]) by anchor-post-31.mail.demon.net with esmtp (Exim 4.42) id 1DI3pP-000ACV-6A for user@forrest.apache.org; Sun, 03 Apr 2005 12:03:46 +0000 Message-ID: <424FDCA1.8060205@mail.portland.co.uk> Date: Sun, 03 Apr 2005 13:08:01 +0100 From: Kevin User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@forrest.apache.org Subject: Re: skinconf text elements in group.svg References: <424E987A.4020006@mail.portland.co.uk> <1112471126.5088.23.camel@localhost.localdomain> <1112526424.5121.8.camel@localhost.localdomain> In-Reply-To: <1112526424.5121.8.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thorsten Scherler wrote: > Hi Kevin, > > http://svn.apache.org/viewcvs?view=rev&rev=159868 > > Rick commited some code to make > forrest/trunk/main/webapp/resources/stylesheets/project2text.xsl more > generic. Thank you for your help. I'll look at how project2text.xsl is called so I understand things correctly. I appreciate your ideas below and will use the new svn version. Kevin. > If you make an svn up your problem may be already solved. ;-) > > Changing the stopping color may be easier to change directly in the > *.svg code. > > HTH > thorsten > > On Sat, 2005-04-02 at 21:45 +0200, Thorsten Scherler wrote: > >>On Sat, 2005-04-02 at 14:04 +0100, Kevin wrote: >> >>>Hi, >>> >>>I'm using 0.7-dev and wondered if it was possible >>>to use other text elements from processed skinconf >>>as done in group.svg and project.svg. >>> >>>ie. from >>> >>>forrest run >>> >>>http://localhost:port/images/group.png >>> >>>shows the skinconf text in group.svg: >>> >>> >>> >>>-- >>> >>>The 'for' namespace allowed >>>but not which was in skinconf too? >>> >> >>Yes and no. >> >>The for:group-name will be matches later on in >>{forrest-trunk}/main/webapp/resources/stylesheets/project2text.xsl >> >>Here you find: >> >> >> >> >> >> >> >> >> >>...and no ! >> >>You would need to add new matches here if you want to extend the >>functionality. >> >> >>>After a refresh I expected group.png to show the >>>year as it did changing group-name to project-name? >>> >> >>Yes and no. >> >>Actually for project-name the match was on the project.svg which has >> >> >>>Could someone help with my understanding of how >>>this works. Thanks. >>> >> >>You will need into the above xsl's and where we match them to really >>understand what is going on. ;-) >> >>HTH >> >> >>>-- >>> >>>My aim was to get the svg linearGradient stop-colors >>>in skinconf (from colors.color.tab-selected etc.) eg. >>>#4c6c8f >>>#e5e4d9 >>>so the project and group logo colors would match the >>>skin. >>> >> >>An easy way would be (I had no time to test!) but it gives you the idea >>(I hope ;-)): >> >>a) extend the skinconf.dtd to allow and add to skinconf.xml: >> >> >> >> >> >>b) change project.svg and group.svg and change: >> >> >> >> >> >>to: >> >> >> >> >>c) change project2text.xsl and add >> >> >> >> >>This solution would change the project and group logo the same way. If >>you want to have it different you need to do something like : >> >>in skinconf.xml >> >> >> >> >> >>...and change all above to match the new situation. ;-) >> >> >>>Used in an an svg >>> >>That is as well possible but will cost a wee bit much work. >> >> >>>The above shows the idea probably need CDATA tags. >>> >> >>HTH and if it is working please create a patch, add it to our issue >>tracker and we will apply the patch. >> >> >>>-- >>> >>>Kevin. >>> >> >>salu2