[jsword-devel] Introduction

Yiguang Hu yighu at yahoo.com
Tue Sep 13 20:38:55 MST 2005

Thanks for your reply Mark. I already received a
response from Troy on the sword team and he showed me
their web with the c++ version sword engine. 
They use idl to work with sword and also thinking of
implementing the same idl to work with the jsword.
So I am still thinking how I can contribute so it
could be useful yet not duplicate what Troy already

I'd like to play the ajax a bit first. It does sound
I looked at the Key but I am not sure how to iterate
effectively. I was thinking  a small wrapper for the
key that return me the plaintext or the html for a
given key. I iterate and create a wrapper object for
each key and put the wrapper into a list. When I
display, I call the wrapper method to return text or
html. If your way is better, would you please add your
iterate into the APIExample page ?

--- DM Smith <dmsmith555 at yahoo.com> wrote:

> Welcome Yiguang!
> Your work does not overlap ours and is most
> welcomed.
> I don't know any way to easily search the mailing
> list archives except 
> via google. Just include jsword-devel in your
> search.
> We don't actually return the text of verses as the
> result of a search 
> but a list of references to verses. At first this
> might seem like a 
> drawback. It is a huge resource savings as you have
> a lot of control 
> over how verses are fetched.
> The search result will be a Key object which can be
> iterated over. Key 
> has a very list like interface. You can get an
> iterator, the number of 
> elements or a particular element by position. The
> elements returned from 
> the iteration are references to verses. You have a
> choice as to what 
> kind of Key to use. Typically it will be a
> PassageTally or a BitwisePassage.
> You can subset the Key into other keys so that you
> can return partial 
> results (e.g. pages with 50 verses on them)
>  From a key you can request the text or an xsl
> transformation of the 
> text. The xslt that we use within BibleDesktop
> creates HTML with custom 
> protocols. I think that changing that would be make
> it work for the web.
> You can see examples of most of this at 
> It does not have examples of how to iterate, but I
> can add those if you ask.
> In the context of a web, you might want to look at
> ways to keep from 
> refreshing the entire page with each request. Joe
> has been working on 
> DWR (http://getahead.ltd.uk/dwr/), which is AJAX for
> Java made easy and 
> it has just gone 1.0. This may be of use in making a
> website experience 
> very enjoyable.
> Hope this is a good start. Looking forward to seeing
> your website!
>     DM
> Yiguang Hu wrote:
> >Hello,
> >
> >My name is Yiguang Hu. I am the webmaster of
> >ccim.org-A volunteer supportted Chinese Christian
> >Internet Mission. We host many Chinese Church/Orgs
> web
> >sites and have a bible search engine and a
> E-library 
> >and have several Chinese Christian web sites in/out
> of
> >USA. 
> >I just found the jsword project a few days ago and
> it
> >is what I have been waiting for quite some time. I
> >played a little bit of the source code and wrote a
> web
> >interface using java server faces. I got the
> >bible/dictionary/commentary works with some search
> >result problems. 
> >Because I just started, I may not be using the
> >search function correctly. 
> >Before I spend more time on it, I am just wondering
> if
> >some one already started a web front effort. I will
> be
> >very glad to add my code into the CVS so more
> people
> >can help to improve it. 
> >
> >The other question is is there a interface that put
> >the 
> >search result in a collection of verses like a List
> so
> >I can display them like 20 verses/entry a page ?
> >
> >One more question is Is there a way I can search
> the
> >email archives instead of read the archive files
> one
> >by one so I can find if my question is already
> >answered or a duplicate ?
> >
> >
> >Thank you very much for this great work.
> >Yiguang
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> >http://mail.yahoo.com 
> >_______________________________________________
> >jsword-devel mailing list
> >jsword-devel at crosswire.org
> >
> >  
> >

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the jsword-devel mailing list