📝 Updated project URL
This commit is contained in:
@ -126,7 +126,7 @@ int main( int, char** argv )
|
||||
std::cout << "This program is part of the moReaderSDK written by Domenico Gentner." << std::endl;
|
||||
std::cout << "Released under the Terms of the MIT-License." << std::endl;
|
||||
std::cout << "Type " << appname << " --license to view it." << std::endl;
|
||||
std::cout << "Get all News and Updates from http://mofilereader.googlecode.com." << std::endl;
|
||||
std::cout << "Get all News and Updates from https://github.com/AnotherFoxGuy/MofileReader." << std::endl;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
else if ( std::string(argv[1]) == "--license" )
|
||||
|
@ -369,16 +369,17 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str
|
||||
std::ofstream stream(htmlfile.c_str());
|
||||
if ( stream.is_open() )
|
||||
{
|
||||
stream << "<!DOCTYPE HTML PUBLIC \"- //W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">" << std::endl;
|
||||
stream << R"(<!DOCTYPE HTML PUBLIC "- //W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">)"
|
||||
<< std::endl;
|
||||
stream << "<html><head><style type=\"text/css\">\n" << std::endl;
|
||||
stream << css << std::endl;
|
||||
stream << "</style>" << std::endl;
|
||||
stream << "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">" << std::endl;
|
||||
stream << R"(<meta http-equiv="content-type" content="text/html; charset=utf-8">)" << std::endl;
|
||||
stream << "<title>Dump of " << fname << "</title></head>" << std::endl;
|
||||
stream << "<body>" << std::endl;
|
||||
stream << "<center>" <<std::endl;
|
||||
stream << "<h1>" << fname << "</h1>" << std::endl;
|
||||
stream << "<table border=\"1\"><th colspan=\"2\">Project Info</th>" << std::endl;
|
||||
stream << R"(<table border="1"><th colspan="2">Project Info</th>)" << std::endl;
|
||||
|
||||
std::stringstream parsee;
|
||||
parsee << reader.Lookup("");
|
||||
@ -400,7 +401,7 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str
|
||||
stream << "<hr noshade/>" << std::endl;
|
||||
|
||||
// Now output the content
|
||||
stream << "<table border=\"1\"><th colspan=\"2\">Content</th>" << std::endl;
|
||||
stream << R"(<table border="1"><th colspan="2">Content</th>)" << std::endl;
|
||||
for ( moLookupList::const_iterator it = reader.m_lookup.begin();
|
||||
it != reader.m_lookup.end(); it++)
|
||||
{
|
||||
@ -412,7 +413,7 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str
|
||||
stream << "</table><br/>" << std::endl;
|
||||
|
||||
stream << "</center>" << std::endl;
|
||||
stream << "<div class=\"copyleft\">File generated by <a href=\"http://mofilereader.googlecode.com\" target=\"_blank\">moFileReaderSDK</a></div>" << std::endl;
|
||||
stream << R"(<div class="copyleft">File generated by <a href="https://github.com/AnotherFoxGuy/MofileReader" target="_blank">moFileReaderSDK</a></div>)" << std::endl;
|
||||
stream << "</body></html>" << std::endl;
|
||||
stream.close();
|
||||
}
|
||||
@ -442,7 +443,7 @@ void moFileReader::Trim(std::string& in)
|
||||
bool moFileReader::GetPoEditorString(const char* buffer, std::string& name, std::string& value)
|
||||
{
|
||||
std::string line(buffer);
|
||||
size_t first = line.find_first_of(":");
|
||||
size_t first = line.find_first_of(':');
|
||||
|
||||
if ( first != std::string::npos )
|
||||
{
|
||||
|
Reference in New Issue
Block a user