Good day, one and all! I want to work on an XEP which would define "link collections", which I think would also be useful for FASI (HTML invite page for XMPP), which already indicates of articles, when articles are present (see attached image). See example profiles under "New Members" at https://libertylinks.io Would Data Forms be the appropriate mean to achieve it? Kind regards, Schimon
Le vendredi 25 octobre 2024, 06:53:03 heure d’été d’Europe centrale Schimon Jehudah a écrit :
Good day, one and all!
I want to work on an XEP which would define "link collections", which I think would also be useful for FASI (HTML invite page for XMPP), which already indicates of articles, when articles are present (see attached image).
See example profiles under "New Members" at https://libertylinks.io
Would Data Forms be the appropriate mean to achieve it?
Kind regards, Schimon
I'm not sure is the data forms is the more appropriate. I think I would do it with a dedicated XML element instead (don't we have already something for that? It really smells like public bookmark to me). For the record, I have a very similar use case where I want to register a list of URL *AND* Pubsub Nodes: I have an invitation feature in Libervia with associate a URL with an ID to a guest account, and I'm storing there links of interest (for instance: a MUC, a pubsub node, etc). I've been using my own stuff so far, but I'm planning to work on a XEP, so maybe we can do something together? Of course pubsub node can be stored as URL, be it's cleaner to use directly a specific element. Basically, I need a pubsub node with well-defined items to describe URL, pubsub nodes, MUC rooms, or whatever, optionally with description and possibility to extend with extra data. Best, Goffi
Hey, Profile page sounds like vCard to me. You can have arbitrary many URLs in a vCard 4 and publish it via XEP-0292. Best, Marvin On Fri, 2024-10-25 at 07:53 +0300, Schimon Jehudah wrote:
Good day, one and all!
I want to work on an XEP which would define "link collections", which I think would also be useful for FASI (HTML invite page for XMPP), which already indicates of articles, when articles are present (see attached image).
See example profiles under "New Members" at https://libertylinks.io
Would Data Forms be the appropriate mean to achieve it?
Kind regards, Schimon _______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
Greetings, Marvin! Thank you for your respond and reference! Yes. I think a public profile page is indeed a vCard. I will observe XEP-0292 and inform of further progress. Cheers, Schimon On Fri, 25 Oct 2024 17:52:12 +0200 Marvin W <xmpp@larma.de> wrote:
Hey,
Profile page sounds like vCard to me. You can have arbitrary many URLs in a vCard 4 and publish it via XEP-0292.
Best, Marvin
On Fri, 2024-10-25 at 07:53 +0300, Schimon Jehudah wrote:
Good day, one and all!
I want to work on an XEP which would define "link collections", which I think would also be useful for FASI (HTML invite page for XMPP), which already indicates of articles, when articles are present (see attached image).
See example profiles under "New Members" at https://libertylinks.io
Would Data Forms be the appropriate mean to achieve it?
Kind regards, Schimon _______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
_______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
Good day. Marvin. Apparently, vCard4 Over XMPP does not support my objective. I wish to have custom labels or additional label, specifically for URIs and URLs. From: https://xmpp.org/extensions/xep-0292.html#mapping-removed
NOTE: vcard-temp allowed a LABEL element, but it was removed from vCard4
If there is a link to a Movim instance, then I want a label with the name of the instance (i.e. monocles, Movim, Pimux), and so for Libervia, PeerTube, Pleroma etc. <i2p> <parameters /> <uri>http://mycoolsite.i2p</uri> </i2p> <movim> <parameters /> <uri>https://mov.im/?blog/sch</uri> </movim> <peertube> <parameters /> <uri>https://video.xmpp-it.net/c/sch/videos</uri> </peertube> <xmpp> <parameters /> <uri>xmpp:sch@mov.im</uri> </xmpp> or <url> <label>My I2P Site</label> <uri>http://myi2psite.i2p</uri> <photo>http://myi2psite.i2p/logo.svg</photo> </url> <url> <label>📔️ My Journal</label> <uri>http://journal.myi2psite.i2p</uri> </url> <url> <label>My Business Site</label> <uri>http://mybusinesssite.i2p</uri> <photo>http://mybusinesssite.i2p/logo.svg</photo> </url> <url> <label>☁️ Movim</label> <uri>https://mov.im/?blog/sch</uri> </url> <url> <label>📺️ PeerTube</label> <uri>https://video.xmpp-it.net/c/sch/videos</uri> </url> <url> <label>💠️ My IPFS Nest</label> <uri>ipfs://hash_to_a_current_collection</uri> </url> <url> <label>🫏️ eDonkey2000</label> <uri>ed2k://my_ed2k_identity</uri> </url> <impp> <label>💡️ Jabber</label> <uri>xmpp:sch@mov.im</uri> </impp> <encryption> <label>🔐️ OpenPGP</label> <text>0000 1111 0000 1111 0000</text> </encryption> <encryption> <label>🖥️ SSH</label> <text>1111 0000 1111 0000 1111</text> </encryption> Mr. Stephen Paul Weber has suggested to add a custom child element
Could also do a namespaced child element of <url/> {https://mycoolproject.com}branded-type or something
He has also raised the possibility for registering a new label, or adding "x-BRAND" to non-registered label.
use x (not suggested). It's not a perfect fit but you could use sort-as
I mean if you could come up with some more generic things than "peertube" (maybe social-video) is whatever I could see registering them as tuypes being not impossible. But it's work of course.
I am not sure whether I am ready to complicate this, and intervene with a standard node (urn:xmpp:vcard4), as it might lead to confusion amongst people who develop for XMPP for the first time, and also to myself. Unless there is another XEP which I could use, I intend to create a custom Node Name, and a custom XML with labels and attributes that would indicate of types, and suggest of an XEP for an extended vCard to which I might call "Resource Collection" or "Reference Collection", or "Extended Virtual Card". P.S. If I recall correctly, years ago, there were discussions about custom fields for XMPP Profile. I wonder how it was concluded. Kind regards, Schimon On Sat, 26 Oct 2024 19:47:03 +0300 Schimon Jehudah <sch@fedora.email> wrote:
Greetings, Marvin!
Thank you for your respond and reference!
Yes. I think a public profile page is indeed a vCard.
I will observe XEP-0292 and inform of further progress.
Cheers, Schimon
On Fri, 25 Oct 2024 17:52:12 +0200 Marvin W <xmpp@larma.de> wrote:
Hey,
Profile page sounds like vCard to me. You can have arbitrary many URLs in a vCard 4 and publish it via XEP-0292.
Best, Marvin
On Fri, 2024-10-25 at 07:53 +0300, Schimon Jehudah wrote:
Good day, one and all!
I want to work on an XEP which would define "link collections", which I think would also be useful for FASI (HTML invite page for XMPP), which already indicates of articles, when articles are present (see attached image).
See example profiles under "New Members" at https://libertylinks.io
Would Data Forms be the appropriate mean to achieve it?
Kind regards, Schimon _______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
_______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
Hi Schimon, I see multiple options to use vCard: 1. Use a group with a URL and the custom X-ABLabel property. This is a widely implemented custom property used to label URLs (and other fields, including IMPP). It's supported by at least Apple (iOS and macOS), Nextcloud and Android (DAVx5). In vCard notation it looks like this: myi2psite.URL:http://myi2psite.i2p myi2psite.X-ABLabel:My I2P Site mybusinesssite.URL;TYPE=work:http://mybusinesssite.i2p mybusinesssite.X-ABLabel:My Business Site The reason why this is not possible using standard LABEL (if it were specified), NOTE or similar properties, is that grouping support is optional in vCard. Clients are allowed to strip all group prefixes (what is before the property name, separated by ".") if they don't want to have grouping support, meaning that any official property must be designed with that in mind and thus can't relate to a specific other property. X-ABLabel, in contrast, requires clients to support grouping and is entirely ignored by clients that don't support it. Thus a non grouping- and thus also non-X-ABLabel-aware client would read the above as: URL:http://myi2psite.i2p URL;TYPE=work:http://mybusinesssite.i2p Which of course is a loss of information, but still a very good fallback. The XML notation of above would be: <group name="myi2psite"> <url><uri>http://myi2psite.i2p</uri></url> <x-ablabel><text>My I2P Site</text></x-ablabel> </group> <group name="mybusinesssite"> <url> <parameters><type><text>work</text></type></parameters> <uri>http://mybusinesssite.i2p</uri> </url> <x-ablabel><text>My Business Site</text></x-ablabel> </group> 2. If you don't feel like using groups and don't need or want interoperability with existing implementations, you can also declare a new custom property myi2psite.URL;X-FASI-Label=My I2P Site:http://myi2psite.i2p mybusinesssite.URL;TYPE=work;X-FASI-Label=My Business Site:http://mybusinesssite.i2p The XML notation of above would be: <url> <parameters><x-fasi-label><text>My I2P Site</text></x-fasi- label></parameters> <uri>http://myi2psite.i2p</uri> </url> <url> <parameters> <type><text>work</text></type> <x-fasi-label><text>My Business Site</text></x-fasi-label> </parameters> <uri>http://mybusinesssite.i2p</uri> </url> 3. If even convertibility to plain vCard is not necessary for you, you could even use any custom namespace inside the vCard <url> property. Clients unaware of it would strip it out when parsing or converting to plain vCard, leaving only the plain URLs intact. While technically possible, I think solutions 1 and 2 are way better - with 1 being probably the best and most interoperable option. Marvin PS: The functionality of the LABEL property in vCard before version 4 is still present today, it just has a completely different meaning. LABEL is referring to postal address labels, the property would include the text that needs to be written on a postal label to deliver to the person referred to in the vCard. In vCard 4.0 this became a property parameter of ADR, because it is directly tied to a physical address. On Tue, 2024-10-29 at 09:08 +0200, Schimon Jehudah wrote:
Good day. Marvin.
Apparently, vCard4 Over XMPP does not support my objective.
I wish to have custom labels or additional label, specifically for URIs and URLs.
From: https://xmpp.org/extensions/xep-0292.html#mapping-removed
NOTE: vcard-temp allowed a LABEL element, but it was removed from vCard4
If there is a link to a Movim instance, then I want a label with the name of the instance (i.e. monocles, Movim, Pimux), and so for Libervia, PeerTube, Pleroma etc.
<i2p> <parameters /> <uri>http://mycoolsite.i2p</uri> </i2p> <movim> <parameters /> <uri>https://mov.im/?blog/sch</uri> </movim> <peertube> <parameters /> <uri>https://video.xmpp-it.net/c/sch/videos</uri> </peertube> <xmpp> <parameters /> <uri>xmpp:sch@mov.im</uri> </xmpp>
or
<url> <label>My I2P Site</label> <uri>http://myi2psite.i2p</uri> <photo>http://myi2psite.i2p/logo.svg</photo> </url> <url> <label>📔️ My Journal</label> <uri>http://journal.myi2psite.i2p</uri> </url> <url> <label>My Business Site</label> <uri>http://mybusinesssite.i2p</uri> <photo>http://mybusinesssite.i2p/logo.svg</photo> </url> <url> <label>☁️ Movim</label> <uri>https://mov.im/?blog/sch</uri> </url> <url> <label>📺️ PeerTube</label> <uri>https://video.xmpp-it.net/c/sch/videos</uri> </url> <url> <label>💠️ My IPFS Nest</label> <uri>ipfs://hash_to_a_current_collection</uri> </url> <url> <label>🫏️ eDonkey2000</label> <uri>ed2k://my_ed2k_identity</uri> </url> <impp> <label>💡️ Jabber</label> <uri>xmpp:sch@mov.im</uri> </impp> <encryption> <label>🔐️ OpenPGP</label> <text>0000 1111 0000 1111 0000</text> </encryption> <encryption> <label>🖥️ SSH</label> <text>1111 0000 1111 0000 1111</text> </encryption>
Mr. Stephen Paul Weber has suggested to add a custom child element
Could also do a namespaced child element of <url/> {https://mycoolproject.com}branded-type or something
He has also raised the possibility for registering a new label, or adding "x-BRAND" to non-registered label.
use x (not suggested). It's not a perfect fit but you could use sort-as
I mean if you could come up with some more generic things than "peertube" (maybe social-video) is whatever I could see registering them as tuypes being not impossible. But it's work of course.
I am not sure whether I am ready to complicate this, and intervene with a standard node (urn:xmpp:vcard4), as it might lead to confusion amongst people who develop for XMPP for the first time, and also to myself.
Unless there is another XEP which I could use, I intend to create a custom Node Name, and a custom XML with labels and attributes that would indicate of types, and suggest of an XEP for an extended vCard to which I might call "Resource Collection" or "Reference Collection", or "Extended Virtual Card".
P.S. If I recall correctly, years ago, there were discussions about custom fields for XMPP Profile. I wonder how it was concluded.
Kind regards, Schimon
On Sat, 26 Oct 2024 19:47:03 +0300 Schimon Jehudah <sch@fedora.email> wrote:
Greetings, Marvin!
Thank you for your respond and reference!
Yes. I think a public profile page is indeed a vCard.
I will observe XEP-0292 and inform of further progress.
Cheers, Schimon
On Fri, 25 Oct 2024 17:52:12 +0200 Marvin W <xmpp@larma.de> wrote:
Hey,
Profile page sounds like vCard to me. You can have arbitrary many URLs in a vCard 4 and publish it via XEP-0292.
Best, Marvin
On Fri, 2024-10-25 at 07:53 +0300, Schimon Jehudah wrote:
Good day, one and all!
I want to work on an XEP which would define "link collections", which I think would also be useful for FASI (HTML invite page for XMPP), which already indicates of articles, when articles are present (see attached image).
See example profiles under "New Members" at https://libertylinks.io
Would Data Forms be the appropriate mean to achieve it?
Kind regards, Schimon _______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
_______________________________________________ Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
Standards mailing list -- standards@xmpp.org To unsubscribe send an email to standards-leave@xmpp.org
Good day. Jérôme. I did not receive your message from the mailing-list. This is not the first time. Please be sure that you send a direct email message to my email as well; if you may, that is. I have noticed your message upon loading the thread via the HTML interface https://mail.jabber.org/hyperkitty/list/standards@xmpp.org/thread/WEJSGHPPEQ... I suppose that you have received the message that I have sent today, in response to Marvin, concerning to XEP-0292: vCard4 Over XMPP.
I'm not sure is the data forms is the more appropriate. I think I would do it with a dedicated XML element instead (don't we have already something for that? It really smells like public bookmark to me).
I have implemented a public annotation system for XMPP, which is based on Atom Over XMPP (XEP-0277 and XEP-0472), and I want to create an XEP for it. Presentation : https://video.xmpp-it.net/w/cfozoUeVLFbBFMCCSCJ1Dn Project : https://git.xmpp-it.net/sch/Blasta Instance : https://blasta.woodpeckersnest.eu (Please try and test) Yet, I want something smaller and specific for a "Profile Page" as shown in LibertyLinks.io and other fifty (50) similar services which I have found to do the same. I might even want to use the Atom Syndication Format in order to create custom elements which is supported by the standard and also to utilize the attribute "rel" (related) which would define sets of related resources, which can be useful. Example for related links to node "urn:xmpp:microblog:0" of account sch@libervia.i2p: http://libervia.i2p/sch (Libervia instance) http://libervia.i2p/?blog/sch (Movim instance) gemini://libervia.i2p/journal/sch (XMPP for Gemini instance) xmpp:sch@movim.i2p?pubsub;node=urn:xmpp:microblog:0 (XMPP URI)
For the record, I have a very similar use case where I want to register a list of URL *AND* Pubsub Nodes: I have an invitation feature in Libervia with associate a URL with an ID to a guest account, and I'm storing there links of interest (for instance: a MUC, a pubsub node, etc). I've been using my own stuff so far, but I'm planning to work on a XEP, so maybe we can do something together?
Yes! Please. I am working on adding such feature to FASI. https://git.xmpp-it.net/sch/FASI
Of course pubsub node can be stored as URL, be it's cleaner to use directly a specific element.
Basically, I need a pubsub node with well-defined items to describe URL, pubsub nodes, MUC rooms, or whatever, optionally with description and possibility to extend with extra data.
Good! I will contact you on the Libervia MUC.
Best, Goffi
Thank you, Schimon
On Fri, 25 Oct 2024 07:53:03 +0300 Schimon Jehudah <sch@fedora.email> wrote:
Good day, one and all!
I want to work on an XEP which would define "link collections", which I think would also be useful for FASI (HTML invite page for XMPP), which already indicates of articles, when articles are present (see attached image).
See example profiles under "New Members" at https://libertylinks.io
Would Data Forms be the appropriate mean to achieve it?
Kind regards, Schimon
participants (3)
-
Goffi -
Marvin W -
Schimon Jehudah