[jsword-devel] JSword and Map/Image modules
Yiguang Hu
yighu at yahoo.com
Sat Mar 7 08:57:29 MST 2009
I never used Map/image module, Any detail how to use it?
I am interested in put it on gsword.
I added a PowerPoint function that can generate Power Power automatically. It will be useful for presentations such as Sunday worship.
http://rock.ccim.org/gsword/gbook/v
Thanks
Yiguang
--- On Sat, 1/31/09, jsword-devel-request at crosswire.org <jsword-devel-request at crosswire.org> wrote:
> From: jsword-devel-request at crosswire.org <jsword-devel-request at crosswire.org>
> Subject: jsword-devel Digest, Vol 56, Issue 8
> To: jsword-devel at crosswire.org
> Date: Saturday, January 31, 2009, 2:00 PM
> 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 and Map/Image modules (Brian Fernandes)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 31 Jan 2009 19:50:08 +0530
> From: Brian Fernandes <infernalproteus at gmail.com>
> Subject: Re: [jsword-devel] JSword and Map/Image modules
> To: J-Sword Developers Mailing List
> <jsword-devel at crosswire.org>
> Message-ID: <49845E18.7000407 at gmail.com>
> Content-Type: text/plain; charset="iso-8859-1";
> Format="flowed"
>
> DM,
>
> I could find no way to attach a patch to the bug report,
> other than
> pasting it in the comment directly, so attaching them here
> instead.
>
> BD-135.txt is a fix for the Map TOC display in BD.
>
> closehtmltags.txt uses a regular expression to close
> <br>, <hr> and
> <img> tags if they are not already closed. This is a
> one shot operation
> after which parsing is attempted, before the last
> "remove all tags"
> failsafe.
>
> I have tested these with around 4 map modules (though the
> tag fix will
> be applied to all ThML modules for which parsing fails)
> which fail with
> the current version of BD. Please review and feel free to
> modify /
> correct as you see fit.
>
> Thanks,
> Brian.
>
>
> DM Smith wrote:
> >
> > On Jan 29, 2009, at 9:54 AM, Brian Fernandes wrote:
> >
> >>>>
> >>>> The options I see are:
> >>>> a) Change logic (just for maps) to make a
> list/tree decision based
> >>>> on the type of book object.
> >>> I think this is the right choice.
> >>
> >> I have a patch ready, I'll attach it to the
> bug report shortly.
> >
> > Many thanks!
> >
> >>
> >>
> >>> Is <br> is the only element in HTML
> defined to have not content? If
> >>> we have a complete list, I'd be happy for
> your suggested change to be
> >>> added.
> >>
> >> That's a good question. I found a list of
> empty tags here:
> >>
> http://everything2.com/title/Empty%2520HTML%2520Tags (most
> lists are
> >> very similar). Out of these, I think only BR, HR
> and IMG make sense in
> >> our context, what do you think?
> >>
> >> I was testing further this morning and noticed
> that there are several
> >> other Map modules in Karl's repository which
> failed to show images in
> >> BD. So it seems like Karl has several modules with
> bad ThML. The good
> >> news is that a really simple
> "<br>" to "<br/>" fix I put
> in was enough
> >> to get all of these working.
> >>
> >> In HTML, it's common to see open <img>
> tags as well, though none of
> >> Karl's modules had that problem. What is a
> good source for modules
> >> with problems? Would be helpful to see different
> problems across
> >> different modules so that a more robust (but
> simple) solution could be
> >> developed (definitely not something as advanced as
> what you suggested
> >> earlier).
> >>
> >> Do you think we should add a single step after the
> character clean up
> >> which fixes <br>, <hr> and <img>
> in one go? Or does it make more sense
> >> to fix them one at a time, and attempt to parse
> after each fix?
> >
> > I would suggest: Do what is easiest to understand and
> maintain. But hold
> > parsing until all are done.
> >
> > Again thanks,
> >
> > DM
> >
> >
> >
> >
> > _______________________________________________
> > jsword-devel mailing list
> > jsword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/jsword-devel
> >
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: bd-135.txt
> URL:
> <http://www.crosswire.org/pipermail/jsword-devel/attachments/20090131/09be51ca/attachment-0002.txt>
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: closehtmltags.txt
> URL:
> <http://www.crosswire.org/pipermail/jsword-devel/attachments/20090131/09be51ca/attachment-0003.txt>
>
> ------------------------------
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
> End of jsword-devel Digest, Vol 56, Issue 8
> *******************************************
More information about the jsword-devel
mailing list