Forvo Audio in the Memrise Level Editor

Adds a column to the Memrise level/database editor with buttons to check for Forvo audio

< Commentaires sur Forvo Audio in the Memrise Level Editor

Avis: OK - le script fonctionne, mais souffre de quelques problèmes

Tutorial for 2021:

Create a forvo acount.
search google for "forvo api" and it should be the first result.
Choose the 2.00$ a month option (you can choose a 6 or 12 month plan).
If you have trouble with paypal (forvo gives you a payment error) try doing the payment on a fresh browser (one that you haven't added extensions to)(firefox worked for me)
this should bring you to your account page where you can copy your api key (the string of numbers & letters below "Your Forvo API KEY is:" in the rightmost box)
if you forget to copy your key you can find it by going to the forvo api page (like you did above) and clicking the "your account" tab at the top-right


Download tampermonkey at https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en (if on chrome)
click install (on this page https://greasyfork.org/en/scripts/6305-forvo-audio-in-the-memrise-level-editor)
click install again on the new page that brings up (it will show you the code, but you can't edit it yet)
now click on the tampermonkey extension and click dashbord.


On the dashboard page locate 'Forvo Audio in the Memrise Level Editor' and to the left of it is a slider; make sure that it is green/slid to the right so the script will be active.
Then look all the way to the right of 'Forvo Audio in the Memrise Level Editor', and the second icon from the right will be the edit button; click it.
Find the first colored line in the code which is:
forvoApiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
and replace the XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX with your api key so it looks something like this (though with your own key and don't try this one since I just typed in gibberish):
forvoApiKey = '23847d1092384x792v083';
Now, click file at the top left and click save.

Now for the one new thing that I had to find out:
Still on the editing page for the script, there should be 3 tabs at the top left called "editor", "settings", "externals"; click "settings"
In the 3rd section down (Includes/Excludes), under the box labeled "User matches" click "add" and paste in the link: "https://app.memrise.com/course/*/*/edit/*" (but without the quotes).
You can now close the dashboard tab.

Now to test that it works
open up a new tab, go to your Memrise course, and go to your editor, and open up a level (if you have levels).
You should now have a new column called "other audio" and be able to quickly download Forvo audio to upload to Memrise.

Poster une réponse

Connectez-vous pour poster une réponse.