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
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
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.
#3
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