467,171 Members | 1,248 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,171 developers. It's quick & easy.

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
  • viewed: 11184
Share:
7 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by David Johnson | last post: by
7 posts views Thread by Sherry Littletree | last post: by
7 posts views Thread by Steve Bugden | last post: by
1 post views Thread by ningjun.wang@lexisnexis.com | last post: by
4 posts views Thread by Kevin G. | last post: by
42 posts views Thread by Santander | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.