-
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
-
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?
-
Ok, heres and example of a post
<!--start-->
<title><date>
<content>
<!--end-->
-
-
-
OK. To make life easier from this point on, pls zip and post a (full)
file containing the data, or, post the URL :)
-
How are you viewing the URL?
Are you using Webbrowser?
-
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.
-
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.
-
Ok, can you spcify wich major elements you want pased out into
TextBoxes? (HTML can be parsed)
-
Probably, if possible...
Title
Date
Body
Thanks!