473,394 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

HTML include?


Does HTML have an include file feature?

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.20.6
^ ^ 18:14:01 up 1 day 1:05 0 users load average: 1.07 1.04 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
Apr 8 '07 #1
7 11279
Man-wai Chang <to**********@gmail.comwrites:
Does HTML have an include file feature?
HTML doesn't, but your server probably does - look in its docs for "Server
Side Includes", or SSI.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Apr 8 '07 #2
>
HTML doesn't, but your server probably does - look in its docs for "Server
Side Includes", or SSI.
Too bad the standard doesn't have it.. :)

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.20.6
^ ^ 18:43:01 up 1 day 1:34 0 users load average: 1.03 1.04 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
Apr 8 '07 #3
Scripsit Man-wai Chang:
>HTML doesn't, but your server probably does - look in its docs for
"Server Side Includes", or SSI.

Too bad the standard doesn't have it.. :)
The standard (the ISO HTML standard, based on the ISO SGML standard) has it,
and even the "standards" (IETF HTML 2.0 and W3C HTML specifications) have
it. Inclusion is a standard SGML feature, though somewhat esoteric (you
define the included data as an "entity" and use an entity reference).

It's just browsers that refused to implement HTML as an SGML application.

It's common to declare this defect as a virtue and claim that HTML was never
meant to allow inclusion.

P.S. Please don't use Big5 encoding in international groups.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Apr 8 '07 #4
It's just browsers that refused to implement HTML as an SGML application.
It's common to declare this defect as a virtue and claim that HTML was
never meant to allow inclusion.
It should be a web server issue, rather a browser...
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.20.6
^ ^ 15:46:01 up 1 day 22:37 1 user load average: 1.02 1.01 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
Apr 9 '07 #5
On Sun, 08 Apr 2007 18:44:29 +0800, Man-wai Chang
<to**********@gmail.comwrote:
>Too bad the standard doesn't have it.. :)
No, it's a good thng the HTML recommendation doesn't have it.

* It doesn't belong in a document format. The recommendation
represents a "wire format" for the document, not a statement of how it's
produced. There's simply no need to describe it here.

* if it were in the HTML recommendation, it would include all sorts of
details of filesystems, server architecture etc. This would introduce
extra dependencies into the HTML recommendation. It would also be hard
to describe for the many different possible servers.
Apr 9 '07 #6
Does HTML have an include file feature?

No, but Server side includes (SSI), PHP, ASP
etc. all have functionality that can do this.

Most webhosts (but not ISPs I suppose)
support one of above.
--
best regards
Thomas Schulz
http://www.micro-sys.dk/products/sitemap-generator/
http://www.micro-sys.dk/products/website-analyzer/
Apr 9 '07 #7
Man-wai Chang wrote:
>It's just browsers that refused to implement HTML as an SGML application.
It's common to declare this defect as a virtue and claim that HTML was
never meant to allow inclusion.
It should be a web server issue, rather a browser...
Why should a piece of software designed to serve up (among other things)
SGML documents for clients to process perform SGML processing itself?

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Apr 11 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: David Johnson | last post by:
I am looking for a way to combine the functionality of "include" and "here documents" so that an included html file containing $variables is expanded and handled (normally printed to stdout). It...
10
by: Andrew | last post by:
I am making a web site and I am using ASP because of its templating capabilities. My footer is an include file, for obvious reasons. I can't use an include file for the header, because, while the...
7
by: Sherry Littletree | last post by:
Hi All I am working on a site that has a large amount of common html on all its web pages. I am looking for a way to place this in a single file so, if changes are made, I can change this...
7
by: Steve Bugden | last post by:
Hi, I am trying to reference an html page from an aspx file. The intention is that the html file will contain the content for my web site and the aspx will contain the navigation, logo etc. Then...
2
by: Asterbing | last post by:
Hi all. I'm trying and don't succeed to include an HTML page into another without any border nor visible scroll-bar. Even if I would like something which will work under Netscape too, at this...
2
by: CM | last post by:
Hi, Could anyone please help me? I am completing my Master's Degree and need to reproduce a Webpage in Word. Aspects of the page are lost and some of the text goes. I would really appreciate it....
19
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function myFunc(val1ok, val2ok) ' do something ok myFunc = " return something ok" End Function </script>
1
by: ningjun.wang | last post by:
I need to include to static html files in my asp.net page. The order of include depend on query string. Here is the pseudo code mypage.aspx: <% string mode = Request; if (mode == "A") {...
4
by: Kevin G. | last post by:
Hello all, I have a flat HTML page with 3 distinct HTML tables, and I'm trying to randomly display the tables when the page loads, without repeating. My idea is to use the PHP include() function...
42
by: Santander | last post by:
how to decode HTML pages encoded like this: http://www.long2consulting.com/seeinaction2008/Simplicity_Beach_table/index.htm Is there script that will do this automatically and generate normal fully...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.