[jsword-devel] jsword-devel Digest, Vol 47, Issue 17

Yiguang Hu yighu at yahoo.com
Wed Apr 23 12:14:21 MST 2008


DM,

Do you have samples about how to do parallel and
interlinear display?

This is what I got now. Once I have parallel and
interlinear display working, I can start to organize
the layout and make it more real.

http://rock.ccim.org/jswordweb/

Yiguang
--- jsword-devel-request at crosswire.org wrote:

> Send jsword-devel mailing list submissions to
> 	jsword-devel at crosswire.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 
>
http://www.crosswire.org/mailman/listinfo/jsword-devel
> or, via email, send a message with subject or body
> 'help' to
> 	jsword-devel-request at crosswire.org
> 
> You can reach the person managing the list at
> 	jsword-devel-owner at crosswire.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of jsword-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: [sword-devel] Interlinear text (Peter von
> Kaehne)
>    2. Re: [sword-devel] Interlinear text (DM Smith)
>    3. Re: JSword servlet usage. (DM Smith)
>    4. Global key list (DM Smith)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 21 Apr 2008 22:46:51 +0100
> From: Peter von Kaehne <refdoc at gmx.net>
> Subject: Re: [jsword-devel] [sword-devel]
> Interlinear text
> To: J-Sword Developers Mailing List
> <jsword-devel at crosswire.org>
> Message-ID: <480D0B4B.5040309 at gmx.net>
> Content-Type: text/plain; charset=UTF-8
> 
> DM Smith wrote:
> > Peter,
> > 
> > Your example won't wrap when the window is
> resized.
> 
> An, you are right... Sorry.,
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 21 Apr 2008 17:44:35 -0400
> From: DM Smith <dmsmith555 at yahoo.com>
> Subject: Re: [jsword-devel] [sword-devel]
> Interlinear text
> To: J-Sword Developers Mailing List
> <jsword-devel at crosswire.org>
> Message-ID: <480D0AC3.4080807 at yahoo.com>
> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed
> 
> Peter von Kaehne wrote:
> > DM Smith wrote:
> >   
> >> Peter,
> >>
> >> Your example won't wrap when the window is
> resized.
> >>     
> >
> > An, you are right... Sorry.,
> >   
> NP. It got me looking at Ruby Annotations again and
> this time a bit more 
> seriously.
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 21 Apr 2008 18:58:58 -0400
> From: DM Smith <dmsmith555 at yahoo.com>
> Subject: Re: [jsword-devel] JSword servlet usage.
> To: J-Sword Developers Mailing List
> <jsword-devel at crosswire.org>
> Message-ID:
> <489C37DC-5295-47DD-926C-C5482025BC40 at yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Turns out Google's ajaxslt implementation is
> reasonably complete but  
> its performance is so poor that it would demand a
> server side solution.
> 
> I'm still looking at javeline's implementation,
> which does have  
> diagnostics. It is complaining about a few
> constructs. But I am  
> surprised that it does not support xsl:text and
> xsl:variable. We use  
> the former to force regular spaces. I don't think
> that will be all  
> that hard to handle. But, variables, wow, that just
> doesn't make any  
> sense and I've used them all over the place for code
> minimization. It  
> also doesn't support call-template, which is used
> for reusable code.
> 
> I'm thinking I like your interface suggestion more
> and more.
> 
> On Apr 19, 2008, at 3:25 AM, Joe Walker wrote:
> 
> >
> >
>
http://ajaxian.com/archives/xpathxslt-support-in-safari
> > Might help.
> >
> > Joe.
> >
> > On Sat, Apr 19, 2008 at 4:13 AM, DM Smith
> <dmsmith555 at yahoo.com>  
> > wrote:
> > I found out that this does not work on the Mac.
> I've narrowed down the
> > problem to Safari not having an XSLT processor.
> I'm looking into
> > alternatives.
> >
> > -- DM
> >
> > On Apr 18, 2008, at 1:42 PM, DM Smith wrote:
> >
> > > I have worked up an example, demo, starting
> point of how to use  
> > JSword
> > > in a servlet using DWR - Direct Web Remoting.
> > >
> > > Here is a tutorial on how to do it:
> > > http://www.crosswire.org/jsword/tutorial.html
> > >
> > > Here is a somewhat working version of it.
> > > (I don't have any of these indexed, so search
> does not work.)
> > > http://www.crosswire.org:8080/jsword/iBD.html
> > >
> > > This doesn't follow the tutorial exactly. I had
> to tweak the dwr
> > > javascript inclusions.
> > >
> > > There are some shortcomings in this example:
> > > 1) Because all the links are handled via java
> script, it never  
> > leaves
> > > the page. Hitting the brower's back button does
> not take you to the
> > > prior verse. It would be really nice to have
> history.
> > > 2) There are no options, e.g. show/hide
> notes/Strong's/xrefs/verse
> > > numbers/verse per line, .... There should be.
> > > 3) This does no caching at all.
> > >    a) It should cache the XSLT processor. During
> development, you
> > > don't
> > > want caching.
> > >    b) In doing options, we should cache the dom
> for the current  
> > view.
> > > No sense in getting it again.
> > >    c) It may make sense to cache the dom for
> some items in history.
> > > 4) It does not make good use of JavaScript.
> These are pretty  
> > trivial.
> > >    a) Rather than notes in a sidebar, it would
> be good to have a  
> > hover
> > > enabled popup of the note body.
> > >    b) Implement Strong's and Robinson's
> morphology lookup into a
> > > popup.
> > > Currently, it does these are not handled at all.
> > >    c) Perhaps highlight all words on the page
> having the same  
> > Strong's
> > > number.
> > >    d) The javascript constrains the return to
> 100 verses to prevent
> > > overloading the server with a request like:
> Gen-Rev. It would be
> > > good to
> > > be able to get the next "n" verses.
> > >    e) Allow dictionary lookup of a displayed
> word.
> > >    f) The search input box and button should be
> disabled 
=== message truncated ===



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the jsword-devel mailing list