diff --git a/README.md b/README.md index ef71f28..f2d8ee4 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,11 @@ All processes are based on XmlSerializer and can be used as an example of how to ## Usage example To read foreign rss feed you need to get stream with rss data and call `RSSHelper.ReadRSS` - var request = WebRequest.Create("http://example.com/rss/"); + var request = WebRequest.Create("http://example.org/rss/"); var response = request.GetResponse(); var stream = response.GetResponseStream(); - var rss = RssDocument.Load(stream); + Rss rss = RSSHelper.ReadRSS(stream); + Assert.AreEqual("Example", rss.Channel.Title); ### RSS object creating example @@ -102,3 +103,8 @@ Complete rss object will looks like this: } } }; + +## Get a digital subscription for project news +[Subscribe](https://twitter.com/intent/user?screen_name=andrew_gubskiy) to my Twitter to keep up-to-date with project news and receive announcements. + +[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/andrew_gubskiy.svg?style=social&label=Follow%20%40andrew_gubskiy)](https://twitter.com/andrew_gubskiy) \ No newline at end of file diff --git a/X.Web.RSS.sln b/X.Web.RSS.sln index 89a1dc0..2e222c8 100644 --- a/X.Web.RSS.sln +++ b/X.Web.RSS.sln @@ -10,8 +10,14 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{04A264AA-7673-4212-BA17-41E6D01500FD}" ProjectSection(SolutionItems) = preProject .gitignore = .gitignore + LICENSE = LICENSE + README.md = README.md EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{738DC914-F2F1-47DA-B96F-80F19ECA01C0}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0C7B1C4A-61AE-4F43-96F8-3CD6A5774C9E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -36,4 +42,8 @@ Global GlobalSection(TestCaseManagementSettings) = postSolution CategoryFile = cs-rss.vsmdi EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {301677B9-1586-4043-90C3-52A164230723} = {738DC914-F2F1-47DA-B96F-80F19ECA01C0} + {100A2EBB-A674-4CBB-AA97-83811397C676} = {0C7B1C4A-61AE-4F43-96F8-3CD6A5774C9E} + EndGlobalSection EndGlobal diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index fa5c702..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,14 +0,0 @@ -# .NET Core -# Build and test .NET Core projects -# Add steps that run tests, create a NuGet package, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core - -pool: - vmImage: 'Ubuntu 16.04' - -variables: - buildConfiguration: 'Release' - -steps: -- script: dotnet build --configuration $(buildConfiguration) - displayName: 'dotnet build $(buildConfiguration)' diff --git a/src/X.Web.RSS/X.Web.RSS.csproj b/src/X.Web.RSS/X.Web.RSS.csproj index 0835d85..7252b3a 100644 --- a/src/X.Web.RSS/X.Web.RSS.csproj +++ b/src/X.Web.RSS/X.Web.RSS.csproj @@ -1,8 +1,7 @@  - netstandard2.0 - 2.4.0 + 2.5.0 beta X.Web.RSS allow quickly and easily generate RSS feeds. Andrew Gubskiy @@ -17,10 +16,15 @@ default enable rss, xml + net6.0;net7.0;netstandard2.0;netstandard2.1 + X.Web.RSS + https://raw.githubusercontent.com/dncuug/X.Web.RSS/master/README.md + 2.5.0.0 + 2.5.0.0 - + diff --git a/tests/X.Web.RSS.Tests/X.Web.RSS.Tests.csproj b/tests/X.Web.RSS.Tests/X.Web.RSS.Tests.csproj index 795d560..95106e5 100644 --- a/tests/X.Web.RSS.Tests/X.Web.RSS.Tests.csproj +++ b/tests/X.Web.RSS.Tests/X.Web.RSS.Tests.csproj @@ -3,10 +3,11 @@ net6.0 false + default - + all