le 1/02/07 23:39, Noah Kantrowitz <[EMAIL PROTECTED]> a écrit :

> 
> If you are using the IncludeMacro from trac-hacks, just use the second
> argument to set the MIME type.
> 
> [[Include(source:Divers/env/doc/Guides.html, text/html)]]

Yes, I am using the IncludeMacro from Trac-Hacks. Could I be using another
on? 
But I get the same raw text with or without the mime type. If I replace the
source schema with my svn url, I get the hereunder error " Authorization
Required"

Antoine.
> 
> Antoine Pérus wrote:
>> le 1/02/07 23:15, Marc-Antoine Zizka <[EMAIL PROTECTED]> a écrit :
>> 
>>>> I would like to display an html file stored in the svn repository directly
>>>> into the wiki. I have tried the IncludeMacro as hereafter:
>>>> [[Include(http://127.0.0.1:8800/Svn/Divers/env/doc/Guides.html)]]
>>>> but have an error :
>>>> "Error while retrieving file
>>>>  HTTP Error 401: Authorization Required"
>>>> 
>>>> This url, http://127.0.0.1:8800/Svn/Divers/env/doc/Guides.html, directly
>>>> in
>>>> the browser runs properly.
>>> If the repository is the one paired with your Trac setup, you should use a
>>> source link:
>>> [[Include(source:Divers/env/doc/Guides.html)]]
>>> 
>> But in that way I get the raw text with markups. I would like to display the
>> text as a rightly formatted html text. (it has the property svn:mime-type
>> set to text/html)
>> 
>> Thanks,
>> 
>> Antoine
> 
> 
> 
> > 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to