[sword-svn] r310 - trunk/modules/crossreferences

refdoc at crosswire.org refdoc at crosswire.org
Fri Oct 8 01:45:47 MST 2010


Author: refdoc
Date: 2010-10-08 01:45:47 -0700 (Fri, 08 Oct 2010)
New Revision: 310

Modified:
   trunk/modules/crossreferences/xreffix.pl
Log:
now producing ESV-like xrefs



Modified: trunk/modules/crossreferences/xreffix.pl
===================================================================
--- trunk/modules/crossreferences/xreffix.pl	2010-10-06 23:01:13 UTC (rev 309)
+++ trunk/modules/crossreferences/xreffix.pl	2010-10-08 08:45:47 UTC (rev 310)
@@ -105,7 +105,7 @@
     }
     my $scope= new Sword::VerseKey;
     $scope->setText($c_book.$c_chapter.$c_verse);    
-    s/<note\ type=\"crossReference\">(.*?)<\/note>/"<note n=\"".note_index()."\" type=\"crossReference\" osisRef=\"$c_book.$c_chapter.$c_verse\" osisID=\"$c_book.$c_chapter.$c_verse!crossReference.".note_index()."\">".Sword::VerseKey::convertToOSIS($1, $scope)."<\/note>"/eg;
+    s/<note\ type=\"crossReference\">(.*?)<\/note>/"<note n=\"".note_index()."\" osisID=\"$c_book.$c_chapter.$c_verse!crossReference.".note_index()."\" osisRef=\"$c_book.$c_chapter.$c_verse\" type=\"crossReference\">".Sword::VerseKey::convertToOSIS($1, $scope)."<\/note>"/eg;
     }
 print (OUTF @data);    
 close OUTF;




More information about the sword-cvs mailing list