Hello, I need your help https://github.com/ge0rg/easy-xmpp-invitation/issues/34
spectrumhas left
amee2khas left
pasdesushihas left
nikhas joined
Laurahas left
spectrumhas joined
msavoritiashas left
debaclehas joined
Kevhas joined
Laurahas joined
Millesimushas left
debaclehas left
inkyhas left
Kevhas left
nikhas left
Kevhas joined
Laurahas left
goffihas left
Laurahas joined
nikhas joined
goffihas joined
pep.
Schimon, why do you worry about file xtensions btw? I guess you can get the list of doap files from xmpp.org, or maybe it should be made available if not already. And that can be cached somewhere on the website serving the invitation thing
pep.
Also I'm not sure why you'd use doap here
msavoritiashas joined
Kevhas left
Kevhas joined
thomaslewishas joined
Schimon
1. I like things to be constructive and clear.
2. Me too. emus has suggested it, so why not?
Also, these files are intended for use with other projectd, judt copy&paste.
Kevhas left
spectrumhas left
thomaslewishas left
larmahas left
thomaslewishas joined
Laurahas left
emus
I just pointed that there are doaps if that appears to be useful
inkyhas joined
Schimon
Yes, it is, IMHO
Schimon
Because, if others are interested, they can copy DOAP files from one project to another with ease (no need to make one from scratch nor to start to lookup for clients etc.) It's great
Laurahas joined
Schimon
For exsmple, some SVG files on that commit were made by myself from PNG files, and that costs time. You get the point...✎
Schimon
For example, some SVG files on that commit were made by myself from PNG files, and that costs time. You get the point... ✏
Schimon
For example, some SVG files on that commit were made by myself from PNG files, and that costs time, and I'm not a graphics designer. You get the point... ✏
thomaslewishas left
msavoritiashas left
debaclehas joined
Laurahas left
Ge0rG
the DOAP file format is missing a "link to native app store" BTW
Kevhas joined
Ge0rG
making it cumbersome for the specific goal within the easy-xmpp-invitation project
Laurahas joined
msavoritiashas joined
Ge0rG
It might make sense to use the <download-page/> element, but I'm not sure if everybody does so, and how to allow "fallbacks"
thomaslewishas joined
Kevhas left
debaclehas left
msavoritiashas left
thomaslewishas left
emus
FYI wurstsalat ^
Laurahas left
pasdesushihas joined
pep.
Ok I thought you'd use doap to choose which app to suggest, which would not be practical to me
Ge0rG
I'd love to be able to do that as well, but
Schimon
> Ge0rG:
> 2022-05-29 05:01 (GMT+03:00)
> the DOAP file format is missing a "link to native app store" BTW
XML is customizeable, so we'll add three to four (yes, that's 3 - 4) links.
1. Homepage
2. Proprietary repo
3. F-Drpid app store
Ge0rG
Schimon: there are DOAP files for most relevant XMPP clients already
Ge0rG
The question is how to integrate them in a useful way into a JS client app
Schimon
> Ge0rG:
> 2022-05-29 05:02 (GMT+03:00)
> making it cumbersome for the specific goal within the easy-xmpp-invitation project
I think it's gonna be simple, in the modular sense.
I'll make a draft commit and you'll judge
Schimon
You'll see. You'll see
Schimon
> Ge0rG:
> 2022-05-29 05:36 (GMT+03:00)
> Schimon: there are DOAP files for most relevant XMPP clients already
I know
Schimon
But because this is related tp XMPP, in the UX sense, I think DOAP is a good idea
Schimon
> Ge0rG:
> 2022-05-29 05:15 (GMT+03:00)
> It might make sense to use the <download-page/> element, but I'm not sure if everybody does so, and how to allow "fallbacks"
Please explain "fallback"
euhas left
euhas joined
Ge0rG
Schimon: it's great to have the download link be the respective app store, but also to have some "fallback" link to f-droid, apk download or whatever's suitable
Laurahas joined
thomaslewishas joined
adxhas left
alhas joined
Schimon
Awesome, so we'll make it 5.
But this means that server has to have APKs on it's systwm, because XSS is not allowed by most web browsers.
Kevhas joined
thomaslewishas left
Schimon
Forget what I wrote.
pep.
Wh ywould the server need to have APKs. I think Ge0rG is saying the client DOAP may point to an APK itself. Something like Signal is doing (serving APKs on signal.org)
pep.
heh
Schimon
It imeans that we must check for HTTP status 200. How can that be done in JS if XSS is not allowed in most browsers?
Schimon
Or provide a fixed fallback in an additional link
Ge0rG
Schimon: I'm not sure what you want to achieve, but your questions imply that you need to rethink your strategy :)
Schimon
Yes
alhas left
Yagizаhas joined
PapaTutuWawahas joined
msavoritiashas joined
Kevhas left
raghavgururajanhas left
thomaslewishas joined
Millesimushas joined
thomaslewishas left
larmahas joined
Kevhas joined
emus
I think from a user-perspective there should be a pre-selection and maybe link for advance view to the new client page at xmpp.org
larmahas left
antranigvhas left
antranigvhas joined
PapaTutuWawahas left
thomaslewishas joined
Schimon
I'm not sure I understand, there is a link to xmpp.org already, or do you mean to something else.
Kevhas left
Schimon
pep., Ge0rG: I posted a new comment concerning fallback
Kevhas joined
spectrumhas joined
msavoritiashas left
PapaTutuWawahas joined
larmahas joined
euhas left
pep.
I would personally avoid querying these files every time the page is queried and I'd cache them