Forum Moderators: open

Message Too Old, No Replies

ASP & text file includes

         

fintan

5:31 pm on Nov 27, 2002 (gmt 0)

10+ Year Member



Hi I was wondering is there away to force structure on an include text file.

BlobFisk

5:39 pm on Nov 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Fintan,

I'm must admit to being a bit confused (happens a lot to me :) ) - in what way do you mean forcing structure on the include file?

fintan

9:05 am on Nov 28, 2002 (gmt 0)

10+ Year Member



I would of wrote more but I was on my way home.

I'm running an asp page and I want to put an include in the page. Now this include is a *.txt file. Basically I want someone else to have the txt file and for them to update the include when ever they see fit. Now with css I can effect the text size and font. But I want to be able to add structure to it say after every 12th word put in a line break and after every 5th line put in a paragraph.

When you break it down I don't want to be bothered with people every 4 weeks saying will you do this and will you do that, just so they can update the text on there part of the Intranet site.

DaveN

9:24 am on Nov 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



parse the txt through a filter.

start txt file.

read each character/word -> action

output new txt file

DaveN

fintan

3:02 pm on Nov 28, 2002 (gmt 0)

10+ Year Member



Could you elaborate a bit more on that please. If you could point me in right direction or an example would be great.
Thanks