Comments (6)
other than with licensing
Are you a lawyer too?
from pelican.
I beg your pardon. Please move this to getpelican/pelican-plugins/issues
from pelican.
That would be really cool. Especially if a comment section could be done that way too.
from pelican.
Nodes
Yes, comments can also be managed in a similar manner.
Perhaps XEP-0248 PubSub Collection Nodes would be useful for comments, though it might not be necessary.
Publishings node
|- Item (ID: 0001)
|- Atom entry (HTML inside)
|- Item (ID: 0002)
|- Item (ID: 0003)
|- etc.
Comments node
|- Item (ID: 0001)
|- Comment
|- Comment
|- Comment
|- Comment
|- Item (ID: 0002)
|- Comment
|- Comment
|- Comment
|- Item (ID: 0003)
|- Comment
|- Comment
|- etc.
We can allocate them by nodes
node | access | note |
---|---|---|
publishings.getpelican.com | public | HTML as Atom feed is stored |
comments.getpelican.com | public | where we manage comments |
sources.getpelican.com | admins | Markdown / reStructuredText |
attachments.getpelican.com | ? | This can be done too |
XMPP Clients
In what fashion did you think to handle comments?
I suppose we can synchronize comments from HTTP and from XMPP.
For comments via XMPP, we might want XMPP clients (like Movim and Libervia) to handle.
Other clients: Once Pelican has PubSub support, it would be easy to persuade Dino, Cheogram, Converse, Gajim, Kaindan, monocles, Psi etc. to allow PubSub for comments and reactions.
More Information
We have a good discussion at Chyrp Lite (PHP CMS)
xenocrat/chyrp-lite#250
I have also made a proposal for scheme for managing CMS in node
movim/movim#1312
from pelican.
Please be aware of the following implementations.
Reading from PubSub
See code at: codeberg.org
Sending to PubSub
See function xmpp_pubsub_send_unread_items
at gitgud.io (it is function which calls to other functions that return node, item and send the result).
I am willing to handle the XMPP code for you if you want.
from pelican.
This is way over my head, I just happen to host my own Pelican and XMPP server and would really like to see an XMPP renaissance. Unfortunately, other than with licensing, I donβt think I can help much here. Would love to see how it all plays together though!
To make things even more connected, Libervia has some code to bridge XMPP PubSub with ActivityPub:
https://fosdem.org/2024/schedule/event/fosdem-2024-2857-bridging-open-protocols-xmpp-and-activitypub-gateway-via-libervia/
from pelican.
Related Issues (20)
- Import posts from medium download HOT 2
- Missing "getting started with Pelican on GitLab" HOT 4
- Internal URLs not parsed in summaries HOT 11
- Enhance Social widget documentation HOT 2
- pelican --print-settings should show all possible settings, including those unset by default HOT 3
- Pelican or Jinja problem? HOT 2
- Pelican Install Problem - Debian 11 HOT 4
- Adding keywords metadata to specific page HOT 5
- Is there a way to set `ext.i18n.trimmed` Jinja2 policy in Pelican? HOT 2
- How to handle line length limit error? HOT 4
- Ampersands don't seem to be escaped in text in markdown HOT 5
- Anchor links in feeds are not absolute
- Option to disable the RichHandler log handler?
- how to use rst-directive such as "toctree" HOT 3
- Pelican orgmode format HOT 2
- Newest lxml breaks the building HOT 3
- Ability to show traceback of template errors HOT 2
- Windows test failure: `Unsupported locale setting` HOT 3
- Cannot generate (markdown) content after Pelican upgrade/reinstall HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pelican.