I don't know of any libraries or other ways to parse Word documents,  
so no. If you are running on Windows and server has Word installed,  
you might be able to rig something up with COM (via the win32com  
module), but this isn't enough of a general case to bother IMO. All  
the new Office 2007 files are just zipped XML I think, so you might be  
able to make an HTML converter for that. Not a small task though.

--Noah

On Jan 6, 2009, at 7:11 PM, VeChen wrote:

>
> Well,is there a trac's plug-in to show the content of .doc files in
> website? I could't find it on http://trac-hacks.org/
>
> On 1月7日, 上午10时44分, "Noah  
> Kantrowitz" <[email protected]> wrote:
>> Those files aren't diff'd since they contain a lot of useless  
>> markup and
>> such, and a diff wouldn't really be that helpful. If you set the
>> svn:mimetype property to something like text/plain, Trac will at  
>> least try,
>> but I don't think you will like the results.
>>
>> --Noah
>>
>>
>>
>>> -----Original Message-----
>>> From: [email protected] [mailto:[email protected] 
>>> ]
>>> On Behalf Of VeChen
>>> Sent: Tuesday, January 06, 2009 6:25 PM
>>> To: Trac Users
>>> Subject: [Trac] Add diff renderer?
>>
>>> Hi all
>>
>>> I used SVN singly ever and it can dispaly diffs (such as
>>> word,excel,ppt etc.) in website via ViewVC (compiled by python)
>>> While useing Trac ,it can only show txt or programing language files
>>> in website. How could I do if I wanna to see diffs about files as
>>> word,excel,ppt via browser.
>>> I searched for plug-ins and find TracExcelViewer who shows excel  
>>> in a
>>> peculiar way,it is still inefficient on showing diffs.Is there  
>>> someone
>>> give me a hand or some suggests.
>>
>>> Thanks
>>
>>> VeSion- 隐藏被引用文字 -
>>
>> - 显示引用的文字 -
>
> >


--~--~---------~--~----~------------~-------~--~----~
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