<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000884" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000884</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/selective-searching#comment-1003766</link>
    <description> &lt;p&gt;Nice coding Japhy,&lt;/p&gt;
&lt;p&gt;may I invite you to participate in TWF&#039;s BB project @ &lt;a href=&quot;http://www.Boardzilla.org&quot; class=&quot;bb-url&quot;&gt;www.Boardzilla.org&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Later,&lt;/p&gt;
&lt;p&gt;Malte&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;strong&gt;Malte Ubl - &lt;a href=&quot;http://www.Boardzilla.org&quot; class=&quot;bb-url&quot;&gt;www.Boardzilla.org&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
Communication:  public&amp;lt;-&amp;gt;programmers&lt;br /&gt;
of the &lt;strong&gt;Boardzilla BB&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 18 Dec 1999 23:36:00 +0000</pubDate>
 <dc:creator>Malte</dc:creator>
 <guid isPermaLink="false">comment 1003766 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/selective-searching#comment-1003765</link>
    <description> &lt;p&gt;Thanks very much.&lt;/p&gt;
 </description>
     <pubDate>Sat, 18 Dec 1999 18:47:00 +0000</pubDate>
 <dc:creator>Maverick</dc:creator>
 <guid isPermaLink="false">comment 1003765 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/selective-searching#comment-1003764</link>
    <description> &lt;p&gt;To see a much better example (I fixed the code up considerably), please go to this URL: &lt;a href=&quot;http://www.pobox.com/~japhy/perl/forum_examples&quot; class=&quot;bb-url&quot;&gt;http://www.pobox.com/~japhy/perl/forum_examples&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The directory is the one that says &quot;maverick&quot;.  In there are a couple mock HTML files, and a program that displays their titles, descriptions, and a link to each.&lt;/p&gt;
&lt;p&gt;I&#039;ll be working on it -- email me (or post in this forum) any questions, comments, concerns you have.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
--&lt;br /&gt;
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve&lt;/p&gt;
 </description>
     <pubDate>Thu, 16 Dec 1999 22:34:00 +0000</pubDate>
 <dc:creator>japhy</dc:creator>
 <guid isPermaLink="false">comment 1003764 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/selective-searching#comment-1003763</link>
    <description> &lt;p&gt;I&#039;m not totally sure I understand &lt;em&gt;problem&lt;/em&gt; in this case... is it that each HTML page has a common section that you don&#039;t want displayed as &quot;description&quot;; you&#039;d rather skip ahead to where the actual content begins?&lt;/p&gt;
&lt;p&gt;If so, this solution might work well for you:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Code Sample:&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;open FILE, &amp;quot;some.html&amp;quot; or&lt;br /&gt;&amp;nbsp; die &amp;quot;can&amp;#039;t open some.html: $!&amp;quot;;&lt;br /&gt;{ # this slurps the ENTIRE file into&lt;br /&gt;&amp;nbsp; # a scalar variable (quickly, too!)&lt;br /&gt;&amp;nbsp; local $/;&lt;br /&gt;&amp;nbsp; $file = &amp;amp;lt;FILE&amp;amp;gt;;&lt;br /&gt;}&lt;br /&gt;close FILE;&lt;br /&gt;&lt;br /&gt;$endcommon = &amp;amp;lt;&amp;amp;lt; &amp;#039;END&amp;#039;;&lt;br /&gt;This should be a string holding the END of&lt;br /&gt;the &amp;quot;common sidebar&amp;quot; thing, or whatever.&amp;nbsp; As&lt;br /&gt;soon as this string is found, the VERY NEXT&lt;br /&gt;character in the file will be a candidate for&lt;br /&gt;the description.&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;if (($p = index($file,$endcommon)) != -1) {&lt;br /&gt;&amp;nbsp; while (length($descrip) &amp;amp;lt; 200) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $descrip = substr($file,$p,200);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $p += 200;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # get next 200 chars&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # NOTE: THIS IS A VERY POOR HTML TAG&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # STRIPPING ROUTINE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # it &amp;quot;breaks&amp;quot; for:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # &amp;amp;lt;img src=&amp;quot;foo.gif&amp;quot; alt=&amp;quot; ---&amp;amp;gt; &amp;quot;&amp;amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $descrip =~ s/&amp;amp;lt;[^&amp;amp;gt;]*&amp;amp;gt;//g;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; $descrip .= &amp;quot;...&amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;$descrip | |= &amp;quot;No description&amp;quot;;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;------------------&lt;br /&gt;
--&lt;br /&gt;
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve&lt;/p&gt;
&lt;p&gt;[This message has been edited by japhy (edited 16 December 1999).]&lt;/p&gt;
 </description>
     <pubDate>Thu, 16 Dec 1999 21:57:00 +0000</pubDate>
 <dc:creator>japhy</dc:creator>
 <guid isPermaLink="false">comment 1003763 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
