bibledit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[be] Re: How to make a resource based on Sabda


From: Teus Benschop
Subject: [be] Re: How to make a resource based on Sabda
Date: Fri, 16 May 2008 19:05:36 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

Hi Phil,

Thanks for the mail. Please allow me to insert a few comments in the text.

I am having several problems with the Resource Viewer.
  1. The red X button to close a resource tab doesn't seem to work. I am able to close resources from the File > Resources menu only.
Yes, this is correct. The red button on the resource viewer is similar to the red button with the X in a browser. Pressing that button in the browser does not close the browser, but it only causes the browser to stop further the page it was in the process of loading. Similarly in the resource viewer, if it was loading a page it would then stop doing so. It is not designed to close the resource, that only at present is possible with menu File / Resources / Close.
  1. I'm not able to use files I have created which are based on Sabda pages.
    There doesn't seem to be any help about how to create new resources in the popup help. I have looked briefly on the on-line help, but haven't found an answer for my dilema. More below.
Have you notices the elaborate helpfile that comes up when clicking the Help button in dialog "New Resource"? That dialog shows how to create new resources. It is accessible through menu File / Resources / New or (Edit).
  1. I have had BE crash/freeze when trying to load my resources. This makes it impossible to Edit them.
Yes, I have seen that behaviour too at times. It has to do with the Gecko / xulrunner library. That causes the crash. I have given up looking for the cause, but on the other hand there should be a solution. If you wish to have it fixed, please file a bug.

I see now that one of my problems is that the Sabda example resource is based on a Sabda page like this:
http://www.sabda.org/sabdaweb/bible/verse/?b=60&v=2&version=drft_wbtc
Whereas the resources/wiki pages I have created are based on Sabda pages that are like this:
http://www.sabda.org/sabdaweb/bible/chapter/?b=60&version=drft_wbtc
Through the Resource Editor this can easily be modified. The key here is in this example:

http://net.bible.org/verse.php?book=<book>&chapter=<chapter>&verse=<verse>

Wherever you wish bibledit to retrieve a book, then put <book>, and so also for <chapter> and <verse>. Bibledit will fill these values with the proper book, chapter or verse that you wish to retrieve.

Please see this link: http://docs.google.com/Doc?docid=dd8j5c9_16cv8z35&hl=in
That is the wiki page we have created for 1 Peter 1.
To create pages like this, I have simply copied the table found on  Sabda pages as in the second link above
and pasted them into GoogleDocs. I have gotten the GoogleDoc page above to show, and it hasn't crashed BE yet, but like the others I have tried, BE does not scroll the page.
For a page to scroll, there should be an anchor in a html file. This has been described in the helpfile on the Resource Converter. That is, normally when plucking a page from the web, it does not contain the right anchors for Bibledit so that it would know where a certain verse starts in the file. So each html file needs to be "Converted", as it is called. This means adding the right anchors to it.

Can you make another Sabda-based resource example based on the second link above-- one that will stay at the same url but scroll with the verses? Please send me the instructions for filling out the form.
The URL generally would be:

http://www.sabda.org/sabdaweb/bible/chapter/?b=60&c=2&version=drft_wbtc
So the URL constructor would be:
http://www.sabda.org/sabdaweb/bible/chapter/?b=<book>&c=<chapter>&version=drft_wbtc
And the rest of the form would be similar to the current Sabda one.

The easiest way to do this is just to create a new resousce, base it on Sabda Web, and only change the name of the resource, and the URL constructor, that's all.

Then, I assume that a similar method will work for GoogleDoc pages as well.

While on the topic: The resource viewer is fantastic. I think that there are great possibilities there. One problem I see is that many web pages are wide, and that is especially true of my GoogleDoc pages. It is hard to see some things on wide pages when BE's Resource Viewer is in a vertical column. It would be helpful if the tool window/resource viewer could be tiled horizontally over the whole width of the BE window. So I am suggesting that an option be created that would allow the user to toggle between the tool window tiled vertically (as now), and tiled horizontally.
Please make a task on Savanah that requests this feature.

Thanks for helping develop BE.

Teus.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]