![]() |
|
Making a automated hyperlink for kanji - Printable Version +- kanji koohii FORUM (http://forum.koohii.com) +-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html) +--- Forum: Learning resources (http://forum.koohii.com/forum-9.html) +--- Thread: Making a automated hyperlink for kanji (/thread-10012.html) |
Making a automated hyperlink for kanji - Mesqueeb - 2012-10-01 Hi, I'd like a hyperlink linked with the Japanese characters I'm reviewing. I've done this for several websites: e.g. <a class="rel" rel="nofollow" href="http://en.wiktionary.org/wiki/{{text:漢字}}">Link</a> But recently there's a website with really interesting pointers and small details to certain rare character. However, I haven't found a way to add the hyperlink yet... http://kakijun.main.jp/ or http://kakijun.main.jp/m-s/ Anyone can help me out? Cheers! -Mesqueeb Making a automated hyperlink for kanji - Taishi - 2012-10-01 I have also run into this exact problem with just that site. Though I haven't found a way around it yet :/ Making a automated hyperlink for kanji - gdaxeman - 2012-10-01 You need to send a GET request to their cgi script with the individual kanji you want. Considering that 漢字 is the name of your field in Anki 1.2, and that you have only single characters in your 漢字 field (because that's what the website works with), then this is what you need to add to the template: Code: <a class="rel" rel="nofollow" href="http://kakijun.main.jp/main/u_kensaku.cgi?KANJI={{text:漢字}}">Link</a>Making a automated hyperlink for kanji - Taishi - 2012-10-01 gdaxeman Wrote:You need to send a GET request to their cgi script with the individual kanji you want. Considering that 漢字 is the name of your field in Anki 1.2, and that you have only single characters in your 漢字 field (because that's what the website works with), then this is what you need to add to the template:Oo, that works perfectly, thanks! Making a automated hyperlink for kanji - Mesqueeb - 2012-10-02 This is EXACTLY what I needed! Thank you so much! ^^ For the sake of my cards I made a logo for that website: https://dl.dropbox.com/u/8876552/logo%20tadashii%20kakijun.png Cheers! |