VOOZH about

URL: https://www.nuget.org/packages/WilderMinds.MetaWeblog/

⇱ NuGet Gallery | WilderMinds.MetaWeblog 5.1.3




👁 Image
WilderMinds.MetaWeblog 5.1.3

dotnet add package WilderMinds.MetaWeblog --version 5.1.3
 
 
NuGet\Install-Package WilderMinds.MetaWeblog -Version 5.1.3
 
 
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="WilderMinds.MetaWeblog" Version="5.1.3" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WilderMinds.MetaWeblog" Version="5.1.3" />
 
Directory.Packages.props
<PackageReference Include="WilderMinds.MetaWeblog" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WilderMinds.MetaWeblog --version 5.1.3
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WilderMinds.MetaWeblog, 5.1.3"
 
 
#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.
#:package WilderMinds.MetaWeblog@5.1.3
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WilderMinds.MetaWeblog&version=5.1.3
 
Install as a Cake Addin
#tool nuget:?package=WilderMinds.MetaWeblog&version=5.1.3
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WilderMinds.MetaWeblog

Project Status:

👁 Build
👁 NuGet

To install, use the Nuget "WilderMinds.MetaWeblog":

 PM> Install-Package WilderMinds.MetaWeblog

This project is an ASP.NET Core 2.0 Middleware component to support the MetaWeblog API that WordPress and Windows LiveWriter uses to support adding and editing of content in blogs.

To support MetaWeblog, you must first create a class that implements the IMetaWeblogProvider interface:

 public class TestMetaWeblogService : IMetaWeblogProvider
 {
 public async Task<UserInfo> GetUserInfoAsync(string key, string username, string password)
 {
 throw new NotImplementedException();
 }

 public async Task<BlogInfo[]> GetUsersBlogsAsync(string key, string username, string password)
 {
 throw new NotImplementedException();
 }


 public async Task<Post> GetPostAsync(string postid, string username, string password)
 {
 throw new NotImplementedException();
 }

 public async Task<Post[]> GetRecentPostsAsync(string blogid, string username, string password, int numberOfPosts)
 {
 throw new NotImplementedException();
 }


 public async Task<string> AddPostAsync(string blogid, string username, string password, Post post, bool publish)
 {
 throw new NotImplementedException();
 }

 public async Task<bool> DeletePostAsync(string key, string postid, string username, string password, bool publish)
 {
 throw new NotImplementedException();
 }

 public async Task<bool> EditPostAsync(string postid, string username, string password, Post post, bool publish)
 {
 throw new NotImplementedException();
 }


 public async Task<CategoryInfo[]> GetCategoriesAsync(string blogid, string username, string password)
 {
 throw new NotImplementedException();
 }

 public async Task<MediaObjectInfo> NewMediaObjectAsync(string blogid, string username, string password, MediaObject mediaObject)
 {
 throw new NotImplementedException();
 }

 public async Task<int> AddCategoryAsync(string key, string username, string password, NewCategory category)
 {
 throw new NotImplementedException();
 }

 public Task<Tag[]> GetTagsAsync(string blogid, string username, string password)
 {
 throw new NotImplementedException();
 }

 public Page GetPage(string blogid, string pageid, string username, string password)
 {
 throw new NotImplementedException();
 }

 public Page[] GetPages(string blogid, string username, string password, int numPages)
 {
 throw new NotImplementedException();
 }

 public Author[] GetAuthors(string blogid, string username, string password)
 {
 throw new NotImplementedException();
 }

 public string AddPage(string blogid, string username, string password, Page page, bool publish)
 {
 throw new NotImplementedException();
 }

 public bool EditPage(string blogid, string pageid, string username, string password, Page page, bool publish)
 {
 throw new NotImplementedException();
 }

 public bool DeletePage(string blogid, string username, string password, string pageid)
 {
 throw new NotImplementedException();
 }
 }

Once you've implemented the class, you can register the middleware by first adding MetaWeblog in ConfigureServices supplying the name of the implemented service class:

 public void ConfigureServices(IServiceCollection svcs)
 {
 //...

 // Supporting Live Writer (MetaWeblogAPI)
 svcs.AddMetaWeblog<TestMetaWeblogService>();

 //...
 }

Finally, you have to add MetaWeblog in the Configure call to specify the endpoint to listen on when waiting for the MetaWeblog calls:

 public void Configure(IApplicationBuilder app,
 ILoggerFactory loggerFactory,
 WilderInitializer initializer)
 {
 //...

 // Support MetaWeblog API
 app.UseMetaWeblog("/livewriter");

 //...
 }

This simply handles the routing to your methods. It does not implement the service at all.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WilderMinds.MetaWeblog:

Package Downloads
Articulate

A wonderful Blog engine built on Umbraco

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on WilderMinds.MetaWeblog:

Repository Stars
madskristensen/Miniblog.Core
An ASP.NET Core blogging engine
Shazwazza/Articulate
A wonderful Blog engine built on Umbraco
ADefWebserver/Blazor-Blogs
Simple blogging application written in Microsoft Server Side Blazor
Version Downloads Last Updated
5.1.3 7,956 1/28/2024
5.1.2 203 1/28/2024
5.1.1 11,523 4/3/2023
5.1.0 2,321 12/19/2022
5.0.0 14,637 11/11/2020
3.1.1 1,017 10/25/2020
3.1.0 850 10/25/2020
2.0.1 20,362 10/18/2019
2.0.0 3,528 4/5/2018
1.2.3 12,763 11/8/2017
1.2.2 8,588 10/19/2017
1.2.1 1,359 10/13/2017
1.2.0 1,399 9/21/2017
1.1.0 1,707 6/2/2017
1.0.2 2,437 6/27/2016
1.0.1-rc2 1,835 6/5/2016
1.0.0-rc2 1,258 6/4/2016
0.4.0-beta 1,461 4/17/2016
0.3.1-beta 1,265 4/14/2016
Loading failed