I am trying with little luck to find a snippet, or write one for that matter. All it needs to do is look into a specified folder for the random.txt. Javascript is prefered. I can do this with just pictures, links, and txt.

I am trying to allow it to pull a section out of a txt file written in the html format like:


<center>
<img src="images/pic.gif>
<p>
<a href="index.html">
Click here for details
</a>
</center>

just a few lines for each entry.

seperated by a blank line perhaps or a determined set of characters like &*& of something

It will pull this and place it into the <body> of a file

Does this make sense?

Thanks in advance

be safe and stay free