I didn't understand most of it, so you will have to go onto the link to check. If you do not trust my link, then please download Firefox and get to the link from there. They added that this might not be the webmaster's fault as a third party may have interfered with your website. I have used your website for months, if not years, so please note that I am not accusing you of anything.
Fleet street, thanks a lot for the information. I just saw that all files on my server have been hacked today. I am really sorry about this. I've temporarily taken off the sites until I figure out the reason.
Anybody knows how somebody can change all the html and php files on my server? An iframe has been added at the end of all sites...
@jonuhey: You mean on the scoreboard or locally in Anki? If it was on the scoreboard it will probably be fixed once the sites are up again.
Hi, it should not happen that your level gets lost. Here is how you can fix it if you remember your rank:
Open Anki and go to 'Settings / Plugins / Open Plugin folder'. Close Anki now (important!). In the anki plugin folder which opened, locate and edit ankiwarrior\aw_exp.txt. First line is the experience, second line (which is probably more important) is the level. Change it accordingly. Save the file and start anki again. Your level should now be as you've set it.
Edit: Im not sure what happened, but it maybe happened because I had some HD issues the past few days, the old file might have corrupted or something... not really sure as I thought the partition with it wasnt affected, will check further later.
I have "a situation" for which a little modification of your great plugin would help a lot. This is the thing: I use Anki to teach Spanish to my two daughters (and Japanese to myself) Since I live abroad, I would like them to be able to catch up when we go back home and they have to study there.
Now it just occurred to me that it would be great if I could tweak Ankiwarrior to display Spanish cities. This way, they would be learning geography too...
And here's the question: how complicated would this be? Is it something as straightforward as substituting a list of Spanish cities and population with that of Japanese cities in your plug? I'm betting no, but still, it's worth asking... And how about the map, any chances it can be easily changed?
If this could be done, it would in fact be a huge expansion of AW's scope, since it could be used by learners of any language (not that it can't now, but still...)
Anyway, thank you for sharing your great work. Keep it up! (easy to say, huh)
it is quite easy to change the cities: Just go to the plugin directory of ankiwarrior and open the aw_cities.py in a text editor. There you will one line for each city, like this: 1 : (u"Kōnan", u"江南市", 100200, "http://ja.wikipedia.org/wiki/%E6%B1%9F%E5%8D%97%E5%B8%82"),
where 1 is the level Kōnan is the city name 江南市 is the city name in Japanese 100200 is the population of the city and the last one is any link, in this case to the wikipedia site of the city.
Just replace this information with the Spanish cities. you can remove all entries from 51 to 267, if you need only for example only 50 cities. Just make sure you'll have a continuous number range starting with 0.
For the images, just replace the files in the ankiwarrior/img folder with whatever images you want. They can be gif, jpg, svg or png. Just make sure the name of the image equals the rank of the city. The image file for the above example (Konan) should there be something like 1.jpg or 1.png.
To create new google maps images is unfortunately not that easy. I had a list of coordinates of all the Japanese cities and wrote a program to automatically generate the google maps images with it. I don't know if I still have that program somewhere, if it is still working and if I still know how to use it. I would therefore suggest you try to find some nice images :-)
Let me know if you have any further questions or any problems with editing the above mentioned file.
Thank you so much for kind and fast reply. Yes, it is like you say; google maps is a nice extension but probably doesn't justify the effort, since one can very well do with images. I will keep you posted and send you the new text/images if and when I get round to doing it.
I edited it in TextEdit. I saved it as unicode-8. Below is the error message. It has a link to the python site. I read the page twice, but still don't understand what I'm supposed to do.
An error occurred in a plugin. Please contact the plugin author. Please do not file a bug report with Anki.
Traceback (most recent call last): File "ankiqt/ui/main.pyc", line 2472, in loadPlugins File "/Users/deni/Library/Application Support/Anki/plugins/AnkiWarrior.py", line 11, in File "/Users/deni/Library/Application Support/Anki/plugins/ankiwarrior/aw_cities.py", line 2 SyntaxError: Non-ASCII character '\xe3' in file /Users/deni/Library/Application Support/Anki/plugins/ankiwarrior/aw_cities.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (aw_cities.py, line 2)