-
Schimon
> Unless you want to do some server dev that's how it'll be yes Mon 19 Aug 2024 07:08:00 PM - Schimon: This is a current code which checks for "bibliography" nodes: ``` if not await XmppPubsub.is_node_exist(xmpp_instance, node_id_public): iq = XmppPubsub.create_node( xmpp_instance, jabber_id, node_id_public, node_title, node_subtitle) await iq.send(timeout=15) ``` This is a proposed code to handle three nodes: "public", "private" and "read" (private and read are private): ``` for node_properties in nodes: properties = nodes[node_properties] if not await XmppPubsub.is_node_exist(xmpp_instance, properties['name']): iq = XmppPubsub.create_node( xmpp_instance, jabber_id, properties['name'], properties['title'], properties['subtitle']) await iq.send(timeout=15) ```✎ ↺ -
Schimon
> Unless you want to do some server dev that's how it'll be yes This is a current code which checks for "bibliography" nodes: ``` if not await XmppPubsub.is_node_exist(xmpp_instance, node_id_public): iq = XmppPubsub.create_node( xmpp_instance, jabber_id, node_id_public, node_title, node_subtitle) await iq.send(timeout=15) ``` This is a proposed code to handle three nodes: "public", "private" and "read" (private and read are private): ``` for node_properties in nodes: properties = nodes[node_properties] if not await XmppPubsub.is_node_exist(xmpp_instance, properties['name']): iq = XmppPubsub.create_node( xmpp_instance, jabber_id, properties['name'], properties['title'], properties['subtitle']) await iq.send(timeout=15) ``` ✏ ↺
-
Schimon
This is a data-set of type "dict" (Python) to manage the nodes: ``` nodes = {'public' : {'name' : node_id_public, 'title' : node_title_public, 'subtitle' : node_subtitle_public}, 'private' : {'name' : node_id_private, 'title' : node_title_private, 'subtitle' : node_subtitle_private}, 'read' : {'name' : node_id_read, 'title' : node_title_read, 'subtitle' : node_subtitle_read} } ``` To make it easier, I can use a tag "to-read" to mark items for reading, and to provide an absolute choice to set directory as public or private. Yet, to make the service more viable to more people, and to encourage content sharing (public) and good management (read list), it would be better to provide three nodes, albeit it is more difficult to handle.✎ -
Schimon
This is a data-set of type "dict" (Python) to manage the nodes: ``` nodes = {'public' : {'name' : node_id_public, 'title' : node_title_public, 'subtitle' : node_subtitle_public}, 'private' : {'name' : node_id_private, 'title' : node_title_private, 'subtitle' : node_subtitle_private}, 'read' : {'name' : node_id_read, 'title' : node_title_read, 'subtitle' : node_subtitle_read} } ``` To make it easier, I can use a tag "to-read" to mark items for reading, and to provide an absolute choice to set directory as public or private. Yet, to make the service more viable to more people, and to encourage content sharing (public), personal directory (private) and an improved management (read list), it would be better to provide three nodes, albeit it is more difficult to handle. ✏
-
Schimon
https://xmpp.pimux.de/file_share/bc4222ee-8ced-4e74-877f-77047ab06294/blasta_20240819.tar
-
Schimon
This is a working version of single (public) node.
-
Schimon
A public version would be published with support for three nodes.
-
edhelas
Is there some clients that implements XEP-0264: Jingle Content Thumbnails but for the audio-video calls ?
-
edhelas
Looks like most of the implementations are used for Jingle file transfer
-
singpolyma
What would the thumbnail for a call be?
-
edhelas
A preview of your face
-
edhelas
Or the people in the room
-
singpolyma
So, your avatar?
-
edhelas
Discord does that
-
edhelas
Or the screen shared at the moment