Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-soc
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-soc@g.o
From: "Nandeep Mali" <n9986.mali@...>
Subject: Progress Report - Setting Beacon Afloat
Date: Thu, 26 Jun 2008 17:54:16 +0530
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@g.o mailing list


Replies:
Re: Progress Report - Setting Beacon Afloat
-- Luca Barbato
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Progress Report - Setting Beacon Afloat
Next by thread:
Re: Progress Report - Setting Beacon Afloat
Previous by date:
Re: planet summer of code
Next by date:
Re: Progress Report - Setting Beacon Afloat


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.