Cycling and bicycle discussion forums. 
   Click here to join our community Log in to access your Control Panel  


Go Back   > >

Foo Off-Topic chit chat with no general subject.

User Tag List

Reply
 
Thread Tools Search this Thread
Old 02-28-06, 12:00 PM   #1
timmhaan
more ape than man
Thread Starter
 
timmhaan's Avatar
 
Join Date: Nov 2003
Location: nyc
Bikes:
Posts: 8,093
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
opening files from a microsoft IE browser...

okay, we use a lot of .xml files and they are stored on a website. if you click on them, IE wants to open the file itself and since a style sheet isn't assigned, the file can't be displayed properly. I'd like all file extenstions with .xml to open in notepad or something like that. i can't figure out how to do this. and it must be through IE...that's what our company wants.

Anyone know?
timmhaan is offline   Reply With Quote
Old 02-28-06, 12:04 PM   #2
BeeTL
Member
 
Join Date: Jul 2004
Location: Close to home
Bikes:
Posts: 766
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
In Windows Control Panel, select Folder Options, click on the File Type tab, and change the assocaited program for the .xml file extension.

...and I'm no tecchie!
BeeTL is offline   Reply With Quote
Old 02-28-06, 12:15 PM   #3
timmhaan
more ape than man
Thread Starter
 
timmhaan's Avatar
 
Join Date: Nov 2003
Location: nyc
Bikes:
Posts: 8,093
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
not quite that easy. this is from a webpage. so i'm dealing with a http:// path that has the file name at the end. for example, if i'm connected to the internet through IE and click to open:

http://company/address/sample.xml

it will open in a new window and won't display correctly. if i'm offline and just in explorer, your method works fine for opening this files. thanks for the suggestion though.
timmhaan is offline   Reply With Quote
Old 02-28-06, 01:03 PM   #4
nick burns
Senior Member
 
nick burns's Avatar
 
Join Date: Oct 2004
Location: Absecon, NJ
Bikes: Puch Luzern, Puch Mistral SLE, Bianchi Pista, Motobecane Grand Touring, Austro-Daimler Ultima, Legnano, Raleigh MountainTour, Cannondale SM600
Posts: 2,943
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Maybe you could try using OpenOffice Writer to open the file from the url. It has built in support for xml display if I remember correctly. You can include a hyperlink bar in the toolbars section.
nick burns is offline   Reply With Quote
Old 02-28-06, 01:18 PM   #5
timmhaan
more ape than man
Thread Starter
 
timmhaan's Avatar
 
Join Date: Nov 2003
Location: nyc
Bikes:
Posts: 8,093
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
thanks nick. i figured out that some of our editing programs can open a url, so i can grab the shortcut from the site and just paste it in to open. so that's at least a little easier.

we have a suite of tools we're supposed to be using and that is accessed through a citrix connection. the technique doesn't seem to work there, looks like there is a permissions issue tied to that. thanks for the suggestion though. i've spent too much time looking at this today....
timmhaan is offline   Reply With Quote
Old 02-28-06, 07:56 PM   #6
Stacey
Non Tribuo Anus Rodentum and off to the next adventure (RIP)
 
Stacey's Avatar
 
Join Date: Dec 2002
Bikes:
Posts: 9,161
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Can't you right click and save the file localy then open it with notepad? Just asking
__________________
Stacey is offline   Reply With Quote
Old 02-28-06, 07:58 PM   #7
TexasGuy
That darn Yankee
 
TexasGuy's Avatar
 
Join Date: Jun 2005
Location: West West Fort Worth
Bikes: Mongoose XR-100, Eros Bianchi
Posts: 4,286
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
I think he was shooting for "convenience" IE has stopped automatic downloads by default and its a PITA to bypass. I think that it can be done but I can't recall how.
__________________
Life is about hanging onto what you think is important and finding out what really is important.
"Stop Ruining my joke!", "No, a joke implies humor attached at no additional cost"
So many sayings, so little sig space.
TexasGuy is offline   Reply With Quote
Old 02-28-06, 11:02 PM   #8
brokenrobot
Sweetened with Splenda
 
Join Date: Sep 2003
Location: Brooklyn, Alabama
Bikes: Too many 80s roadbikes!
Posts: 2,335
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
You'll actually need to add a rule to the webserver, I think. You can add a line to the .htaccess file defining the .xml doctype as application/octet-stream and the browser will pop up a window asking you to save it or open with an external program whenever you click on a .xml file

Edit: Here's the actual line you need to add, I think (my syntax might be a little rusty, though, so doublecheck it)
AddType application/octet-stream xml
The first time you open one after adding this line, when you choose the external program, there ought to be a checkbox saying "always perform this action" or something similar... if you check it, notepad (or whatever program you choose) will autolaunch in the future.
/edit

Last edited by brokenrobot; 02-28-06 at 11:08 PM.
brokenrobot is offline   Reply With Quote
Old 03-01-06, 09:32 AM   #9
timmhaan
more ape than man
Thread Starter
 
timmhaan's Avatar
 
Join Date: Nov 2003
Location: nyc
Bikes:
Posts: 8,093
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Quote:
Originally Posted by Stacey
Can't you right click and save the file localy then open it with notepad? Just asking
yeah, but with a whole slew of employees accessing the 100's of xml documents we have posted, the routein of saving locally becomes a headache.
timmhaan is offline   Reply With Quote
Old 03-01-06, 09:52 AM   #10
timmhaan
more ape than man
Thread Starter
 
timmhaan's Avatar
 
Join Date: Nov 2003
Location: nyc
Bikes:
Posts: 8,093
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
thanks brokenrobot, that may be something better done by IT. for my knowledge though where exactly is the htaaccess file?
timmhaan is offline   Reply With Quote
Old 03-01-06, 09:53 AM   #11
TexasGuy
That darn Yankee
 
TexasGuy's Avatar
 
Join Date: Jun 2005
Location: West West Fort Worth
Bikes: Mongoose XR-100, Eros Bianchi
Posts: 4,286
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Quote:
Originally Posted by timmhaan
thanks brokenrobot, that may be something better done by IT. for my knowledge though where exactly is the htaaccess file?
It's on the server side
It relies on you running Apache
and I don't believe it will solve your problem
__________________
Life is about hanging onto what you think is important and finding out what really is important.
"Stop Ruining my joke!", "No, a joke implies humor attached at no additional cost"
So many sayings, so little sig space.
TexasGuy is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 09:04 AM.