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

Yiguang Hu yighu at yahoo.com
Sat Apr 19 12:39:36 MST 2008


Please ignore my previous question. I changed with
Sarissa.getDocument and also added sarissa_dhtml.js
then it works now.
Thanks
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: JSword servlet usage. (DM Smith)
>    2. Re: JSword servlet usage. (Joe Walker)
>    3. Re: [sword-devel] Web Front-end for JSword
> (iPhone	targeted)
>       (DM Smith)
>    4. Re: JSword servlet usage. (DM Smith)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 18 Apr 2008 23:13:40 -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:
> <B661F6E6-06FD-4A43-BF50-9D2D5DA9F7DB at yahoo.com>
> Content-Type: text/plain; charset=US-ASCII;
> format=flowed; delsp=yes
> 
> 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 when a book  
> > is
> > not indexed.
> > 5) It makes no use of Cookies:
> >    a) It would be good to have it remember current
> state
> >       - Current Bible.
> >       - Current passage.
> >       - Last lookup
> >       - History
> >       - Settings, e.g. show hide
> >    b) Allow the user to prune the Bible list to
> only those that they
> > care about.
> > 6) Handle right-to-left languages.
> > 7) Allow for the specification of where to look
> for modules and an
> > alternate location ~/.jsword. (This is a
> shortcoming in JSword that
> > should be fixed.)
> >    Right now it looks at every conceivable
> location for SWORD modules
> > and it will let you specify additional locations.
> There is no way to
> > prune the list or to specify that it should only
> look in a given  
> > location.
> >    Right now it will only look at ~/.jsword, which
> must be writable.  
> > In
> > a Tomcat installation, this might not be a
> desirable location. Today
> > this can be changed by changing the jsword.home
> property. There should
> > be an easier way to override this.
> > 8) It is not internationalized. It'd be cool to
> grab the text from
> > BibleDesktop.
> > 9) The UI is merely functional. That is, it is
> ugly. Make it look much
> > nicer.
> > ......
> >
> > I'd also like to add a menu and toolbar. Perhaps,
> with the toolbar
> > hiding the locate and search text inputs behind
> icons.
> >
> > I'm sure you can add to this list. Feedback
> welcomed.
> >
> > In Him,
> >    DM
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > jsword-devel mailing list
> > jsword-devel at crosswire.org
> >
>
http://www.crosswire.org/mailman/listinfo/jsword-devel
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 19 Apr 2008 08:25:39 +0100
> From: "Joe Walker" <joe at getahead.org>
> Subject: Re: [jsword-devel] JSword servlet usage.
> To: "J-Sword Developers Mailing List"
> <jsword-devel at crosswire.org>
> Message-ID:
> 
>
<5dd474260804190025i3545e804l7cfbc6fbb04aebc0 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
>
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
> 
=== 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