473,397 Members | 1,949 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,397 software developers and data experts.

Embedding a text file

Hi there. I'm writing a web site for my dad and I'm trying to embed
text from an external file into the document - I need a frames section
and a non-frames section and when one is changed it would be so much
easier if I didn't have to go through the code to change the content
every time my dad changed something. Any way to embed text?

Thanks,
Samir Talwar
Jul 20 '05 #1
4 38199
Samir Talwar wrote:
I'm writing a web site for my dad and I'm trying to embed
text from an external file into the document - I need a frames section
and a non-frames section and when one is changed it would be so much
easier if I didn't have to go through the code to change the content
every time my dad changed something. Any way to embed text?

http://www.allmyfaqs.com/cgi-bin/wik...ile_in_another

http://www.htmlhelp.com/faq/html/des...l#include-file

--
Brian
follow the directions in my address to email me

Jul 20 '05 #2
Samir Talwar wrote:
Hi there. I'm writing a web site for my dad and I'm trying to embed
text from an external file into the document - I need a frames section
and a non-frames section and when one is changed it would be so much
easier if I didn't have to go through the code to change the content
every time my dad changed something. Any way to embed text?


The way it is meant to be:

<div>
<object data="plain.txt" type="text/plain"
width="100%" style="height: 10em">
<a href="plain.txt">Embedded Text Document</a>
</object>
</div>

Set width and height accordingly (I've used CSS to specify the height).

--
Stanimir

Jul 20 '05 #3
So there is no real way to embed text into a web page. Thanks anyway!
Samir Talwar

Stanimir Stamenkov <s7****@netscape.net> wrote in message news:<bm************@ID-207379.news.uni-berlin.de>...
Samir Talwar wrote:
Hi there. I'm writing a web site for my dad and I'm trying to embed
text from an external file into the document - I need a frames section
and a non-frames section and when one is changed it would be so much
easier if I didn't have to go through the code to change the content
every time my dad changed something. Any way to embed text?


The way it is meant to be:

<div>
<object data="plain.txt" type="text/plain"
width="100%" style="height: 10em">
<a href="plain.txt">Embedded Text Document</a>
</object>
</div>

Set width and height accordingly (I've used CSS to specify the height).

Jul 20 '05 #4
Samir Talwar wrote:
So there is no real way to embed text into a web page.


no - the 'way' is virtual as explained in replies to you o/p

for 'real' embedding you need an axe
--
William Tasso - http://WilliamTasso.com
Jul 20 '05 #5

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

Similar topics

1
by: Rigga | last post by:
Hi, I am new to Python and need to parse a text file and cut parts out i.e. say the text file contained 5 rows of text: line 1 of the text file line 2 of the text file line 3 of the text...
3
by: Ron Vecchi | last post by:
I have a text file(.js) that holds a buch of java script code that is rendered in some web controls all part of a larger webcontrol library. The file is rather large. Would embedding this...
3
by: MikeY | last post by:
I am trying to figure out if there is a way of storing information within the .exe. TextFile or other storage means, so that when I transport my application I don't need to take the text file or...
4
by: AHP | last post by:
Hi, I'm using Visual Studio 2005. I am developing a web application that uses the FileUpload control to upload text files to a directory on a webserver. This works fine. However, for me to be...
4
by: Andyza | last post by:
I'm using FileSystemObject to open and write to a tab delimited text file. First, I connect to a database and select some data. Then I create the text file and insert each record in the text...
3
by: R. P. | last post by:
Subject: XSLT to transform a flat XML file into a structured text file I have an XML file that lists the PDF file segment names and titles of a larger document and looks something like this: ...
4
by: Bayazee | last post by:
hi how i can Embed an exe file in python program ? i want read an exe file then convert it to base64 and store in a string format and Embedd in python code such this : ...
1
by: Jon Paal | last post by:
trying to embed a text file as a resource when compiling with vbc.exe /resource: "readme.txt" error returned is asking for <resinfo> what is "<resinfo" and what is correct command line...
1
by: Osoccer | last post by:
...to a different folder and in the relocated file concatenates all of the lines in one long string with a space between each line element. Here is a fuller statement of the problem: I need a...
10
by: bluemountain | last post by:
Hi there, Iam new to python forms and programming too I had a text file where i need to extract few words of data from the header(which is of 3 lines) and search for the keyword TEXT1, TEXT2,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.