<div>Why not put the data in a database? </div><div><br></div><div>That way you'll be able to get a random (or just about any)</div><div>poem with a single file.</div><div><br></div><div>Unfortunately I can't help you with asp (never used it), </div>
<div>but you could take a look at the following for some reference:</div><div><a href="http://net.tutsplus.com/tutorials/databases/sql-for-beginners/">http://net.tutsplus.com/tutorials/databases/sql-for-beginners/</a></div>
<div><a href="http://www.w3schools.com/aspnet/aspnet_dbconnection.asp">http://www.w3schools.com/aspnet/aspnet_dbconnection.asp</a></div><div><br></div><div>Also, as mentioned earlier, you could use Javascript and either </div>
<div>link to the file or embed it with a frame or what-not.</div><div><br></div><div>With some clever naming convention of your files (e.g. poem1.doc, poem2.doc, etc.),</div><div>you could use something like (alert: pseudo-code):</div>
<div><br></div><div>// get a random number between 1 and 100 </div><div>// (of course, this should map to your filenames in some way)</div><div>var article_id = <span style="background-color:rgb(255,255,255);font-family:'courier new';font-size:13px">Math.floor((Math.random()*100));</span></div>
<div><span style="background-color:rgb(255,255,255);font-family:'courier new';font-size:13px"><br></span></div><div>// and here you pull it in with ajax, or simply just create a link node in the html
</div><div>var article = ....</div><div><br></div><div>//Marcus</div><div><br></div><div><br><div class="gmail_quote">2012/5/7 R David Paine III / WeirDave <span dir="ltr"><<a href="mailto:weirdave@aol.com" target="_blank">weirdave@aol.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font color="black" size="3" face="Tahoma, Arial, Helvetica, sans-serif"><font size="3"><font face="Tahoma, Arial, Helvetica, sans-serif">I am a casual web developer with simplistic sites that I work on for barter. My personal website has been up for over two decades and still has pretty decent traffic, but I would like to increase </font></font><font size="3"><font face="Tahoma, Arial, Helvetica, sans-serif">that by including my poetry on the website but I don't feel like making a page for each poem as I have a couple of hundred. I was wondering if there was a way to randomly include from a folder of my works a poem a day or something like that. I have them in word doc format and text at the moment. I used ASP to make formatting easier and have been using it in its simple form for awhile and I am certain there are more advanced features I am certain I am missing. Any assistance would be appreciated.</font></font><span class="HOEnZb"><font color="#888888"><font face="Tahoma, Arial, Helvetica, sans-serif" size="3" color="black">
<div> <br>
</div>
<div> <br>
</div>
<div style="clear:both">R David Paine III / WeirDave<br>
<a href="mailto:weirdave@aol.com" target="_blank">weirdave@aol.com</a><br>
Find me at <a style="color:#336699;text-decoration:none" href="http://about.me/weirdave" target="_blank">about.me/weirdave and http://www.weirdave.com<br>
</a></div>
</font><font size="3"><font face="Tahoma, Arial, Helvetica, sans-serif"></font></font></font></span></font><br>_______________________________________________<br>
Help mailing list<br>
<a href="mailto:Help@lists.whatwg.org">Help@lists.whatwg.org</a><br>
<a href="http://lists.whatwg.org/listinfo.cgi/help-whatwg.org" target="_blank">http://lists.whatwg.org/listinfo.cgi/help-whatwg.org</a><br>
<br></blockquote></div><br></div>