I just tried it on Windows and it works fine for me. Downloaded an HTML to 
my desktop and added to the card:

<a href="file://C:/Users/soren/Desktop/test.html">link</a>

Click the link and test.html opens in the browser.

I'm on Anki 2.1.34 (a couple versions behind, but can't think of anything 
that would have changed here).

Do other links to websites work in Anki? Perhaps your default browser is 
configured wrong and Anki can't figure out what to do with links.

On Friday, November 13, 2020 at 6:18:22 AM UTC-6 si wrote:

> Hi Soren thanks for your reply.
>
> >>> The URL you list is not a valid file: URL, however -- it needs to use 
> forward slashes even on Windows.
>
> Thanks, I wasn't sure which to use here but I had tried every combination 
> and it still didn't work.
>
> >>> It does appear that the permalink generation in TiddlyRemember applied 
> during the sync is incorrectly putting a backslash at the end of URLs that 
> can't accept one there.
>
> I had noticed this, but I have tested with the correct permalink and it 
> still won't work. I've also tried putting the HTML directly into the card (<a 
> href="file:///C:/Users/Si/Desktop/file.html">link</a> using 
> Ctrl+Shift+X), but again when I click the link while viewing the card 
> nothing happens.
>
> I've noticed that there is an add-on 
> <https://ankiweb.net/shared/info/879473266> for opening files in an 
> external program. I got it to work with an HTML file, but because it looks 
> for a specific extension at the end of the path, it doesn't work with 
> permalinks that end in "#tiddler".
>
> Is it possible that Anki just can't open external HTML files on Windows?
> On Friday, 13 November 2020 at 00:08:42 UTC [email protected] wrote:
>
>> Si,
>>  
>> It works for me when I just paste an <a href> tag into the HTML editor 
>> directly on a card (Ctrl-Shift-X while you have a field selected). The URL 
>> you list is not a valid file: URL, however -- it needs to use forward 
>> slashes even on Windows. It's possible that is the issue, but I don't have 
>> a Windows machine handy at the moment to test on and see if that breaks 
>> something.
>>
>> It does appear that the permalink generation in TiddlyRemember applied 
>> during the sync is incorrectly putting a backslash at the end of URLs that 
>> can't accept one there. On my first try I ended up with 
>> "/home/soren/test.html/#TiddlerName" as the permalink, which is invalid 
>> since an HTML file is not a directory, and this resulted in nothing 
>> happening when I clicked the link. I opened an issue 
>> <https://github.com/sobjornstad/TiddlyRemember/issues/31> for that. To 
>> see if this is what's causing your problem, you can try manually changing 
>> the text in the Permalink field of a card and removing that extra slash.
>>
>> On Thursday, November 12, 2020 at 3:55:47 PM UTC-6 si wrote:
>>
>>> Hi Soren.
>>>
>>> This might be more of an Anki question, but I have been unable to get 
>>> permalinks to work in the way that you describe here 
>>> <https://sobjornstad.github.io/TiddlyRemember/#Configuring%20the%20Anki%20add-on>
>>> .
>>>
>>> It seems to me that Anki won't open files that are outside of the 
>>> "collection.media" folder. I've been trying all sorts of permutations of <a 
>>> href="file:///C:\path\to\file.html">link</a> but when I click the link 
>>> nothing happens.
>>>
>>> Is there some trick to get this to work that I'm not aware of?
>>>
>>> On Saturday, 30 May 2020 at 14:13:39 UTC+1 [email protected] wrote:
>>>
>>>> It's a thought. A simple SR algorithm is not particularly hard, so that 
>>>> would be doable. But recently I've been seeing sites pop up that all do 
>>>> their own spaced-repetition implementation, and the result is if you use 
>>>> more than one of them, pretty soon you have 8 places to go every day to 
>>>> review flashcards. I'd rather not be responsible for a fifteenth 
>>>> competing standard <https://xkcd.com/927/>.
>>>>
>>>> Anki also has a really nice mobile app, which is something TW still 
>>>> struggles with.
>>>>
>>>>
>>>> On Saturday, May 30, 2020 at 5:07:12 AM UTC-5, TonyM wrote:
>>>>>
>>>>> Build the whole solution in tiddlywiki would do it.
>>>>>
>>>>> Tony
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/24b834c2-a3ab-4852-b43b-ef4666f4da87n%40googlegroups.com.

Reply via email to