kiwix / web

Bugs, enhancements, ideas for our Web presence
https://kiwix.org
6 stars 6 forks source link

Add donation prompt when download has started #219

Closed Popolechien closed 1 year ago

Popolechien commented 1 year ago

I just downloaded Libreoffice and noticed that when one downloads the software the next page suggests user donate to support the project while their download is completing.

Any technical blocker to prevent us from implementing something like this on library.kiwix.org?

rgaudin commented 1 year ago

First, how it works:

<meta http-equiv="Refresh" content="0; url=https://download.documentfoundation.org/libreoffice/stable/7.6.0/win/x86_64/LibreOffice_7.6.0_Win_x86-64.msi"/>

What could be possible without degrading user-experience of library.kiwix.org is to have one HTML page for each ZIM that's similar (but good looking) to the limited choices of download that pop-up when you hit download.

We could list the different methods and mirrors and all. We can even bring up the ZIM metadata liek title, description, icon, etc.

I already suggested it in the past (not sure where, maybe in libkiwix?) and still think it's a good idea. What we'd have in addition to that is the possibility to make a donation.

Auto-triggering a download there is a different discussion. Since we want to foster torrent downloads it doesn't make much sense I believe. Also coming back and forth to the page triggers the download every time which can be annoying when you're not sure about what to do.

This page could either be linked-to by the download button (my preference, you hit back to come back to the library) or you iframe it in a popup-like but it's less generic and adds a lot of constraints on both side (and popup is genrally considered an anti pattern)

Popolechien commented 1 year ago

After discussion I'm closing this until llibrary.kiwix.org becomes its own thing rather than a deployment of Kiwix-serve.