Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 697C1DB43 for ; Tue, 24 Jul 2012 15:00:49 +0000 (UTC) Received: (qmail 98181 invoked by uid 500); 24 Jul 2012 15:00:49 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 97866 invoked by uid 500); 24 Jul 2012 15:00:48 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 97840 invoked by uid 99); 24 Jul 2012 15:00:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 15:00:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dave2wave@comcast.net designates 76.96.30.16 as permitted sender) Received: from [76.96.30.16] (HELO qmta01.emeryville.ca.mail.comcast.net) (76.96.30.16) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 15:00:39 +0000 Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta01.emeryville.ca.mail.comcast.net with comcast id eCuW1j00B1wfjNsA1EzsJX; Tue, 24 Jul 2012 14:59:52 +0000 Received: from [192.168.1.2] ([67.180.51.144]) by omta23.emeryville.ca.mail.comcast.net with comcast id eEzr1j00H36gVt78jEzrcx; Tue, 24 Jul 2012 14:59:52 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Can onLoad()/onResize() on be handled via CMS? From: Dave Fisher In-Reply-To: Date: Tue, 24 Jul 2012 07:59:50 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: ooo-dev@incubator.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 24, 2012, at 7:24 AM, Rob Weir wrote: > I'm trying to move my download stats HTML age into the website. >=20 > Original file is here: = http://people.apache.org/~robweir/aoo-downloads.html >=20 > As you can see it triggers the load of the data and the drawing the > charts, as well as resizing when the window is resized, via this > declaration: >=20 > >=20 > But when processed by the CMS template, this is lost. It looks like > everything within the source is put into the new document, but > any event hooks declared the original are not carried over to > the new . >=20 > Would it be possible to add this support? Yes - this is half way built on ooo-site. The perl side has been done = for sometime. It is something more to check tonight with QA change. if ($args{content} =3D~ = m!(.*?)(?:.*?)?(.*?)(?:|\Z)!si) { @args{qw/header bodytag content/} =3D ($1, $2, $3); } It is the bodytag. I plan to change the above to extract the html head = title. Also general change from header to head (to avoind confusion with = headers which come from mdtext.) In templates/skeleton.html is changed to But my concern is a lot of NL sites use this, so I wanted to be careful. I did have a different notion to support your downloads graph, but the = above needs to be finished. The decision will be whether to do this at the same time as the Google = analytics. More this evening. BTW - I'm west coast. Regards, Dave >=20 > -Rob