|
-
Dec 3rd, 2002, 02:42 AM
#1
Thread Starter
Member
text in text boxes.
Hi.
I have been pondering how to do this but cannot come up with a decent way.
Basically I have a news posting program which write everything to a single txt file. There is no real way of editing posts unless you just open the file it writes everything to. I am wondering if there is a way to read the txt file and split the posts into dynamically created text boxes?
I hope this make some sense. 
Matt
-
Dec 3rd, 2002, 03:00 AM
#2
Splitting isn't such an issue if you have some (CONSTANT) points to split at.
Can you post an excerpt of the post, and identify the key split points?
-
Dec 3rd, 2002, 03:06 AM
#3
Thread Starter
Member
Ok, heres and example of a post
<!--start-->
<title><date>
<content>
<!--end-->
-
Dec 3rd, 2002, 03:09 AM
#4
-
Dec 3rd, 2002, 03:14 AM
#5
Thread Starter
Member
-
Dec 3rd, 2002, 03:19 AM
#6
OK. To make life easier from this point on, pls zip and post a (full)
file containing the data, or, post the URL
-
Dec 3rd, 2002, 03:23 AM
#7
How are you viewing the URL?
Are you using Webbrowser?
-
Dec 3rd, 2002, 03:24 AM
#8
Thread Starter
Member
I am at work currently, so I'm unable to upload anything, but I can post the actual file im using.
http://www.drownedmonkey.com/news.txt
thats how the program writes to the file.
-
Dec 3rd, 2002, 03:26 AM
#9
Thread Starter
Member
Basically my program, writes to a txt file, then uploads the txt file to the webserver, then it just uses SSI to show the data on the page. Not very complex, but pretty useful.
-
Dec 3rd, 2002, 03:32 AM
#10
Ok, can you spcify wich major elements you want pased out into
TextBoxes? (HTML can be parsed)
-
Dec 3rd, 2002, 03:37 AM
#11
Thread Starter
Member
Probably, if possible...
Title
Date
Body
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|