Return-Path: Delivered-To: apmail-maven-doxia-dev-archive@www.apache.org Received: (qmail 92747 invoked from network); 31 Dec 2007 12:46:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Dec 2007 12:46:29 -0000 Received: (qmail 17276 invoked by uid 500); 31 Dec 2007 12:46:18 -0000 Delivered-To: apmail-maven-doxia-dev-archive@maven.apache.org Received: (qmail 17227 invoked by uid 500); 31 Dec 2007 12:46:18 -0000 Mailing-List: contact doxia-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: doxia-dev@maven.apache.org Delivered-To: mailing list doxia-dev@maven.apache.org Received: (qmail 17218 invoked by uid 99); 31 Dec 2007 12:46:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 04:46:18 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.27.42.28] (HELO smtp2-g19.free.fr) (212.27.42.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 12:45:54 +0000 Received: from smtp2-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp2-g19.free.fr (Postfix) with ESMTP id E5D0412B70E for ; Mon, 31 Dec 2007 13:45:55 +0100 (CET) Received: from [192.168.0.11] (lam60-1-82-233-128-14.fbx.proxad.net [82.233.128.14]) by smtp2-g19.free.fr (Postfix) with ESMTP id BBBC012B6F4 for ; Mon, 31 Dec 2007 13:45:55 +0100 (CET) Message-Id: <3C250219-DAF8-45F9-AB31-DB3A34CC27CC@massol.net> From: Vincent Massol To: doxia-dev@maven.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Need for onWords events (and more)? Date: Mon, 31 Dec 2007 13:45:55 +0100 X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've been thinking about some use case we might have in XWiki and I'm wondering how to solve them using Doxia. Imagine we want the rendering process to automatically look for word definition on, say, wikipedia, and when found, highlight the word and make the definition appear when the mouse hover over the word. How would we do this with Doxia since there's no onWord event? Wikimodel does have such an event (they even have events such as onSpace and onSpecialSymbol, onEmptyLines, onEscape, etc): http://tinyurl.com/yuuh2d Thanks -Vincent