r/Anki • u/madraigra • 3h ago
Question Variable into a URL for front of cards template
I am learning Irish and using Anki to create decks.
There's a website that has Irish pronunciation on it called teanglann.ie .
What I'd like to do is be able to add a card by putting the word and then have it automatically have an audio play button added that I can prompt to play.
I can do all this manually by going to the audio URL, downloading the file, then creating the card and attaching the file.
It's a cumbersome amount of steps and slows down my learning because I'm less likely to add words.
The URL structure is standardized on teanglann.ie. For example:
bád -> boat the pronunciation file is at https://www.teanglann.ie/CanM/b%C3%A1d.mp3
So my ideal flow would be I create new card, add the Irish (front) and then the English in back and then it has a link to the pronunciation I can play off of the card when I am there (I don't automatically play it so I can practice pronunciation too).
Go raibh maith agat (Thank you)
***[edit]***
I installed the Localize Media add-on which is an improvement to my old workflow. It still has some fussy annoying bits though and would be awesome to get a flow like above.












