dnnsoftware / Dnn.Platform

DNN (formerly DotNetNuke) is the leading open source web content management platform (CMS) in the Microsoft ecosystem.
https://dnncommunity.org/
MIT License
1.01k stars 745 forks source link

[Enhancement]: XMPP: Post to PubSub #6010

Open sjehuda opened 2 months ago

sjehuda commented 2 months ago

Is there an existing issue for this?

Description of problem

I want to publish my DNN contents over PubSub node items on my XMPP server.

Description of solution

Add support to post to pubsub node items using Moxl library.

Description of alternatives considered

There are no alternatives in a form of a plugin.

Anything else?

Greetings!

In XMPP, using PubSub(1) (XEP-0060), it is possible to store posts as Atom Syndication(2) entries into XMPP(3).

There are several XMPP extensions that apply it, namely XEP-0227 (4) and XEP-0472 (5) which make node urn:xmpp:microblog:0 as a common choice to manage news for client accounts (e.g. blog@dnnsoftware.com), yet a component account (e.g. pubsub.dnnsoftware.com) may use all of its nodes for this purpose.

pubsub.dnnsoftware.com/
|
|-- updates/
    |-- Sombre
     `-- Varied
|-- releases/
 `-- events/
pubsub service/
|
|-- node/
    |-- item
     `-- item
|-- node/
 `-- node/

A .NET library that might be utilized would be https://xmppdotnet.org/

I have made a script that realizes viewing PubSub node items as Atom XML feeds over HTTP.

XEP-0060: Publish-Subscribe RFC 4287: The Atom Syndication Format Atom Over XMPP XEP-0277: Microblogging over XMPP XEP-0472: Pubsub Social Feed XmppDotNet and Net.Xmpp and Sharp.Xmpp PubSub Over HTTP

Do you be plan to contribute code for this enhancement?

Would you be interested in sponsoring this enhancement?

Code of Conduct