Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

text file embedded in html page

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Server Side redirection issue in IIS 6.0  
Author Message
andy1

External


Since: Aug 25, 2003
Posts: 31



(Msg. 1) Posted: Thu Dec 30, 2004 4:35 am
Post subject: text file embedded in html page
Archived from groups: alt>www>webmaster (more info?)

Hi

I would like to show a real time updated text file on a web site.

The way I wish to do this is to create my web page and insert the
content as a text file that is writable on the fly by a CGI script.
That part I can do but getting the text file embedded is proving hard
for me. being a bit thick Smile

Any help appreciated

thanks in advance
Regards Andy T



--
For users by users - BY-users group
<http://www.by-users.co.uk>

 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
skociskoci

External


Since: Dec 30, 2004
Posts: 1



(Msg. 2) Posted: Thu Dec 30, 2004 11:35 am
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Andy T" <andy.DeleteThis@westmidland-internet.co.uk> wrote in message
news:evl6t01f549ve3n0fqqtt7glde6ir3d6e4@4ax.com...
 > Hi
 >
 > I would like to show a real time updated text file on a web site.
 >
 > The way I wish to do this is to create my web page and insert the
 > content as a text file that is writable on the fly by a CGI script.
 > That part I can do but getting the text file embedded is proving hard
 > for me. being a bit thick Smile
 >
 > Any help appreciated
 >
 > thanks in advance
 > Regards Andy T
 >
 >
 >
 > --
 > For users by users - BY-users group
 > <http://www.by-users.co.uk>

Maybe if you displayed it in a iframe<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
nospam62

External


Since: Apr 24, 2004
Posts: 86



(Msg. 3) Posted: Thu Dec 30, 2004 12:35 pm
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Andy T <andy.RemoveThis@westmidland-internet.co.uk> wrote:
 > Hi
 >
 > I would like to show a real time updated text file on a web site.
 >
 > The way I wish to do this is to create my web page and insert the
 > content as a text file that is writable on the fly by a CGI script.
 > That part I can do but getting the text file embedded is proving hard
 > for me. being a bit thick Smile

Don't know if this will help you or not, as it's been awhile since I'd messed
with it (and then it wouldn't work with IE, it was a netscape extension so
it's probably useless)

Anyhow.. google for "server push" it involved sending the HTTP response
as a multi-part mime message. Wouldn't recommend it for anything serious
though, (even if it did work for you, the server process needs to hang
around feeding it data, this is a serious problem if you had 50 visitors
or more reading the same page, but it's OK for viewing log files on some
server some place as an admin function)

The other thing to google for is "Refresh" or "server pull" you might be
able to set it up (using an [i]frame or whole new page) that refreshes every
few seconds not real-time, but pretty close. This is slightly better if
you had more visitors because you can set the refresh rate. (Hint: if
the log hasn't changed since the last refresh, you should send the HTTP
response code for "no content")

Those are the 2 ideas I have, hopefully someone will have something better.

Jamie
--
<a style='text-decoration: underline;' href="http://www.geniegate.com" target="_blank">http://www.geniegate.com</a> Custom web programming
guhzo_42.RemoveThis@lnubb.pbz (rot13) User Management Solutions<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
spamblocked

External


Since: Sep 14, 2004
Posts: 588



(Msg. 4) Posted: Fri Dec 31, 2004 9:35 am
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <evl6t01f549ve3n0fqqtt7glde6ir3d6e4 RemoveThis @4ax.com>,
andy RemoveThis @westmidland-internet.co.uk says...
 >...
 >I would like to show a real time updated text file on a web site.

do you mean constantly updated without user action?

 >The way I wish to do this is to create my web page and insert the
 >content as a text file that is writable on the fly by a CGI script.

the script runs when the page is called or is driven by some other
process?

 >That part I can do but getting the text file embedded is proving hard
 >for me.

Embedding a text file is the easy bit - options depend on your server
resources - constant refreshing is gonna be a problem that requires a
little thought.

--
William Tasso ------ read, read again, only then post:
<a style='text-decoration: underline;' href="http://www.aww-faq.org/" target="_blank">http://www.aww-faq.org/</a>
<a style='text-decoration: underline;' href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>
<a style='text-decoration: underline;' href="http://groups-beta.google.com/group/alt.www.webmaster" target="_blank">http://groups-beta.google.com/group/alt.www.webmaster</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
andy1

External


Since: Aug 25, 2003
Posts: 31



(Msg. 5) Posted: Fri Dec 31, 2004 7:35 pm
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 31 Dec 2004 14:03:26 -0000, William Tasso
<SpamBlocked.TakeThisOut@tbData.com> wrote:

 >In article <evl6t01f549ve3n0fqqtt7glde6ir3d6e4.TakeThisOut@4ax.com>,
 >andy@westmidland-internet.co.uk says...
  >>...
  >>I would like to show a real time updated text file on a web site.
 >
 >do you mean constantly updated without user action?


Partly Smile

I have a script that writes to a text file. I wish THAT file to be
made available as HTML BUT as it will be changing as users register
<a style='text-decoration: underline;' href="http://www.8thrallycross.co.uk/bnb/bnbform.html" target="_blank">http://www.8thrallycross.co.uk/bnb/bnbform.html</a>


 >
  >>The way I wish to do this is to create my web page and insert the
  >>content as a text file that is writable on the fly by a CGI script.
 >
 >the script runs when the page is called or is driven by some other
 >process?

script driven by form mail script!
 >
  >>That part I can do but getting the text file embedded is proving hard
  >>for me.
 >
 >Embedding a text file is the easy bit - options depend on your server
 >resources - constant refreshing is gonna be a problem that requires a
 >little thought.

I have used programs before called newspro but I THINK the Author
stopped development. I will be digging that out if I can remember the
name to search Smile
I am sure I can do it with that but thought dreamweaver or some other
technology might have an easier and quicker way of doing things.

thanks for your replies



Regards Andy T



--
For users by users - BY-users group
<http://www.by-users.co.uk><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
spamblocked

External


Since: Sep 14, 2004
Posts: 588



(Msg. 6) Posted: Fri Dec 31, 2004 8:35 pm
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <6opbt05n7dg1cvmfclmbts1lb48d52kqnl.DeleteThis@4ax.com>,
andy.DeleteThis@westmidland-internet.co.uk says...
 >...
 >I have a script that writes to a text file. I wish THAT file to be
 >made available as HTML BUT as it will be changing as users register
 >http://www.8thrallycross.co.uk/bnb/bnbform.html

The text file is a list of registered people?

ok - first off try a google for 'include one file in another' see if
that turns up anything that will work on your server.

--
William Tasso ------ read, read again, then post:
<a style='text-decoration: underline;' href="http://www.aww-faq.org/" target="_blank">http://www.aww-faq.org/</a>
<a style='text-decoration: underline;' href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>
<a style='text-decoration: underline;' href="http://groups-beta.google.com/group/alt.www.webmaster" target="_blank">http://groups-beta.google.com/group/alt.www.webmaster</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
andy1

External


Since: Aug 25, 2003
Posts: 31



(Msg. 7) Posted: Sat Jan 01, 2005 6:35 am
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 1 Jan 2005 00:48:40 -0000, William Tasso
<SpamBlocked DeleteThis @tbData.com> wrote:

 >In article <6opbt05n7dg1cvmfclmbts1lb48d52kqnl DeleteThis @4ax.com>,
 >andy@westmidland-internet.co.uk says...
  >>...
  >>I have a script that writes to a text file. I wish THAT file to be
  >>made available as HTML BUT as it will be changing as users register
  >>http://www.8thrallycross.co.uk/bnb/bnbform.html
 >
 >The text file is a list of registered people?
 >
 >ok - first off try a google for 'include one file in another' see if
 >that turns up anything that will work on your server.


I used to use newspro. It seems to have been modernised and called
coranto BUT the web site <a style='text-decoration: underline;' href="http://coranto.gweilo.org/" target="_blank">http://coranto.gweilo.org/</a> comes up with a
band width problem (too much turkey i assume Smile

When it works again I think this will be the easist way of including
it AND it will be editable via browser (by the list admin) in case
some one drops out which will be cool Smile

When I used newspro I thought it was out of this world and allowed
updates by non web savy people (not that I am that good though) Smile
even so it took a lot of manual updating daily work away from
me......even cooler Smile

Thanks again for your help!


Regards Andy T



--
For users by users - BY-users group
<http://www.by-users.co.uk><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
andy1

External


Since: Aug 25, 2003
Posts: 31



(Msg. 8) Posted: Sun Jan 02, 2005 5:35 pm
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 1 Jan 2005 00:48:40 -0000, William Tasso
<SpamBlocked.DeleteThis@tbData.com> wrote:

 >In article <6opbt05n7dg1cvmfclmbts1lb48d52kqnl.DeleteThis@4ax.com>,
 >andy@westmidland-internet.co.uk says...
  >>...
  >>I have a script that writes to a text file. I wish THAT file to be
  >>made available as HTML BUT as it will be changing as users register
  >>http://www.8thrallycross.co.uk/bnb/bnbform.html
 >
 >The text file is a list of registered people?
 >
 >ok - first off try a google for 'include one file in another' see if
 >that turns up anything that will work on your server.


Thanks William That made me get off my arse and seek out my old
program. I did NOt need this BUT it did show me how to include a
simple SSI which I knew how to do but had forgotten Smile

What I need now is another simple tutorial that shows me how to
autmatically import a flat file (delimited) into an SQL database as
the format of the text file I am writing to is asthetically poor AND
has more info that I wish to place in the HTML file for all to see.!

any offers anyone Smile


will be off looking in the mean time.
Regards Andy T



--
For users by users - BY-users group
<http://www.by-users.co.uk><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
spamblocked

External


Since: Sep 14, 2004
Posts: 588



(Msg. 9) Posted: Sun Jan 02, 2005 7:35 pm
Post subject: Re: text file embedded in html page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <2lrgt0hpqj9hrsjto8kn3eit0n3dt5jffv.DeleteThis@4ax.com>,
andy.DeleteThis@westmidland-internet.co.uk says...
 >On Sat, 1 Jan 2005 00:48:40 -0000, William Tasso
 ><SpamBlocked.DeleteThis@tbData.com> wrote:
 >
  >>In article <6opbt05n7dg1cvmfclmbts1lb48d52kqnl.DeleteThis@4ax.com>,
  >>andy@westmidland-internet.co.uk says...
   >>>...
   >>>I have a script that writes to a text file. I wish THAT file to be
   >>>made available as HTML BUT as it will be changing as users register
   >>>http://www.8thrallycross.co.uk/bnb/bnbform.html
  >>
  >>The text file is a list of registered people?
  >>
  >>ok - first off try a google for 'include one file in another' see if
  >>that turns up anything that will work on your server.
 >
 >
 >Thanks William That made me get off my arse and seek out my old
 >program. I did NOt need this BUT it did show me how to include a
 >simple SSI which I knew how to do but had forgotten Smile

ok - cool.

 >What I need now is another simple tutorial that shows me how to
 >autmatically import a flat file (delimited) into an SQL database

I would use DTS But not everyone has access to SQL Server.


as
 >the format of the text file I am writing to is asthetically poor AND
 >has more info that I wish to place in the HTML file for all to see.!

Sure you need SQL for that? Any competent scripting language should be
able to parse a text file and prepare it for presentation on a web page.

--
William Tasso ------ read, read again, then post:
<a style='text-decoration: underline;' href="http://www.aww-faq.org/" target="_blank">http://www.aww-faq.org/</a>
<a style='text-decoration: underline;' href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>
<a style='text-decoration: underline;' href="http://groups-beta.google.com/group/alt.www.webmaster" target="_blank">http://groups-beta.google.com/group/alt.www.webmaster</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: text file embedded in html page 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Changing text from one colour to another via HTML - A few months ago, I came across some coding to change a word or phrase from one colour to another gradually, something like this: <something here>word or phrase</something> The "w" in "word" would be the first colour, th...

IE not displaying top line of text on new web page - I have revamped our website using CSS instead of frames. I have a problem where the line of text above the picture does not display until you cursor over the picture. See link below: http://www.kidzkargo.co.uk/specialte.shtml This only happens in IE no...

How To remotely change of text only of WEB page...? - Hello All, What is the easiest way of allowing a client to modify the *text* of WEB pages without actually having them send me the text and me putting up the changed WEB page? So, the idea is, that the format and images and style of the WEB page cannot...

How Is a HTML- Page Like This Made? - How is such a page made? http://www.audiotoy.com/realaudiodownload/ Is it done by a program or by hand. Any information would be appreciated. Thanks!

How do you post HTML to a page? - how do you show HTML code on a page without the page executing the code. I want to write the cut and paste code to my banners onto my page. <a href="http://www.homepokergames.com" target="new"><img src="http://www.homep...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]