Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Re: Text loading question Dec. 10, 2008 (http://www.velocityreviews.com/forums/t648090-re-text-loading-question-dec-10-2008-a.html)

Chris F.A. Johnson 12-10-2008 07:12 PM

Re: Text loading question Dec. 10, 2008
 
On 2008-12-10, E.D.G. wrote:
> Posted by E.D.G. December 10, 2008
>
> Is there an html command that can be used to get text in some file to
> automatically load into an html document in the same way that a picture file
> can be loaded with the <IMG SRC="URL"> command?
>
> Checking Web sites regarding presently available html commands it does not
> appear that such a text merging command exists. And it is surprising to me
> that this is the case.
>
> The goal is to have the same text appear within more than one html file just
> as the same picture file can appear in more than one file. Then when
> changes are needed in that text they can be made once in the original file.
> And when any of files containing a link to that text is displayed with a Web
> browser the text will automatically display in the correct location in that
> file.


It's not part of HTML, but you can use SSI (server-side includes):

<!--#include file="xx.html" -->

The server may require the including file to use an .shtml extension.


--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

houghi 12-10-2008 07:51 PM

Re: Text loading question Dec. 10, 2008
 
E.D.G. wrote:
>
>
> "Chris F.A. Johnson" <cfajohnson@gmail.com> wrote in message
> news:806cf$49401493$cef88ba3$30615@TEKSAVVY.COM...
>>
>> It's not part of HTML, but you can use SSI (server-side includes):
>>
>> <!--#include file="xx.html" -->

>
> Thanks. I will give it a try.


If that does not work, you can look if it has phpand use the include of
php.

houghi
--
Personally, I think most sports fans are a little "gay". They'd
rather watch a bunch of sweaty guys jumping all over eachother,
than, say fashion TV - where hot models walk down the runway.


All times are GMT. The time now is 08:15 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.