forked from openlp/openlp
Final tidy up for bible plugin for now.
bzr-revno: 346
This commit is contained in:
parent
b05e609a41
commit
45cd4c181e
@ -559,7 +559,7 @@ class BiblePlugin(Plugin, PluginUtils):
|
||||
message = "No chapter found for search"
|
||||
#print "message = " + str(message)
|
||||
#print "search = " + str(original)
|
||||
print "results = " + str(book) + " @ "+ str(start_chapter)+" @ "+ str(end_chapter)+" @ "+ str(start_verse)+ " @ "+ str(end_verse)
|
||||
#print "results = " + str(book) + " @ "+ str(start_chapter)+" @ "+ str(end_chapter)+" @ "+ str(start_verse)+ " @ "+ str(end_verse)
|
||||
|
||||
if message == None:
|
||||
self.search_results = None
|
||||
|
@ -93,7 +93,8 @@ class CWExtract(BibleCommon):
|
||||
bookname - text name of in english eg 'gen' for Genesis
|
||||
chapter - chapter number
|
||||
"""
|
||||
log.debug( "get_bible_chapter %s,%s,%s,%s", version, bookid, bookname, chapter)
|
||||
log.debug( "get_bible_chapter %s,%s,%s,%s", version, bookid, bookname, chapter)
|
||||
bookname = bookname.replace(" ", "")
|
||||
urlstring = "http://bible.crosswalk.com/OnlineStudyBible/bible.cgi?word="+bookname+"+"+str(chapter)+"&version="+version
|
||||
xml_string = self._get_web_text(urlstring, self.proxyurl)
|
||||
#log.debug("Return data %s", xml_string)
|
||||
|
Loading…
Reference in New Issue
Block a user