You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I coincidentally had the same idea, but took a slightly different approach. Instead of depending on JavaScript, fetching a version number from GitHub servers and then dynamically affecting the HTML of the description, I created a web application (in PHP), where deck creators can upload their decks, publish updates and update notifications to their users by including an <img> element in their deck description that requests an image from my webserver (using a link that contains the currently installed version of the Anki deck). In a nutshell, I'm building a better alternative to the "Shared decks" list on Anki web, that is in my opinion stupidly restricting and doesn't even allow permanent storage of the decks uploaded.
My webserver compares the number in the link and the version number for the deck in its database and either returns an image with text saying "You're Anki deck is up to date" or "An update is available for this Anki deck, click here to update". If the user clicks the image (which itself is envelopped in an <a> tag, they are redirected to the download page the user specified (currently, it's just one sub-page on my webserver) where they can download the new version.
I made the service as user-friendly as possible and anyone can publish Anki decks with the update-check feature and easily publish updates.
You can check the app here (the URL of the current live beta-version is on the right sidebar).
The problem is, my update system is struggeling with the same problem as yours – AnkiDroid will not display images in deck description (or, in your cae, load JavaScript). But while one of the AnkiDroid admins somewhere in the thread said, that JavaScript is planned to be disabled in the desktop version as well, he said that images (even remote ones) are likely to be allowed, when they implement a WebView for the deck description.
I write this issue with two goal:
Ask you to help with pushing the development of AnkiDroid in the direction that allows our (or, sadly, likely just mine) update systems to work. Looking at your repo list, I suppose that you have much more knowledge of the Anki ecosystem than me, so perhaps you could tell me about what's the holdup with the issue.
Offer you to use my service to share and update this deck, if you still plan to maintain it and perhaps even give me feedback or spread the word of it.
If you'd like to discuss this privatelly, my semi-public e-mail address is shady@voicesofwynn.com.
Looking forward to hearing from you.
The text was updated successfully, but these errors were encountered:
Hello.
I'd write you an e-mail instead, but you don't have it set as publically visible on your profile, so I'm writing here.
I've read your (now kinda old) issue on the AnkiDroid repo (ankidroid/Anki-Android#6669) and your comment (ankidroid/Anki-Android#8184 (comment)) and I see that you tried to implement an update check feature for this deck (or perhaps some others).
I coincidentally had the same idea, but took a slightly different approach. Instead of depending on JavaScript, fetching a version number from GitHub servers and then dynamically affecting the HTML of the description, I created a web application (in PHP), where deck creators can upload their decks, publish updates and update notifications to their users by including an
<img>
element in their deck description that requests an image from my webserver (using a link that contains the currently installed version of the Anki deck). In a nutshell, I'm building a better alternative to the "Shared decks" list on Anki web, that is in my opinion stupidly restricting and doesn't even allow permanent storage of the decks uploaded.My webserver compares the number in the link and the version number for the deck in its database and either returns an image with text saying "You're Anki deck is up to date" or "An update is available for this Anki deck, click here to update". If the user clicks the image (which itself is envelopped in an
<a>
tag, they are redirected to the download page the user specified (currently, it's just one sub-page on my webserver) where they can download the new version.I made the service as user-friendly as possible and anyone can publish Anki decks with the update-check feature and easily publish updates.
You can check the app here (the URL of the current live beta-version is on the right sidebar).
The problem is, my update system is struggeling with the same problem as yours – AnkiDroid will not display images in deck description (or, in your cae, load JavaScript). But while one of the AnkiDroid admins somewhere in the thread said, that JavaScript is planned to be disabled in the desktop version as well, he said that images (even remote ones) are likely to be allowed, when they implement a WebView for the deck description.
I write this issue with two goal:
If you'd like to discuss this privatelly, my semi-public e-mail address is shady@voicesofwynn.com.
Looking forward to hearing from you.
The text was updated successfully, but these errors were encountered: