ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/SiteMapper/SiteMapper.cpp
(Generate patch)

Comparing SiteMapper/SiteMapper.cpp (file contents):
Revision 151 by Douglas Thrift, 2004-03-31T23:21:15-08:00 vs.
Revision 152 by Douglas Thrift, 2004-05-29T20:00:41-07:00

# Line 13 | Line 13
13   #include "Page.hpp"
14  
15   string program;
16 < bool debug = false;
16 > bool debug(false);
17  
18   int main(int argc, char* argv[])
19   {
# Line 21 | Line 21 | int main(int argc, char* argv[])
21  
22          string siteIndex, siteMap;
23  
24 <        for (int index = 1; index < argc; index++)
24 >        for (int index(1); index < argc; index++)
25          {
26                  string arg(argv[index]);
27                  Matcher matcher;
# Line 229 | Line 229 | void SiteMapper::newMap(const string& si
229                  << "<?xml-stylesheet type=\"text/xsl\" href=\"stylesheets/sitemap.xsl"
230                  << "\"?>\n"
231                  << "<!DOCTYPE page SYSTEM \"stylesheets/page.dtd\">\n"
232 <                << "<!-- /sitemap.xml -->\n"
232 >                << "<!-- $Id$ -->\n"
233                  << "<page>\n"
234                  << "\t<title>Sitemap</title>\n"
235                  << "\t<section>\n"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines