<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016933" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016933</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me#comment-1098609</link>
    <description> &lt;p&gt;Also you can do this using php includes&lt;br /&gt;
&amp;lt;? include(&quot;/path/to/text.txt&quot;)?&amp;gt;&lt;/p&gt;
&lt;p&gt;then eveytime you update/change the text file it is shown on the page&lt;/p&gt;
&lt;p&gt;Mika&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jan 2002 12:48:30 +0000</pubDate>
 <dc:creator>yabber</dc:creator>
 <guid isPermaLink="false">comment 1098609 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me#comment-1098603</link>
    <description> &lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; This is easy. In Perl, something like this would do the trick nicely. Perl is know for it&#039;s speed in file-handling.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;sub generate_random_text {&lt;br /&gt;&lt;br /&gt;	open (RANDOM,&amp;quot;&amp;lt;$RANDOM_FILE&amp;quot;) || die(&amp;quot;Could not open $RANDOM_FILE $!&amp;quot;);&lt;br /&gt;	@allrandom = &amp;lt;RANDOM&amp;gt;;&lt;br /&gt;	close(RANDOM);&lt;br /&gt;&lt;br /&gt;	$phrases = join(&amp;#039;&amp;#039;,@allrandom);&lt;br /&gt;&lt;br /&gt;	@phrases = split(/%%/,$phrases);&lt;br /&gt;&lt;br /&gt;	$random_text = $phrases[int rand @phrases];&lt;br /&gt;&lt;br /&gt;	return $random_text;&lt;br /&gt;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;You would then create a text file with your blocks of text in, each deliminated by a %%. This is a quick sample of how your file might look:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Random Text&lt;br /&gt;%%&lt;br /&gt;Another Random Text&lt;br /&gt;%% &lt;br /&gt;And another one&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Yes this is also possible. I assume you&#039;re looking to create a template, and then drop in plain text on a form and this will create a file out of your templates? I&#039;ve actually got a code similar to this already if you&#039;re interested. It would obviously need to be customised heavily, so give me a shout if interested.&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jan 2002 09:57:15 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1098603 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>More information</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me#comment-1098585</link>
    <description> &lt;p&gt;Actually the magazine is very large, consisting of atleast 30 articles per monthly issue.&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jan 2002 03:45:11 +0000</pubDate>
 <dc:creator>selie</dc:creator>
 <guid isPermaLink="false">comment 1098585 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me#comment-1098584</link>
    <description> &lt;p&gt;1. You can display any text dynamically on your page, if your host allows &quot;server includes&quot;.  If you want different text displayed from a group of texts, then you will need a script for this.&lt;/p&gt;
&lt;p&gt;2. Can be done in a lot of ways, but need more info.  How big are these magazines?  Is it just one page or a lot of pages?&lt;/p&gt;
&lt;p&gt;Let me know if this is/would be a paid.  You can email me or use the pm.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
 </description>
     <pubDate>Thu, 17 Jan 2002 03:43:00 +0000</pubDate>
 <dc:creator>Gurudev</dc:creator>
 <guid isPermaLink="false">comment 1098584 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
