WordpressRssFeed 1.1.0
dotnet add package WordpressRssFeed --version 1.1.0
NuGet\Install-Package WordpressRssFeed -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WordpressRssFeed" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WordpressRssFeed --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WordpressRssFeed, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WordpressRssFeed as a Cake Addin #addin nuget:?package=WordpressRssFeed&version=1.1.0 // Install WordpressRssFeed as a Cake Tool #tool nuget:?package=WordpressRssFeed&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
1. About
This library is to retrieve the basic information of posts in a given Wordpress blog.
2. How to Use
var blogChannel = new Reader().RetriveBlogFeeds("<Wordpress feed URL>");
The code above will return an object of BlogChannel
which contains the following information.
Property | Data Type | Description |
---|---|---|
Link | string | Absolute URL of the blog. |
Title | string | Title of the blog. |
Description | string | Description of the blog. |
BuiltAt | DateTimeOffSet | The last date and time this RSS feed is built at. |
Feeds | List<BlogFeed> | A list of BlogFeed objects for the articles in the blog. |
3. BlogFeed
The BlogFeed
object contains the basic information as well as the content of an article (aka post) in the blog.
Currently, it has the following properties.
Property | Data Type | Description |
---|---|---|
Link | string | Absolute URL of the article. |
Title | string | Title of the article. |
Description | string | Full content of the article. |
PublishedAt | DateTimeOffSet | The date the article is published at. |
ThumbnailUrl | string | Absolute URL of the thumbnail used by the article. |
4. Release Notes
22nd Jan 2022
- Return
BlogChannel
object instead of a list ofBlogFeed
objects so that blog info can be returned as well; - Corrected the way of parsing the datetime in the RSS feed.
14th Jan 2022
- Initial release.
5. Feedback
Bug reports and contributions are welcome at Project Issues.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Please refer to README.