diff options
Diffstat (limited to 'Aggregator/Main/Program.cs')
-rw-r--r-- | Aggregator/Main/Program.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Aggregator/Main/Program.cs b/Aggregator/Main/Program.cs deleted file mode 100644 index 80fd62a..0000000 --- a/Aggregator/Main/Program.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Collections.Generic;
-using Aggregator.Classes;
-using Aggregator.Parser;
-
-namespace Main {
- internal static class Program {
- private static async Task Main(string[] args) {
- List<Config> configs = new List<Config>() {
- new Config() {
- Source = "BBC",
- Title = 0,
- Description = 1,
- ArticleLink = 2,
- ImageLink = 5,
- PublishDate = 4
- }
- };
- string[] xmls = new [] {
- await Download.DownloadXML("http://feeds.bbci.co.uk/news/rss.xml")
- };
- List<Article> articles = ParserService.ParseMultiple(xmls, configs).ToList();
- Console.WriteLine(articles.Count);
- }
- }
-}
|