Jump to content

Please read the Forum Rules before posting.

Photo

Markup codes MySword


  • Please log in to reply
4 replies to this topic

#1 mulcamd

mulcamd

    New to Bible Support

  • Members
  • Pip
  • 3 posts
Offline

Posted 09 February 2013 - 07:58 AM

I'm trying to create some modules.

 

Looking at the MySword the bbl.mybible files I see al kinds of what seems to be markup codes.

I figured out that <FI> ... <Fi> means italic

 

Question: where can I find documentation on all markup codes?



#2 Atheist Rob

Atheist Rob

    e-Sword Addict

  • Members (T)
  • PipPipPipPip
  • 83 posts
  • LocationThe Netherlands
Offline

Posted 09 February 2013 - 08:26 AM

I think I already replied to this in another post but I could not easily find it so here it goes again. This is part of an email that I got from the authors of MySword back in may 2011 (before 2.0).
All MySword databases are SQLite databases. The database structures are
combinations of e-Sword and TheWord.

In terms of the content, the Bible directly use the same tags as TheWord.
Not all tags are supported though. You can find complete documentation here:
http://www.theword.n...odule-spec.doc. Currently the
following tags are supported:

1. <WH9999> or <WG9999> - Strongs Hebrew or Greek, the H9999 or G9999 are
the Strong numbers (H for Hebrew and G for Greek)
2. <WTXXXX> - RMAC, the XXXX is the reference (lemma and homonym are not
supported)
3. <TS>...<Ts> - Title
4. <RF>...<Rf> - Reference/Notes (Translators')
5. <FI>...<Fi> - Italics, words added by translators
6. <FR>...<Fr> - Words of Jesus in Red

The <RX...> Cross-Reference tag will be supported in MySword version 2.0.

All other TheWord tags are passed through so they are not displayed by
Android WebView (WebKit Browser component). Consequently, all other HTML
tags are properly rendered.

In terms of the content of Commentaries and Dictionaries, they are all plain
HTML. The notable special thing is the hyperlink which is used to link
together different sections and modules. The format is simple as it use the
HTML anchor (a) tag, except the href contains some special codes. the href
starts with # so that it worked like an anchor to the same document
(bookmark) but that is optional as it is simply stripped by MySword for
Android (that is needed by our original MySword for Windows Mobile 6.5
prototype). The content of href could be:

1. b9.9.9 - Bible reference in b<book number>.<chapter number>.<verse
number> format. But there are also some other variations of that like:
    a. b<book number> - entire book
    b. b<book number>.<chapter number> - entire chapter of the book
    c. b<book number>.<chapter number>.<verse number>-<verse number> - verse
range in a chapter of the book
    d. b<book number>.<chapter number>-<chapter number> - chapter range of a
book
    e. b<English Abbreviated reference> - e.g. bGen 1:1
2. sXXXX - Strong's reference, e.g. sH1697 and sG25
3. mXXXX - Morphological code, e.g. mN-ASF
4. dXXXX - Dictionary reference, in two formats:
    a. same dictionary, e.g. dWISDOM
    b. other dictionary, e.g. d-Easton WISDOM
5. cXXXX - Commentary reference where XXXX is a verse reference similar to
bible reference, in two formats:
    a. same commentary, e.g. c1.2.3
    b. other commentary, e.g. c-TSK 1.2.3 or c TSK 1.2.3
6. nXXXX - Personal Notes reference where XXXX is a verse reference similar
to bible reference
7. jXXXX - Journal/Book (MySword version 2.0) reference, the idea is similar
to dictionary or commentary reference
Hope that helps.
 
Regards,
Rob

Edited by Atheist Rob, 09 February 2013 - 08:27 AM.


#3 mulcamd

mulcamd

    New to Bible Support

  • Members
  • Pip
  • 3 posts
Offline

Posted 09 February 2013 - 10:38 AM

Thanks / Dank je wel!



#4 tengwer

tengwer

    Liking e-Sword

  • Veterans
  • PipPip
  • 22 posts
Offline

Posted 06 March 2013 - 09:04 PM

I have looked at the above and cannot figure out how to link from one resource to another.  I have a link in one of my resources that I want to point to the topic H1 in my Strongs concordance.  The file name for the strongs is strong.dct.mybible.  In my resource I tried creating the link <a class='dict' href='d-strong H1'>H1</a>  But it does not work (not sure what I am missing from the above instructions).  Could you please help me with this?  Thanks!



#5 tengwer

tengwer

    Liking e-Sword

  • Veterans
  • PipPip
  • 22 posts
Offline

Posted 07 March 2013 - 11:57 AM

I have looked at the above and cannot figure out how to link from one resource to another.  I have a link in one of my resources that I want to point to the topic H1 in my Strongs concordance.  The file name for the strongs is strong.dct.mybible.  In my resource I tried creating the link <a class='dict' href='d-strong H1'>H1</a>  But it does not work (not sure what I am missing from the above instructions).  Could you please help me with this?  Thanks!

Ok I figured it out.  I changed the name of the resource abrev and forgot.  :wub:






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs