Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with original project #9

Merged
merged 12 commits into from
Mar 5, 2023
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
10 changes: 10 additions & 0 deletions X.Web.RSS.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
14 changes: 0 additions & 14 deletions azure-pipelines.yml

This file was deleted.

10 changes: 7 additions & 3 deletions src/X.Web.RSS/X.Web.RSS.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.4.0</Version>
<Version>2.5.0</Version>
<VersionSuffix>beta</VersionSuffix>
<Description>X.Web.RSS allow quickly and easily generate RSS feeds.</Description>
<Copyright>Andrew Gubskiy</Copyright>
Expand All @@ -17,10 +16,15 @@
<LangVersion>default</LangVersion>
<Nullable>enable</Nullable>
<PackageTags>rss, xml</PackageTags>
<TargetFrameworks>net6.0;net7.0;netstandard2.0;netstandard2.1</TargetFrameworks>
<Title>X.Web.RSS</Title>
<PackageLicenseUrl>https://raw.githubusercontent.com/dncuug/X.Web.RSS/master/README.md</PackageLicenseUrl>
<AssemblyVersion>2.5.0.0</AssemblyVersion>
<FileVersion>2.5.0.0</FileVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" />
<PackageReference Include="System.Net.Requests" Version="4.3.0" />
<PackageReference Include="System.Xml.XmlDocument" Version="4.3.0" />
<PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
Expand Down
3 changes: 2 additions & 1 deletion tests/X.Web.RSS.Tests/X.Web.RSS.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
<LangVersion>default</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
Expand Down