This commit is contained in:
thepra 2017-05-25 22:35:59 +02:00
parent 2ba9bf7ebc
commit 74c8a857e4
3 changed files with 83 additions and 85 deletions

View File

@ -164,6 +164,7 @@ void GeneralBuilder::Body(Document &file, string cPath, Sites site, Col color, P
void GeneralBuilder::WriteToFile(Document doc, string p)
{
//cout << doc.ToString(Readability::MULTILINE) << endl;
path PathToCheck = path(p);
if (exists(PathToCheck))
{

View File

@ -16,7 +16,7 @@ using namespace CTML;
int main()
{
GeneralBuilder dev;
dev.BuildThePraSite(Utilities::ART);
dev.BuildThePraSite(Utilities::DEV);
cout << "DONE";
getchar();
return 0;

View File

@ -155,7 +155,7 @@ inline list<Node> ThePraDev::SingleMainContent(Levels level, string cPath, DeskO
{
ThePraDev a;
string whichLevel = ChooseLevel(level);
Node mainC = Node("div#main");
Node mainC = Node("div.main");
Node mainMC = mainC;
string STRING;
string contentDesktop = "";
@ -195,11 +195,8 @@ inline Node ThePraDev::Player(Levels level)
.AppendChild(Node("audio")
.SetAttribute("controls", "controls")
.SetAttribute("preload", "auto")
.SetContent("Your browser does not support the audio element.")
.AppendChild(Node("source")
.SetAttribute(a.src, whichLevel + "videoplayback.ogg")
.SetAttribute("type", "audio/ogg")
.UseClosingTag(false)));
.SetContent("Your browser does not support the <code>audio</code> element."));
return player;
}