[sword-svn] r2734 - trunk/utilities/diatheke

chrislit at crosswire.org chrislit at crosswire.org
Sat Sep 15 11:50:57 MST 2012


Author: chrislit
Date: 2012-09-15 11:50:57 -0700 (Sat, 15 Sep 2012)
New Revision: 2734

Modified:
   trunk/utilities/diatheke/diatheke.cpp
Log:
applied XHTML patch from Greg Hellings

Modified: trunk/utilities/diatheke/diatheke.cpp
===================================================================
--- trunk/utilities/diatheke/diatheke.cpp	2012-09-14 12:12:29 UTC (rev 2733)
+++ trunk/utilities/diatheke/diatheke.cpp	2012-09-15 18:50:57 UTC (rev 2734)
@@ -51,7 +51,7 @@
 	fprintf (stderr, "  b (Bi-Directional Reordering), x (Red Words of Christ)\n");
 
 	fprintf (stderr, "Maximum verses may be any integer value\n");
-	fprintf (stderr, "Valid output_format values are: GBF, ThML, RTF, HTML, OSIS, CGI, and plain (def)\n");
+	fprintf (stderr, "Valid output_format values are: GBF, ThML, RTF, HTML, HTMLHREF, XHTML, OSIS, CGI, and plain (def)\n");
 	fprintf (stderr, "Valid output_encoding values are: Latin1, UTF8 (def), UTF16, HTML, and RTF\n");
 	fprintf (stderr, "Valid locale values depend on installed locales. en is default.\n");
 	fprintf (stderr, "The query_key must be the last argument because all following\n");
@@ -170,6 +170,10 @@
 					outputformat = FMT_HTML;
 					i++;
 				}
+				else if (!::stricmp("xhtml", argv[i+1])) {
+					outputformat = FTM_XHTML;
+					i++;
+				}
 				else if (!::stricmp("rtf", argv[i+1])) {
 					outputformat = FMT_RTF;
 					i++;




More information about the sword-cvs mailing list