|
Posted by dorayme on 04/18/07 21:43
In article
<1176924860.060440.238080@e65g2000hsc.googlegroups.com>,
dtomasch <danieltomasch@gmail.com> wrote:
> Sorry for the newb-type question, but:
>
> is there a way to include a text files as a src?
>
> In other words, in the the way you would use the <img src=> tag to
> imbed an image which then renders where you tell it to, similarly is
> there a tag or way to imbed a .txt file into your page like this?
>
> The real point is I want to be able to have someone update the text on
> a site, but not need to delve into the actual html file to do so.
>
Basically no, for what you want or are imagining. You can include
text in an html doc by way of "server side includes" (the
different methods of doing this have their own syntax, you can
look all up). This means that you can have a text file on the
server and by means of an include statement have it appear where
you want in the html doc. Any change, day to day, to this text
doc will be reflected in the html doc - of course. But to change
the text doc, one still needs to access it on the server and so
whoever is charged with changing the text would need to also be
able to access it on a server and this might be bringing in
complications you want to avoid.
The other way is to put in a Content Management System. This is
more complicated.
--
dorayme
[Back to original message]
|