[Silva-general] silva 2.0.1: problem with links

Raoul Schaffner raoul.schaffner at eawag.ch
Tue Feb 12 17:18:47 CET 2008


hi eric,

thanks for getting back on this. it took me a while, but i figured out that
if the servername-part of the url is a fqdn, the url works. if it's just a
servername, it doesn't. this obviously has to do with the url syntax
checking in one of the scripts inside the bowels of silvadocument...

so my lesson learnt is this: always use fqdns! ;)

thanks,
raoul.


fqdn = fully qualified domain name: hostname.domainname.tld

 
> Sorry that this took a while to get to, I am checking into it, but I
> cannot immediately reproduce it. Could you maybe send me an export of
> the affected page? It could be that this has already been fixed on the
> 2.0 branch after the 2.0.1 release, or maybe I'm just not using the
> correct sort of url ( tested with
> http://pipes.yahoo.com/pipes/pipe.info?_id=lBSI3YnU3BGVqYiqjUnRlg and
> the fake test link you provided above.)
> 
> Also: are you using xslt renderers, or the default rendering system?
>
>> dear list,
>> 
>> we're having a funny problem with links in silva documents:
>> 
>> absolute urls with form parameters (the chars after the ? char) are treated
>> as relative urls, e.g.:
>> 
>> the silva document is here: <http://silva.server/path1/doc1>
>> the link url is <http://some.otherserver/path2/doc2?param=data>
>> 
>> the rendered url in the public view will be:
>> <http://silva.server/path1/http://some.otherserver/path2/doc2?param=data>
>> 
>> the link url is treated like a local silva document inside the silva folder
>> 'path1'.
>> 
>> my question: how can i hack this the fast way? which python script is
>> responsible for rendering links inside silva documents?




More information about the silva-general mailing list