Hi Paul, Specifically, the html file looks like this:
<html> <body> <ul> <li><a href="../../reference/sitehowto.htm" target="_blank">How to use this site</a></li> <li><a href="policies.htm" target="_blank">Policies</a></li> <li><a href="../../reference/p2/How to Work P2 Phones.doc" target="_blank">Phone System How-to</a></li> <li><a href="../../reference/p2/PPI Internal Phone Lists.xls" target="_blank">Phone List</a></li> <li><a href="some.htm" target="_blank">Access Cards</a></li> <li><a href="some.htm" target="_blank">Children at Work</a></li> <li><a href="some.htm" target="_blank">Payroll</a></li> <li><a href="some.htm" target="_blank">Email How-To</a></li> <li><a href="some.htm" target="_blank">Organization Chart</a></li> <li><a href="../../reference/p2/Employee Conduct and Business Relationships 4.20.01.doc" target="_blank">Employee Conduct</a></li> <li><a href="../Holiday Schedule 02 FINALP2 and Paradigm.doc" target="_blank">2002 Holiday Schedule</a></li> <li><a href="../Holiday Schedule 01.doc" target="_blank">2001 Holiday Schedule</a></li> <li><a href="some.htm" target="_blank">FAQ</a></li> </ul> </body> </html> The html source from the rendered portal page (just that specific portlet) looks like this: <html> <body> <ul> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/si tehowto.htm">How to use this site</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/polici es.htm">Policies</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2 /How to Work P2 Phones.doc">Phone System How-to</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2 /PPI Internal Phone Lists.xls">Phone List</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h tm">Access Cards</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h tm">Children at Work</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h tm">Payroll</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h tm">Email How-To</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h tm">Organization Chart</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2 /Employee Conduct and Business Relationships 4.20.01.doc">Employee Conduct</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/Holiday Schedule 02 FINALP2 and Paradigm.doc">2002 Holiday Schedule</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/Holiday Schedule 01.doc">2001 Holiday Schedule</a></li> <li><a target="_blank" href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h tm">FAQ</a></li> </ul> </body> </html> Clicking on the Phone Lists link displays (just the first couple lines as an example): ��ࡱ�>�� GI����HN������������������������������������������������������������ ������������������������������������������������������������������������ ������������������������������������������������������������������������ ������������������������������������������������������������������������ ������������������������������������������������������������������������ ������������������������������������������������������������������������ �������� ^��@����\php00033 B�a�=oe��=x?;u! I've tried the suggestions for the mime-mapping value in web.xml and still no luck. I appreciate any help you can provide. Thanks Lori -----Original Message----- From: Paul Spencer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 8:39 AM To: Jetspeed Users List Subject: Re: Mime type for xls files Lori, So the HTML file looks like: <html> <body> <a href="www.somehost.com/worddoc.doc" target="_blank">View Word Document</a> <br> <a href="www.somehost.com/exceldoc.xsl" target="_blank">View Excel Document</a> </body> </html> 1) The HTML works when displayed in a browser, not through Jetspeed? 2) Compare the HTML source generated by Jetspeed and the actual HTML. Look at the href=".." in the link. Paul Spencer Funk, Lori K. wrote: > Paul, > > Thanks for the reply. I need to clarify that the only thing displayed > in the portlet is the link (<a href> tag) to the excel file so it is > only html. The link has a target of 'new', causing a new window to be > opened for the display of the excel file. I have been successful > displaying MS Word documents this way from the same portlet and wonder > why I can't get excel files to display also. > > Lori > > -----Original Message----- > From: Paul Spencer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 6:47 AM > To: Jetspeed Users List > Subject: Re: Mime type for xls files > > > Lori, > I am assuming you are using either the HTML or WebPagePortlet portlet > types to display the Excel file. In that case, both of the portlet > types require the content be HTML. > > In the past I have used the HTML portlet type, although the > WebPagePortlet should work, to include an simple html file that will > display an SVG image, you may be able to do this with you Excel file. I > > can not find the source, but I think it used the <OBJECT> or <EMBED> tag > > to define the link the the SVG content, the plugging, and the height and > > width of the "image". > > Paul Spencer > > Funk, Lori K. wrote: > > >>Hi, >> >>My environment: >>jetspeed 1.3a2-dev >>jdk1.3.1 >>windows 2000 pro >>IE 5.5 >> >>I am having trouble with an html link displayed in a web page portlet. >>The link is to an Excel file (.xls file extension). When I click on >> > the > >>link the raw text of the xls file is displayed rather than Microsoft >>Excel opening the document. I can, however, open the document in a >>browser window (choosing the file) and get the correct display. >> >>I have looked in email archives for apache, tomcat, jetspeed, and >>turbine and found only one other email of someone else having the >>question but no solution. I have tried adding a mime-mapping >>(application/vnd.ms-excel or application/octet-stream) to web.xml, >> > I've > >>tried adding a mime.types file that is referenced in the >>TurbineResources.properties (same mappings as tried in web.xml) but I >>still get just the raw text of the file. I am restarting apache each >>time I change the configuration. >> >>It is unclear to me whether this is an issue with apache, catalina, >>jetspeed, or turbine especially since I have not found any discussion >> > of > >>this issue on any of the mailing lists. >> >>This should be easy but it hasn't been. I appreciate any help you can >>provide. >> >>Thanks >>Lori >> >>-- >>To unsubscribe, e-mail: >> > <mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: >> > <mailto:[EMAIL PROTECTED]> > >> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
