OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

HTML documents redirecting OpenOffice when loaded

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
coldwinston
General User
General User


Joined: 17 Jan 2005
Posts: 14

PostPosted: Tue May 31, 2005 7:30 am    Post subject: HTML documents redirecting OpenOffice when loaded Reply with quote

When I attempt to open HTML documents in OpenOffice, any documents containing a <meta http-equiv="refresh"> tag redirect OpenOffice to another document, despite all my efforts to stop them! I have disabled the hyperlink setting in the Options:

OpenOffice.org -> Security -> Open Hyperlinks -> "Never"

But this does not seem to have had any effect, I have read through all of the other options and havent found anything else relevant...

Any ideas anyone?

Also, isn't this kind of action potentially a security hazard in OpenOffice?

Here is a sample of one of the HTML documents that I am trying to open:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
   <title>Converting MicroSim Schematics Designs to OrCAD Capture Designs Quick Start PDF Link</title>   
   <script src="/Cookies.js"> </script>
   <!-- These meta tags are used to set up the CDSDOC library window -->   
   <meta name="DocType" content="Manual">
   <meta name="Title" content="Converting MicroSim Schematics Designs to OrCAD
        ...
   <!-- This meta tag sets the HTML redirect to 5 seconds -->   
   <meta http-equiv="refresh" content="5; URL=./sch2cap.pdf">
</head>
<body bgcolor="#ffffff">
        The rest of the body....
</body>


Thanks in advance for any suggestions/solutions. I have had good responses from this forum in the past, heres to hoping this is an easy one!

Sean
Back to top
View user's profile Send private message Send e-mail
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Tue May 31, 2005 9:27 am    Post subject: Re: HTML documents redirecting OpenOffice when loaded Reply with quote

coldwinston wrote:
When I attempt to open HTML documents in OpenOffice, any documents containing a <meta http-equiv="refresh"> tag redirect OpenOffice to another document, despite all my efforts to stop them! I have disabled the hyperlink setting in the Thanks in advance for any suggestions/solutions. I have had good responses from this forum in the past, heres to hoping this is an easy one!

Sean


You might first open in a simple text editor and change that line to a comment line.

You might try using an open source program like NVU, mentioned several times in this forum.

David.
Back to top
View user's profile Send private message
coldwinston
General User
General User


Joined: 17 Jan 2005
Posts: 14

PostPosted: Wed Jun 01, 2005 6:46 am    Post subject: Reply with quote

Thanks for your quick reply David,

Quote:
You might first open in a simple text editor and change that line to a comment line.


Unfortunately the HTML pages are read-only. Also, there are a lot of them and many of them are transient so modifying them manually is not really feasible.

The perfect solution for me would be for the HTML tags to be ignored altogether - not rendered, nor dumped onto the screen with the text. But thats probably a lot to ask for. All I really need is for OpenOffice to refuse redirect calls from files.

I'm surprised it allows it anyway, surely nobody would have a use for this feature in OpenOffice (At least not when loading a file)!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group