You are right, if they need to display the actual text file. With Drupal or PHP and some .htaccess magic, we read the text file, then display it as formatted html, with the name shown as the text file name. That is what I had in mind.
Cary On Oct 13, 2014, at 2:15 PM, Kyle Banerjee <kyle.baner...@gmail.com> wrote: > You could encode it quotable-printable or mess with content disposition > http headers. > > But using these hacks or others mentioned on your data to accommodate this > use case doesn't strike me a great idea since solutions like this don't age > well. > > You might suggest to your supervisor to right click and download and then > view in something else like notepad which can be set to word wrap. Or > select all and paste wherever. > > Alternatively, if the supervisor doesn't actually read the emails, say that > that everyone that needs to can read the emails just fine, but there seems > to be an issue with his or her machine ;) > > kyle > > On Mon, Oct 13, 2014 at 1:40 PM, Matthew Sherman <matt.r.sher...@gmail.com> > wrote: > >> Thanks for the insights. I was really hoping IE had a setting. The >> problem is that these are txt files with copies of the permissions e-mails >> for our institutional repository that we store in the backend of the record >> in DSpace. So I do not know that I can edit the HTML to make them display >> properly in IE. The real frustration is that they do display, and the >> Firefox, Chrome, Safari, ect. display them fine, but IE does not and this >> supervisor only seems to use IE. >> >> On Mon, Oct 13, 2014 at 4:21 PM, Andrew Anderson <and...@lirn.net> wrote: >> >>> I’ve never attempted this, but instead of linking to the text files >>> directly, can you include the text files in an <iframe> and leverage that >>> to apply sizing/styling information to the <iframe> content? >>> >>> Something like: >>> >>> <html> >>> <body> >>> <iframe src=“/path/to/file.txt”></iframe> >>> </body> >>> </html> >>> >>> That structure, combined with some javascript tricks might get you where >>> you need to be: >>> >>> http://stackoverflow.com/questions/4612374/iframe-inherit-from-parent >>> >>> Of course, if you’re already going that far, you’re not too far removed >>> from just pulling the text file into a nicely formatted container via >> AJAX, >>> and styling that container as needed, without the <iframe> hackery. >>> >>> -- >>> Andrew Anderson, Director of Development, Library and Information >>> Resources Network, Inc. >>> http://www.lirn.net/ | http://www.twitter.com/LIRNnotes | >>> http://www.facebook.com/LIRNnotes >>> >>> On Oct 13, 2014, at 9:59, Matthew Sherman <matt.r.sher...@gmail.com> >>> wrote: >>> >>>> For anyone who knows Internet Explore, is there a way to tell it to use >>>> word wrap when it displays txt files? This is an odd question but one >> of >>>> my supervisors exclusively uses IE and is going to try to force me to >>>> reupload hundreds of archived permissions e-mails as text files to a >>>> repository in a different, less preservable, file format if I cannot >> tell >>>> them how to turn on word wrap. Yes it is as crazy as it sounds. Any >>>> assistance is welcome. >>>> >>>> Matt Sherman >>> >>