adds rss feed support to blog
This commit is contained in:
parent
6d627aa9b4
commit
d8253d3333
117 changed files with 5336 additions and 326 deletions
28
Src/Program.h
Normal file
28
Src/Program.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#include <vector>
|
||||
|
||||
#include "BlogPageBuilder.h"
|
||||
#include "AtomBuilder.h"
|
||||
#include "Page.h"
|
||||
#include "BlogParser.h"
|
||||
|
||||
class Program
|
||||
{
|
||||
private:
|
||||
BlogPageBuilder* blogPageBuilder;
|
||||
BlogParser* blogParser;
|
||||
AtomBuilder* atomBuilder;
|
||||
|
||||
std::string inFolderUrl;
|
||||
std::string outFolderUrl;
|
||||
std::string siteWebUrl;
|
||||
|
||||
std::vector<Page*> pages;
|
||||
|
||||
void collectPages();
|
||||
|
||||
public:
|
||||
Program(std::string inFolderUrl, std::string outFolderUrl, std::string pageTemplate, std::string atomTemplate, std::string siteWebUrl, int flags);
|
||||
~Program();
|
||||
void buildAll();
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue