473,654 Members | 3,280 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 38263
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****@netscap e.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
9221
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 file line 4 of the text file line 5 of the text file
3
22644
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 resouce in the application be relevant in this situation. I know I can chage the build type to embedded resource but really dont know what this does. Besides that it embeds it in the assembly ;-). I'm pretty quick. How can I read the text file once...
3
1136
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 other storage means with it. Example (When I make a help button that pops up a window I want the info to reside in it). I am working with C# Any and all help is appreciated. Thank you in advance.
4
3429
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 able to further process the files, I need to insert some data at the BEGINNING of the text file. All the solutions I've seen either append the text to the end of the file, or overwrite the data at the start of the file, or read the entire file into...
4
7380
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 file. At the end of each record I insert a vbCrLf character in the text file to create a new line. Thus each record is in a new line. The problem is that I get a tab delimited text file where the LAST LINE in the text file is always a blank line....
3
2746
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: <DOCUMENT> ...... ...... some lead elements ...... <SEGMENT_LIST>
4
4504
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 : Exe='''R0lGODdhFQAVAPMAAAQ2PESapISCBASCBMTCxPxmNCQiJJya/ISChGRmzPz+/PxmzDQyZ DQyZDQyZDQyZCwAAAAAFQAVAAAElJDISau9Vh2WMD0gqHHelJwnsXVloqDd2hrMm8pYYiSHYfMMRm 53ULlQHGFFx1MZCciUiVOsPmEkKNVp3UBhJ4Ohy1UxerSgJGZMMBbcBACQlVhRiHvaUsXHgywTdyc ....'''
1
1638
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 format required to add a text file as a resource ??
1
4749
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 Visual Basic Script file, call it "Move and Reformat Text File.VBS," that will run from a Windows Script Host command-prompt-based version as follows: C:\> Cscript.exe "Move and Reformat Text File.VBS" The objective of the VBScript file, "Move...
10
3190
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, TEXT3in entire file(file consisting of 150 lines) that is related to a particular id and get the sum of the, WRITES of TEXT1, TEXT2, TEXT3 ex: input file will be as below Windows 2000 text text text text text text text
0
8376
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8708
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2716
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1596
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.