By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,988 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,988 IT Pros & Developers. It's quick & easy.

HTML include?

P: n/a

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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
>
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.