You have to pull the headings out of the entry attributes after rendering.<br>The code to get the headings in BPBible is in the function get_headings here:<br><a href="http://code.google.com/p/bpbible/source/browse/trunk/backend/book.py?r=265#298">http://code.google.com/p/bpbible/source/browse/trunk/backend/book.py?r=265#298</a><br>
<br>You would probably need to replace SW.Buf with Sword.SWBuf throughout<br><br>To handle the footnotes, crossreferences and strong's numbers BPBible uses the code here:<br><a href="http://code.google.com/p/bpbible/source/browse/trunk/displayframe.py?spec=svn274&r=262#155">http://code.google.com/p/bpbible/source/browse/trunk/displayframe.py?spec=svn274&r=262#155</a><br>
<br>Which calls GetFootnoteData here to actually get the data from the module:<br><a href="http://code.google.com/p/bpbible/source/browse/trunk/backend/book.py?r=265#350">http://code.google.com/p/bpbible/source/browse/trunk/backend/book.py?r=265#350</a><br>
<br clear="all">God Bless,<br>Ben<br>-------------------------------------------------------------------------------------------<br>The grace of the Lord Jesus Christ be with your spirit.<br>Philippians 4:23 (ESV)<br>
<br><br><div class="gmail_quote">On Wed, Oct 22, 2008 at 10:46 AM, Anonymous <span dir="ltr"><<a href="mailto:junk_and_mail@yahoo.com">junk_and_mail@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
But when it prints out the verse, it doesn't show the verse heading. I know there's something i'm missing, but sadly this is about as far as my knowledge on this goes for pulling up verses with their headings, foot notes, etc... And i have no idea how to use AddRenderFilter(). After figuring out how to pull up verse headings, my next goal would be to figure out how obtain foot notes and cross references from, for example, <a href="passagestudy.jsp?action=showNote&type=x&value=2&module=ESV&passage=Job+1%3A1"><small><sup>*x</sup></small></a>—if at all possible. But hours of browsing through code, Googling, etc, hasn't helped much.</blockquote>
</div><br>