Advertise on Bikeforums.net



User Tag List

Results 1 to 11 of 11
  1. #1
    more ape than man timmhaan's Avatar
    Join Date
    Nov 2003
    Location
    nyc
    Posts
    8,093
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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?

  2. #2
    Member
    Join Date
    Jul 2004
    Location
    Close to home
    Posts
    766
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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!

  3. #3
    more ape than man timmhaan's Avatar
    Join Date
    Nov 2003
    Location
    nyc
    Posts
    8,093
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

  4. #4
    Senior Member nick burns's Avatar
    Join Date
    Oct 2004
    Location
    Absecon, NJ
    My Bikes
    Puch Luzern, Puch Mistral SLE, Bianchi Pista, Motobecane Grand Touring, Austro-Daimler Ultima, Legnano, Raleigh MountainTour, Cannondale SM600
    Posts
    2,941
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

  5. #5
    more ape than man timmhaan's Avatar
    Join Date
    Nov 2003
    Location
    nyc
    Posts
    8,093
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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....

  6. #6
    Non Tribuo Anus Rodentum and off to the next adventure (RIP) Stacey's Avatar
    Join Date
    Dec 2002
    Posts
    9,163
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can't you right click and save the file localy then open it with notepad? Just asking

  7. #7
    That darn Yankee TexasGuy's Avatar
    Join Date
    Jun 2005
    Location
    West West Fort Worth
    My Bikes
    Mongoose XR-100, Eros Bianchi
    Posts
    4,272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

  8. #8
    Sweetened with Splenda
    Join Date
    Sep 2003
    Location
    Brooklyn, Alabama
    My Bikes
    Too many 80s roadbikes!
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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 10:08 PM.
    Falling down is not exercising.

  9. #9
    more ape than man timmhaan's Avatar
    Join Date
    Nov 2003
    Location
    nyc
    Posts
    8,093
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

  10. #10
    more ape than man timmhaan's Avatar
    Join Date
    Nov 2003
    Location
    nyc
    Posts
    8,093
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks brokenrobot, that may be something better done by IT. for my knowledge though where exactly is the htaaccess file?

  11. #11
    That darn Yankee TexasGuy's Avatar
    Join Date
    Jun 2005
    Location
    West West Fort Worth
    My Bikes
    Mongoose XR-100, Eros Bianchi
    Posts
    4,272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •