Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 21305 invoked from network); 27 Jul 2004 19:39:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jul 2004 19:39:13 -0000 Received: (qmail 44124 invoked by uid 500); 27 Jul 2004 19:39:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44092 invoked by uid 500); 27 Jul 2004 19:39:03 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 44078 invoked by uid 99); 27 Jul 2004 19:39:03 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=CLICK_BELOW,JAVASCRIPT_URI X-Spam-Check-By: apache.org Received: from [216.120.225.16] (HELO relay4.hrnoc.net) (216.120.225.16) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 27 Jul 2004 12:39:00 -0700 Received: from smtp-1.hrnoc.net ([216.120.225.37]) by relay4.hrnoc.net with esmtp (Exim 4.32; FreeBSD) id 1BpXmf-000Kp3-AW for user@ant.apache.org; Tue, 27 Jul 2004 15:38:45 -0400 Received: (qmail 4819 invoked by uid 509); 27 Jul 2004 19:38:53 -0000 Received: from josep.rio@uworks.net by smtp-1.hrnoc.net by uid 89 with qmail-scanner-1.20st (clamuko: 0.70. spamassassin: 2.63. Clear:RC:1(62.57.132.41):. Processed in 3.40726 secs); 27 Jul 2004 19:38:53 -0000 X-Qmail-Scanner-Mail-From: josep.rio@uworks.net via smtp-1.hrnoc.net X-Qmail-Scanner: 1.20st (Clear:RC:1(62.57.132.41):. Processed in 3.40726 secs) Received: from docsis132-41.menta.net (HELO ryoohki) (josep.rio@uworks.net@62.57.132.41) by smtp-1.hrnoc.net with SMTP; 27 Jul 2004 19:38:49 -0000 From: =?iso-8859-1?Q?Josep_del_R=EDo?= To: "'Ant Users List'" Subject: RE: Photo Album website generation using ANT Date: Tue, 27 Jul 2004 21:38:40 +0200 Organization: uWorks Message-ID: <000801c47411$5909ff70$2984393e@ryoohki> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: Importance: Normal X-HR-Scan-Signature: 715bb71f71cca7af71164ac4239f1df7 X-HR-SA-Score: () X-HR-Status: HR_AVScanned-(josep.rio@uworks.net/216.120.225.37) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I made a pure ant screenshot organized little ago, but I think it's too complicated for your needs: ---- main task ---- =20 =09 ---- makeScreenshot ---- ---- makeScreenshotItem ---- =20 =09 =09 The FMPP file: --- screen-template.html ---- <#list products.list.product as item> <#if item.@ref =3D targetRef> ${item.@title}
3D"<- 3D"${lang.next}
This (and more code) is used to generate the website located at http://www.uworks.net . You can see the results by going to http://www.uworks.net/products.html and click on "Screenshots" (there's one for each product).=20 There's no thumbnail, but the code to do it is quite trivial, if you use that image task. The reason why I wanted a pure ant solution is because it generates code for WML, XHTML Basic (for mobile phones) and HTML. An automated task to generate screenshots from a photo folder would be quite cool, maybe I'll implement it if I got time :) Regards, Josep del R=EDo -----Original Message----- From: Daniels, Doug [mailto:Doug.Daniels@gdc4s.com]=20 Sent: martes, 27 de julio de 2004 6:13 To: Ant Users List Subject: Photo Album website generation using ANT Hi, I was wondering if anyone had any ideas what external tools I could use with ANT to automate the building/updating of an online photo album. Here is the scenario: I take digital photos every weekend or so and I store them in a directory IE: c:\photos\ThisWeek-2004-07-26 Then I use Dreamweaver/Fireworks to create a Web Photo Album with thumbnails and specified thumbnails per line etc. It then outputs it to c:\web\photos\ThisWeek-2004-07-26\index.html So I was thinking it'd be nifty if I could piece together some kind of ANT solution that would let me do all this by running an ant script in my c:\photos directory that would check if all my generated albums are up to date, and if not it would generate the necessary ones in c:\web\photos. So I've looked into the external tools and I think I'm going to need to use the ANT image processing tasks from: Jakarta ANT Image: http://www.mullassery.com/software/ANT/ Also using FMPP for creating the static HTML pages http://fmpp.sourceforge.net/ I was thinking maybe I could provide some kind of XML style for how each photoalbum should look like, and be able to change it in the ANT command. So I was thinking the ANT command would look something like this: and then there would be additional optional paramaters for things like: thumbWidth, thumbHeight, thumbCol, scale (scale original to smaller % version). Maybe even a style=3D"style.xsl" or .xml, depending on how the photoalbum style is defined. Then I could use ant-contrib foreach task to loop over every directory in C:\photos, generating a=20 Has anyone attempted anything like this or has any ideas on how I should proceed? ~Doug Daniels --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org