Ask Your Question
0

why doesn't write support shtml files as html files [closed]

asked 2013-06-08 22:05:54 +0200

paldom gravatar image

SHTML Source Display on writer, like html

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-02 03:25:54.475678

Comments

Can you please provide greater detail? SHTML is simply a server-side include arrangement for HTML. Are you talking about the display of code on screen? How a HTML file is saved? Other options for INCLUDE statements?

oweng gravatar imageoweng ( 2013-06-09 00:24:58 +0200 )edit

I would like to be able to switch between the wysiwyg display and source html display for shtml files that contain include statements. This has been available in OpenOffice. I am now using LibreOffice because it is installed by default with both Ubuntu ans Linux Mint which I use. Being able to edit the html source without having to switch to a text editor is convenient and a time saver. Simple renaming the shtml file to html does not guarantee, proper browser function with includes.

paldom gravatar imagepaldom ( 2013-06-10 20:54:43 +0200 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2013-06-11 04:31:40 +0200

oweng gravatar image

This does appear to be a problem, however it is possibly several related problems. Given a basic file (b.html) that is to be included:

    <p>Here is some text to include.</p>

...and a parent file (a.shtml) that is to include this file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>page title</title>
</head>
<body>
<!--#include virtual="b.html" -->
</body>
</html>

The print view and web view both show the include as a comment. Renaming the parent file from a .shtml to .html extension makes no difference. To confirm, there is also no View > HTML Source menu option under v4.0.3.3, regardless of how the file is named. This is under GNU/Linux.

I could not find a related open bug, so please raise a bug and provide as much information about this new feature as possible. Please post a link to any bugs you file in a comment below using the format "fdo#123456".

Thanks!

edit flag offensive delete link more
0

answered 2013-06-09 00:23:33 +0200

mahfiaz gravatar image

Why don't you just rename your shtml files to html?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-08 22:05:54 +0200

Seen: 185 times

Last updated: Jun 11 '13