Only the download automation has to be done. > look at FileSystemWatcher for automatically detecting downloads
24 lines
730 B
C#
24 lines
730 B
C#
using System;
|
|
|
|
namespace Proostenkrant.NET
|
|
{
|
|
public class Program
|
|
{
|
|
internal const string c_latexPath = "../Latex";
|
|
internal const string c_mainPath = c_latexPath + "/Main.tex";
|
|
internal const string c_articlePath = c_latexPath + "/Articles.tex";
|
|
internal const string c_imagesPath = c_latexPath + "/Images";
|
|
internal const string c_articleImagesPath = c_imagesPath + "/Articles";
|
|
|
|
static void Main(string[] args)
|
|
{
|
|
var rows = GoogleFormsReader.GetData();
|
|
var text = ArticleGenerator.GenerateArticle(rows);
|
|
LatexCompiler.Compile(text);
|
|
|
|
Console.WriteLine("Done!");
|
|
Console.ReadLine();
|
|
}
|
|
}
|
|
}
|