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&#39;s numbers BPBible uses the code here:<br><a href="http://code.google.com/p/bpbible/source/browse/trunk/displayframe.py?spec=svn274&amp;r=262#155">http://code.google.com/p/bpbible/source/browse/trunk/displayframe.py?spec=svn274&amp;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">&lt;<a href="mailto:junk_and_mail@yahoo.com">junk_and_mail@yahoo.com</a>&gt;</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&#39;t show the verse heading. I know there&#39;s something i&#39;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, &lt;a href=&quot;passagestudy.jsp?action=showNote&amp;type=x&amp;value=2&amp;module=ESV&amp;passage=Job+1%3A1&quot;&gt;&lt;small&gt;&lt;sup&gt;*x&lt;/sup&gt;&lt;/small&gt;&lt;/a&gt;—if at all possible. But hours of browsing through code, Googling, etc, hasn&#39;t helped much.</blockquote>
</div><br>