New English Translation links broken

kevharris - March 7, 2007 - 15:47
Project:Scripture Filter
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

NET Bible at bible.org has apparently changed URL's for pulling scripture. So that version isn't working correctly.

If I get some time over the next few days, I'll try to hack that section of the script and post back here. It shouldn't be too hard to make the transition, I just haven't had time to dig deeply enough to make the correction.

#1

artis - May 21, 2007 - 15:14

In the scripturefilter.inc file change

Line 146 to:
$link = 'http://net.bible.org/verse.php?';

Line 151 to:
$link = sprintf('%s',$link,htmlentities(urlencode($book)),$chapter,$verses,$title,trim($reference));

Worked for me.

If I can figure out how to make a patch file ...i'll submit it to be committed to the module

#2

artis - May 21, 2007 - 15:28
Title:New English Translation links broken» New English Translation patch
Status:active» needs review

Alright...this is my first patch file ever so I hope it works. I've tested the code and it is ready to be committed to the module too.

AttachmentSize
scripturefilter_NET_fix.patch 1.2 KB

#3

Steve Simms - May 21, 2007 - 16:24
Title:New English Translation patch» New English Translation links broken
Status:needs review» fixed

Thanks for the patch. I went with the passage lookup (passage.php) instead of the verse lookup (verse.php) which seems to have a similar interface to the other translations.

#4

Anonymous - June 4, 2007 - 21:23
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.