-
nav
A couple of patches to the DOAP XSLT.
-
nav
Only the first patch is important-ish
-
nav
The others should apply relatively cleanly in a pick and choose basis, i.e., if wanting to leave some of it out. In particular the last one.
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/jLWUdjRIe7YFi5iLyILE8RqWxEv5p3lHywac5uHT/0001-Add-DOCTYPE-declaration.patch
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/SxCkoHM4Kx0F4puePiPbLpuuxHVWVzQtRh8b0oGC/0002-Assume-that-style.css-is-in-the-same-directory-as-th.patch
-
nav
(that one is a bit of a judgment call, but I figure in production the CSS may not always be exactly one level up)
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/WPOHkfJZ3zCaHN0YD94bhrqE0RVTyYPZY2g25IQu/0003-Add-XEP-name-and-latest-available-version.patch
-
nav
The main change there is that XEP number and title are inside a single <a href=""> as opposed to two.
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/Uo25pTx4uF2elC7V907IkZJ0NCxqqYGvGVXtv4MS/0004-Add-anchors-to-XEPs.patch
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/jJYvC7OI5QvIvMS1v4J8idgYCMavSgufFjYm2kxd/0005-Add-abstract-info.patch
-
nav
jonas’ About https://github.com/xsf/xeps/blob/master/tools/extract-metadata.py – I'm confused as to why it converts the XML to text and then back to XML.
-
nav
That causes loss of info: mixed content, entities, directives (and comments) will not be translated.
-
jonas’
that's intentional to provide a fixed schema for xeplist.xml
-
jonas’
(and other tools in the directory need plain text)
-
nav
For email and such?
-
nav
Take for instance the abstract of XEP-0099 (https://xmpp.org/extensions/xep-0099.xml)
-
jonas’
is that not handled correctly?
-
nav
What's also bizarre is that some XML entities are translated and others aren't. Take for instance <remark/> on XEP-0234 (correctly translates an em dash, versus XEP-0106 (missing dashes).
-
jonas’
nice, it's indeed not
-
jonas’
then I need to exchange minidom for something saner
-
nav
Nope, it's missing a couple of words.
-
jonas’
but I recall that that caused issues with our .ent and .dtd files -.-
-
nav
Yeah I would expect so.
-
nav
Why not run the output through a proper HTML→plain text converter?
-
jonas’
because it's not HTML?
-
jonas’
(which output, anyway?)
-
jonas’
if anything, extract-metadata.py should probably be an XSL file…
-
nav
Technically not, but it looks like it should do the job. I'm not talking about the entire XML, obs ☺ but rather the mixed content that you'd like to be pure text.
-
nav
For instance <abstract/>, <remark/> and so on, where people sometimes use markup.
-
nav
Yeah, I did write an XSLT stylesheet that creates a xeplist.xml, that's how I found the differences.
-
nav
I should have a diff file somewhere…
-
jonas’
oh, interesting
-
jonas’
I'd take that I guess.
-
nav
…I'll generate one quickly
-
jonas’
no I mean, the xsl I'd take
-
jonas’
as a pull request or whatever
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/gIVWrOV35jf6hJkfbrJUITh55qcElR0PyBEKf7eR/xeplist.diff
-
nav
> no I mean, the xsl I'd take Yeah I understood that 😁
-
nav
Maybe take a look at the diff first see if there is anything that might cause issues downstream?
-
nav
…which there probably will, as I see that the content is used for emails, right?
-
nav
but that aspect of things could probably be addressed by running the content going into the emails through an HTML → text converter.
-
nav
…or just accept that some spurious markup is going to show up.
-
nav
Anyway, I'll prepare a quick patch and you can play with it.
-
nav
The background to this is that I was wanting to add the entire revision history to xeplist.xml
-
Millesimus
No xmpp dev room at FrOSCon '22?
-
Ge0rG
Millesimus: it looks like there'll be a stand at least
-
Millesimus
Ge0rG: Ah yes, Dino has a stand.
-
nav
jonas’ Diff against xsf/xeps master:
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/JFHPqKyqvOWi2KZcmLuK6SG729aoXXoK83SzrdYE/0001-Add-script-and-XSLT-stylesheet-to-generate-xeplist.x.patch
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/GXd5QLcks8lxCyJ1ttxdnZX3chntgXBYbYfA4eeC/0002-Replace-the-script-used-for-creating-xeplist.xml.patch
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/0qISEWyTkKMl1PMyIO250WMLqVWX2cZQJybMGfqf/0003-Remove-.-tools-extract-metadata.py.patch
-
jonas’
nav, any chance to put that in a github PR?
-
nav
Nope
-
jonas’
or at least as emails to editor@✎ -
jonas’
or at least as emails to editor@xmpp.org ✏
-
jonas’
otherwise I'll lose track
- Ge0rG might suddenly appear at FrOSCon as well
-
adx
do i understand correctly that the roster is for storing user JIDs only and bookmarks are for the groupchats?
-
jonas’
adx, yes
-
jonas’
storing groupchat JIDs in the roster is going to cause fun
-
jonas’
unless you're using MIX, then it's both likely to cause fun, but also the standard way of doing things
-
adx
hmm, fun you say... 🙂
-
adx
yeah, I was talking about MUCs
-
adx
does anything even implement MIX groupchats?
-
Wojtek
@adx tigase-server and BeagleIM/SiskinIM ;-)
-
pulkomandy
I wild be at FrOSCon too so I hope there will be some kind of devroom in one way or another
-
john-machan
Hello! Do we know of FOSS clients supporting [ephemeral messages](https://xmpp.org/extensions/xep-0466.html)?
-
MSavoritias (fae,ve)
john-machan: This was approved just recently and also there is a change that author wants to do already. So no. Too early still.
-
techmetx11
MSavoritias (fae,ve): unless there's a developer who's watching very carefully
-
techmetx11
does the server also have to exclude the message from the MAM when sending?✎ -
techmetx11
does the server also have to exclude the message from the MAM (if the timer is expired) when sending a MAM request ✏
-
Zash
you can't do that
-
Zash
it is forbidden
-
Zash
you can replace it with a tombstone however
-
techmetx11
yeah a tombstone
-
Zash
so, treat it as a delayed-effect https://xmpp.org/extensions/xep-0424.html
-
techmetx11
there's a stickers XEP?
-
Zash
XMPP - There's a XEP for that!
-
Zash
techmetx11, was that a question?
-
MSavoritias (fae,ve)
> techmetx11 wrote: > there's a stickers XEP? Yes
-
Zash
We need a XEP that encodes whether a message contains a question or a surprised statement!
-
Zash
Wasn't there a XEP from before it was even called "stickers" ?
-
Zash
Obsolete now, but https://xmpp.org/extensions/xep-0038.html
-
MSavoritias (fae,ve)
> Zash wrote: > We need a XEP that encodes whether a message contains a question or a surprised statement! We have :D
-
MSavoritias (fae,ve)
But it was rejected
-
techmetx11
hmmm
-
techmetx11
now would there be a XEP for a marketplace
-
techmetx11
or video sharing
-
techmetx11
i don't think so
-
techmetx11
except the video sharing
-
Zash
don't think "marketplace" would be a XEP
-
MSavoritias (fae,ve)
There is no need for specifically video sharing. Just video streaming
-
MSavoritias (fae,ve)
Which there is
-
Link Mauve
There were five or so attempts at MSN-style shared folders though.
-
Link Mauve
Which might be that.
-
techmetx11
shared folders
-
techmetx11
hmm
-
techmetx11
XEP for nudging?
-
Link Mauve
0224.
-
Zash
ITYM https://xmpp.org/extensions/xep-0132.html ;)
-
Link Mauve
Or that yeah.
-
nav
jonas’: Sent
-
jonas’
thanks
-
nav
pulkomandy If interested in displaying the revision history for outdated XEPs in the DOAP files, here's a patch (goes on top of the ones I sent earlier today)
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/35mKMMMfUu7CtNlG0SCSmnUHccl31EBLKyl9pNP1/0001-Add-a-popup-with-the-change-history-for-outdated-XEP.patch
-
pulkomandy
thanks, not much time for that today (trying to port a C compiler to a new architecture for a project I should finish this weekend for my vacations :p) but I'll try to have a look
-
nav
Nae bother. Sample output here btw: https://labs.navlost.eu/pub/doap/poezio.html https://labs.navlost.eu/pub/doap/movim.html
-
nav
Needless to say, the styling needs some love.
-
nav
Good luck with the compiler 👍
-
wurstsalat
nav, nice, I'd really like to see that happen! I can work on styling the elements when these changes are merged :)
-
nav
Link Mauve: Broken link in https://xmpp.org/extensions/xep-0453.html#rules (https://github.com/xsf/xmpp.org/blob/master/data/README.rst 404s)
-
Link Mauve
Ah, wurstsalat broke it in de3d82527a7b3fda3b0cf89e147a14fde801a472.
-
Link Mauve
In the move to hugo.
-
Link Mauve
Did anyone else have any issue with it? Otherwise I’ll probably ask to advance it soon and gather actual experience with it.
-
Link Mauve
nav, https://github.com/xsf/xeps/pull/1199
-
nav
Thanks, I tried to find the link but couldn't.
-
nav
https://github.com/xsf/xmpp.org/blob/master/tools/README.rst
-
nav
May I point out that it's missing a _components_ section? It's kind of an important part of XMPP. ☺
-
Link Mauve
Feel free to contribute that, I’m going to sleep. :)
-
nav
> and then make a Pull Request on GitHub. Seriously? Using a GAFAM product for what's supposed to be an open protocol? Process-wise that's a bit substandard.
-
Link Mauve
No, you can use the mailing list if you prefer so.
-
Link Mauve
Send a patch over there, or to the editor IIRC.
-
nav
A catalogue of machine readable software definitions is a great idea though. Enables lots of interesting things, such as comparing XEP support across products, finding the popularity (or otherwise) of different XEPs, etc.
-
nav
Roger. It'd be good to make those contribution workflows more explicit though? I don't recall them being documented, maybe I didn't look in the right places.
-
nav
(I'm working on an XMPP based way to submit Git patches to repositories anyway, should work with popular forges + email)
-
Link Mauve
Have you talked with goffi already? I think he was working on such things in the past.
-
nav
I recall a talk by someone about this, which was kind of the inspiration.
-
nav
Is goffi here?
-
nav
I'll see about hitting him up during the day. Bonne nuit !