From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-soc+bounces-268-garchives=archives.gentoo.org@lists.gentoo.org>) id 1KBqWQ-0007ct-FP for garchives@archives.gentoo.org; Thu, 26 Jun 2008 12:24:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AAF2E0580; Thu, 26 Jun 2008 12:24:17 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by pigeon.gentoo.org (Postfix) with ESMTP id 1E55FE0580 for <gentoo-soc@lists.gentoo.org>; Thu, 26 Jun 2008 12:24:17 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id i28so5910wxd.10 for <gentoo-soc@lists.gentoo.org>; Thu, 26 Jun 2008 05:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=5z1saqJ90tvBWBdxAvLShaPcmTkgIer2njshnJFkP0I=; b=gwK+BxBybONqOl64Tx8ByaPr0cJf0HqVOtKK5MsLzJNmnGMzPDHKt0gtR7ZZcNeRyp FhQVuBPm0rSCZ55yonikTg7Lc3l7Te3qqVD1kZ49DlVh3jwkhRiqIoxoGne5vJkh7i23 X3dkvs70jaVrbgC0J1T3YZpeihxAPwY6u4jQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=XSABxY88thBpNDCmvNeg6b/a4CFDaIpmKpX628cGH0F7lkIwmMo/rG7ucAEZVWfIP6 r/m8o/PzKVq2x9oqlKnUid0rY8Un5hMt/K6Xyfhvy6urDVJGHEtEdlMSaB/tX/oyh+hD ECWgP3lEMg2TrQ2rl/V/vfp8xtnrVzXTZloBo= Received: by 10.151.143.3 with SMTP id v3mr1771885ybn.229.1214483056883; Thu, 26 Jun 2008 05:24:16 -0700 (PDT) Received: by 10.150.53.8 with HTTP; Thu, 26 Jun 2008 05:24:16 -0700 (PDT) Message-ID: <b59c1640806260524s2843bd37o6c0b92b94abda04b@mail.gmail.com> Date: Thu, 26 Jun 2008 17:54:16 +0530 From: "Nandeep Mali" <n9986.mali@gmail.com> To: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] Progress Report - Setting Beacon Afloat Precedence: bulk List-Post: <mailto:gentoo-soc@lists.gentoo.org> List-Help: <mailto:gentoo-soc+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-soc+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-soc+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-soc.gentoo.org> X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 2266aa74-bebc-4a16-b6b4-3b30ad667da3 X-Archives-Hash: 0362c05f72253ae2e9247dff6928b547 Hi all, This report is slightly overdue because I thought that I should complete some small tid-bits and include them here as well. I have been writing this report for two days now, adding stuff as I am done with it. 1. Starting of the last week was very frustrating as I was compiling an XSL for GuideXML to HTML transformation which took up a lot of time. Gentoo repository does have an XSL (very detailed!) written by nesyx but that wouldn't serve the editing purpose that we need. So I crafted a new one which is more concise and includes 95% of the GuideXML formatting (so far and evolving as I go along). An even bigger nightmare was making the reverse XSL, i.e. HTML to GuideXML. I have the structure completed and only need to fill in the blanks along the way. Seeing the XSLT was quite rewarding considering the amount of time it took. I even added support for anchors (chapter/section numbering) for referencing other parts of the document using hyperlinks. 2. Next was my tryst with a Rich Text Editor. I tried many available out there but none gave the flexibility needed. For instance I have to handle the validity of GuideXML, not allowing certain tags inside another, blah blah. So I went ahead and re-invented the wheel creating GuideXML's own Rich Text Editor. Again I have the framework ready and am just filling in the buttons so to speak. The Rich Text Editor handles the creation of new chapters/sections along with re factoring of their ids, i.e their chapter/section numbers. Hence if I insert a new chapter then all chapter numbers will update accordingly. This was done keeping in mind the DOM tree that I'll be making next which, you guessed it, helps in focusing to a chapter/section immediately. Another thing I had to tackle was the user input. It is almost impossible to completely prevent the user from inserting/creating trash html in a rich text editor. So I am handling most of the user inputs manually like overriding the default actions of the ENTER, DEL, etc. keys. Also different browsers generate different HTML in an editable area. So I have to make the reverse XSL very flexible. 3. This was small work but I managed to get a database wrapper running and completed a feature of auto-saving of files (like Gmail, WordPress). These are not plugged in yet as the most vital link between everything is the XSL. 4. My domain name expired on 23rd and I was kinda lazy to renew it but will be done by weekend hopefully. I shall put up a demo of almost useable Beacon by then. You can even start editing your docs by then! Kind Regards Nandeep Mali -- gentoo-soc@lists.gentoo.org mailing list