Re: [tw] [TW5]How to use canonical uri field to point to local files

2015-09-10 Thread Jeremy Ruston
Hi Danielo If you're working off a file URI then the xmlhttprequest will only work on Firefox; Chrome raises a security exception. Do you see any error messages in the developer console or network activity? Best wishes Jeremy. On Thu, Sep 10, 2015 at 10:25 AM, Danielo Rodríguez

Re: [tw] [TW5]How to use canonical uri field to point to local files

2015-09-10 Thread Danielo Rodríguez
Hello, I'm trying it with the HTML single file edition, and it is not working neither. I put a URI field pointing to a relative path, but the file (wich is a shell script) is not being rendered as a tiddler. I also set the tiddler field to plain text, and it is not working -- You received

Re: [tw] [TW5]How to use canonical uri field to point to local files

2015-09-10 Thread Danielo Rodríguez
Hello Jeremy I'm using Firefox, and I don't see anything on the console. Both the wiki and the file are on the local file-system. The canonical uri has the following format: ../../../programacion/something/algo.sh Thanks for your prompt answer El jueves, 10 de septiembre de 2015, 11:45:08

Re: [tw] [TW5]How to use canonical uri field to point to local files

2015-09-10 Thread Danielo Rodríguez
Hello Again, Chrome is not raising any error neither, only for the favicon. If that helps -- 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

[tw] [TW5]How to use canonical uri field to point to local files

2015-09-09 Thread Danielo Rodríguez
Hello, Now I see that the canonical uri field can be used to point to external files that got rendered into the TW tiddler body, I want to point to some source code files. But, I am not getting any success. The way I'm doing it is using relative paths _canonical_uri:

Re: [tw] [TW5]How to use canonical uri field to point to local files

2015-09-09 Thread Danielo Rodríguez
Hello Jeremy, Thank you very much. Very interesting github issue. Is possible to add arbitrary routes to the server module? -- 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,

Re: [tw] [TW5]How to use canonical uri field to point to local files

2015-09-09 Thread Jeremy Ruston
Hi Danielo Very interesting github issue. Is possible to add arbitrary routes to the > server module? > At the moment it can only be done by hacking the code of server.js. The ticket is a proposal to introduce an extensible mechanism. Best wishes Jeremy. > > -- > You received this message

Re: [tw] [TW5]How to use canonical uri field to point to local files

2015-09-09 Thread Jeremy Ruston
Hi Danielo Now I see that the canonical uri field can be used to point to external > files that got rendered into the TW tiddler body, I want to point to some > source code files. > > But, I am not getting any success. The way I'm doing it is using relative > paths > > _canonical_uri: