[sword-cvs] sword/tests webiftest.cpp,1.1,1.2
sword@www.crosswire.org
sword@www.crosswire.org
Fri, 6 Jun 2003 11:25:58 -0700
- Previous message: [sword-cvs] sword/src/utilfuns utilweb.cpp,1.2,1.3
- Next message: [sword-cvs] sword/src/modules/filters thmlfootnotes.cpp,1.7,1.8 thmlhtml.cpp,1.24,1.25 thmlhtmlhref.cpp,1.27,1.28 thmlmorph.cpp,1.7,1.8 thmlscripref.cpp,1.7,1.8 thmlwebif.cpp,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/sword/tests
In directory www:/tmp/cvs-serv10529/tests
Modified Files:
webiftest.cpp
Log Message:
filter fixes, encodeURL fixes
Index: webiftest.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/tests/webiftest.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** webiftest.cpp 1 Jun 2003 14:32:09 -0000 1.1
--- webiftest.cpp 6 Jun 2003 18:25:56 -0000 1.2
***************
*** 30,42 ****
mgr.setGlobalOption("Morphological Tags", "on");
! SWModule *module = mgr.Modules["KJV"];
if (!module) {
module = mgr.Modules.begin()->second;
}
module->setKey("John");
std::cout << module->RenderText() << std::endl;
! return 0;
}
--- 30,54 ----
mgr.setGlobalOption("Morphological Tags", "on");
! SWModule *module = mgr.Modules["TSK"];
if (!module) {
module = mgr.Modules.begin()->second;
}
+ module->setKey("John");
+ std::cout << module->RenderText() << std::endl<< std::endl<< std::endl;
+
+ //------------------------
+
+ SWMgr mgr2(0, 0, true, new MarkupFilterMgr(FMT_HTML, ENC_UTF8));
+ mgr2.setGlobalOption("Strong's Numbers", "on");
+ mgr2.setGlobalOption("Morphological Tags", "on");
+ module = mgr2.Modules["TSK"];
+ if (!module) {
+ module = mgr2.Modules.begin()->second;
+ }
module->setKey("John");
std::cout << module->RenderText() << std::endl;
! return 0;
}
- Previous message: [sword-cvs] sword/src/utilfuns utilweb.cpp,1.2,1.3
- Next message: [sword-cvs] sword/src/modules/filters thmlfootnotes.cpp,1.7,1.8 thmlhtml.cpp,1.24,1.25 thmlhtmlhref.cpp,1.27,1.28 thmlmorph.cpp,1.7,1.8 thmlscripref.cpp,1.7,1.8 thmlwebif.cpp,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]