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 285 by douglas, 2004-11-28T03:01:11-08:00 vs.
Revision 330 by douglas, 2004-12-13T20:46:08-08:00

# Line 5 | Line 5
5   // $Id$
6  
7   #include "SiteMapper.hpp"
8 < #include "Matcher.hpp"
9 < #include "Page.hpp"
8 > #include "Matcher/Matcher.hpp"
9  
10   #include <menes-api/exename.hpp>
11   #include <menes-app/application.hpp>
# Line 67 | Line 66 | void SiteMapper::oldMap(const ext::Strin
66  
67          comment = *document/"comment()";
68  
69 <        if (debug) api::Cerr << "comment = " << comment << '\n';
69 >        if (debug) api::Cerr << "comment = " << comment << ios::NewLine;
70  
71          oldMap(pages, list);
72   }
# Line 142 | Line 141 | bool SiteMapper::newIndex(ext::Vector<Pa
141  
142                                  *page_ = page;
143  
144 <                                api::Cout << "Updated: " << page.getUrl() << "\n";
144 >                                api::Cout << "Updated: " << page.getUrl() << ios::NewLine;
145  
146                                  return true;
147                          }
# Line 194 | Line 193 | void SiteMapper::newMap(ext::Vector<Page
193  
194          _for (MultiMap::const_iterator, itor, newPages.lower_bound(childOf), newPages.upper_bound(childOf))
195          {
196 <                api::Cout << "Added: " << itor->second.getUrl() << "\n";
196 >                api::Cout << "Added: " << itor->second.getUrl() << ios::NewLine;
197  
198                  pages.InsertLast(itor->second);
199          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines