Good afternoon.
I beg your pardon.
I have changed the title, and removed the phrase Ad-Hoc Commands.
Friends from Sopranica have informed me that there is already dedicated
URI for Ad-Hoc Commands, including "prev" for previous and "next".
https://xmpp.org/extensions/xep-0050.html#registrar-querytypes
https://xmpp.org/registrar/querytypes.html#command
I would be glad to discuss about the possibility to allocate
identifiers to Data Forms.
Kind regards,
Schimon
On Thu, 24 Apr 2025 08:30:23 +0300
Schimon Jehudah <sch(a)fedora.email> wrote:
Good day.
I am the developer of Slixfeed news bot.
Data Forms are extensively utilized by that bot.
I think that it would be beneficial to define IRI/URI to acess to
Ad-Hoc Commands and Data Forms.
== Ad-Hoc Commands ==
This IRI/URI would open the form "manual".
xmpp:slixfeed@xmpp.org?command=help
This IRI/URI would open the form "about".
xmpp:slixfeed@xmpp.org?command=about
== Data Forms ==
Provided that a Data Form has an identifier, this IRI/URI would open
the about dialog for the given query.
This IRI/URI would open the form "about" (same as of the example of
the Ad-Hoc Command, which can lead to the same form by explicitly
define it).
xmpp:slixfeed@xmpp.org?form=about-start
This IRI/URI would open the form "about" in the next form to form
about-start with the value "thanks".
xmpp:slixfeed@xmpp.org?form=about-result?payload=thanks
Please advise.
Kind regards,
Schimon