Hi,

        From advice I got previously here is how I can access a PDF that is in 
the repository with a relative link (works both locally and in a server)

                [http:doc/tip/Ethernet/DOCS/npincomplete.pdf | Code Description 
(pdf) ]

Your link should work similarly.  The file is in <code 
base>/Ethernet/DOCS/npincomplete.pdf 

        --jim


On 6 Apr, 2010, at 14:41, Stephan Beal wrote:

> Hi, all!
> 
> i'm developing a JavaScript RPC toolkit which i am of course hosting in 
> Fossil:
> 
> 
> http://fossil.wanderinghorse.net/repos/JSONMessage/
> 
> that's all fine and good, but then i wanted to add a demo page. That entailed 
> adding a subdir under my project and leading the user there, of course. But 
> fossil defeats me...
> 
> If i have a link which simply says [demo/] then it treats it as a wiki page. 
> If i use [./demo] then when running in "fossil ui" mode fossil cannot find 
> the "demo" command (of course). i haven't tried [./demo] on the remote server 
> (CGI-based), but i suspect it _might_ work. i've tried using an A HREF 
> directly, but in local server mode that also gets intercepted.
> 
> My only working is using an absolute URL. The only problem with that is, if i 
> follow the link while using "fossil ui" then i end up on my remote server, 
> getting a different (probably older) copy of the demo.
> 
> i'm looking for a linking solution which will work both in local server modes 
> and CGI.
> 
> :-?
> 
> PS: this is not a big deal, just a minor annoyance. i'm not going to propose 
> any new features to support it if this cannot be done already.
> 
> -- 
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to