aboutsummaryrefslogtreecommitdiff
path: root/Aggregator
diff options
context:
space:
mode:
Diffstat (limited to 'Aggregator')
-rw-r--r--Aggregator/Aggregator.sln6
-rw-r--r--Aggregator/Main/Main.csproj14
-rw-r--r--Aggregator/Main/Program.cs28
3 files changed, 0 insertions, 48 deletions
diff --git a/Aggregator/Aggregator.sln b/Aggregator/Aggregator.sln
index a1c86cb..14dfb15 100644
--- a/Aggregator/Aggregator.sln
+++ b/Aggregator/Aggregator.sln
@@ -7,8 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parser", "Parser\Parser.csp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{E9ED051D-909D-464F-99E2-5BA57BD06D00}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Main", "Main\Main.csproj", "{351B47B8-C766-43BD-AF1C-C281B0FD99E7}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -23,10 +21,6 @@ Global
{E9ED051D-909D-464F-99E2-5BA57BD06D00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E9ED051D-909D-464F-99E2-5BA57BD06D00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E9ED051D-909D-464F-99E2-5BA57BD06D00}.Release|Any CPU.Build.0 = Release|Any CPU
- {351B47B8-C766-43BD-AF1C-C281B0FD99E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {351B47B8-C766-43BD-AF1C-C281B0FD99E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {351B47B8-C766-43BD-AF1C-C281B0FD99E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {351B47B8-C766-43BD-AF1C-C281B0FD99E7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Aggregator/Main/Main.csproj b/Aggregator/Main/Main.csproj
deleted file mode 100644
index dd85bc5..0000000
--- a/Aggregator/Main/Main.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
- <ItemGroup>
- <ProjectReference Include="..\..\Classes\Classes.csproj" />
- <ProjectReference Include="..\Parser\Parser.csproj" />
- </ItemGroup>
-
- <PropertyGroup>
- <OutputType>Exe</OutputType>
- <TargetFramework>netcoreapp2.1</TargetFramework>
- <LangVersion>Latest</LangVersion>
- </PropertyGroup>
-
-</Project>
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);
- }
- }
-}