<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001020" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001020</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004355</link>
    <description> &lt;p&gt;Is your website in a Cobalt server? Cobalt server is known to have problems with CGI scritps due to CGI Wapper. That might be the problem. Check with the server admin.&lt;/p&gt;
&lt;p&gt;I do not think the script is the problem...&lt;/p&gt;
 </description>
     <pubDate>Wed, 15 Mar 2000 07:53:00 +0000</pubDate>
 <dc:creator>orlando_5</dc:creator>
 <guid isPermaLink="false">comment 1004355 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004354</link>
    <description> &lt;p&gt;you could just stop using CGI.pl&lt;/p&gt;
 </description>
     <pubDate>Wed, 15 Mar 2000 02:41:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004354 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004353</link>
    <description> &lt;p&gt;A prophet? Yup, netscape it is.&lt;/p&gt;
&lt;p&gt;Actually LWP is working fine.  I know that only because i use it on other scripts.  How would i be able to find out what version of cgi.pm i have?&lt;br /&gt;
Also, if i use mirror instead of get, i actually get the output i want, but i&#039;ll pretty much go crazy if i don&#039;t find out why this script doesn&#039;t work as it is.&lt;/p&gt;
 </description>
     <pubDate>Wed, 15 Mar 2000 00:18:00 +0000</pubDate>
 <dc:creator>Gage</dc:creator>
 <guid isPermaLink="false">comment 1004353 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004352</link>
    <description> &lt;p&gt;Your using netscape aren&#039;t you  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;That just means that the document on the server is sending back no data. Which means one of two things. &lt;/p&gt;
&lt;p&gt;1) LWP isn&#039;t pulling the page&lt;br /&gt;
2) Something is wrong with CGI.pm and it isn&#039;t generating the HTML correctly.&lt;/p&gt;
 </description>
     <pubDate>Wed, 15 Mar 2000 00:06:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004352 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004351</link>
    <description> &lt;p&gt;First off thanx for the help.  I still haven&#039;t been able to figure this thing out. It&#039;s been driving me nuts.  For simplicity and to try and figure out why the script isn&#039;t working i resulted to this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;code:&lt;/p&gt;
&lt;pre&gt;
#!/usr/bin/perl
use CGI;
use LWP::Simple;
use HTML::TokeParser;

$cgiobject=new CGI;
print $cgiobject-&amp;gt;header;

$page = get(&quot;http://www.yahoo.com/&quot;);

$p=HTML::TokeParser-&amp;gt;new(\$page);

if ($p-&amp;gt;get_tag(&quot;title&quot;)) {
      my $title = $p-&amp;gt;get_trimmed_text;
      print &quot;Title: $title\n&quot;;
}

while (my $token = $p-&amp;gt;get_tag(&quot;a&quot;)) {
my $url = $token-&amp;gt;[1]{href} &amp;#0124; &amp;#0124; &quot;-&quot;;
my $text = $p-&amp;gt;get_trimmed_text(&quot;/a&quot;);
print &quot;$url\t$text&quot;;
print &quot;&amp;lt;br&amp;gt;&quot;;
}

print $cgiobject-&amp;gt;end_html;
[/code]

For some reason this returns &quot;document contained no data&quot;. Anyone? &lt;/pre&gt;&lt;/blockquote&gt;</description>
     <pubDate>Tue, 14 Mar 2000 23:31:00 +0000</pubDate>
 <dc:creator>Gage</dc:creator>
 <guid isPermaLink="false">comment 1004351 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004350</link>
    <description> &lt;p&gt;I think the problem may be with CGI.pm&lt;/p&gt;
&lt;p&gt;maybe your server is running an old version or it or LWP. LWP however rarely gets updated and it comes packaged with perl. &lt;/p&gt;
&lt;p&gt;If CGI.pm isn&#039;t working right it may return invalid headers...&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Mar 2000 21:57:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004350 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004349</link>
    <description> &lt;p&gt;Did you guys install the script on your own servers?  Cause it works fine on wdvl but i can&#039;t get it to return anything on mine.&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Mar 2000 21:49:00 +0000</pubDate>
 <dc:creator>Gage</dc:creator>
 <guid isPermaLink="false">comment 1004349 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004348</link>
    <description> &lt;p&gt;Wow- thats a cool script. I found the problem: you have to type the full URL for it to work. So &quot;http://www.fireburn.com&quot; would work but &quot;fireburn.com&quot; wouldn&#039;t.&lt;/p&gt;
&lt;p&gt;* edit: darn orlando, you posted a minute before me &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; *&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;The fireburn.com Network:&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;LI&gt; &lt;a href=&quot;http://www.fireburn.com&quot; class=&quot;bb-url&quot;&gt;fireburn.com&lt;/a&gt; &lt;em&gt;[www.fireburn.com]&lt;/em&gt;&lt;br /&gt;
&lt;/li&gt;&lt;LI&gt; &lt;a href=&quot;http://www.flamehosting.com&quot; class=&quot;bb-url&quot;&gt;Flame Hosting&lt;/a&gt; &lt;em&gt;[www.flamehosting.com]&lt;/em&gt;&lt;br /&gt;
&lt;/li&gt;&lt;LI&gt; &lt;a href=&quot;http://www.ineffabledesigns.com&quot; class=&quot;bb-url&quot;&gt;Ineffable Designs&lt;/a&gt; &lt;em&gt;[www.ineffabledesigns.com]&lt;/em&gt;&lt;br /&gt;
&lt;/li&gt;&lt;LI&gt; &lt;a href=&quot;http://www.webmasters-portal.com&quot; class=&quot;bb-url&quot;&gt;The Webmasters Portal&lt;/a&gt; &lt;em&gt;[www.webmasters-portal.com]&lt;/em&gt;&lt;/li&gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by Justin Stayton (edited 14 March 2000).]&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Mar 2000 20:43:00 +0000</pubDate>
 <dc:creator>Justin S</dc:creator>
 <guid isPermaLink="false">comment 1004348 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004347</link>
    <description> &lt;p&gt;I think the problem is how you enter the URL. You must enter the URL as: &lt;a href=&quot;http://www.dqn.org/&quot; class=&quot;bb-url&quot;&gt;http://www.dqn.org/&lt;/a&gt;  instead of dqn.org. It work fine for me when I inserted the http:// in the URL.&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Mar 2000 20:42:00 +0000</pubDate>
 <dc:creator>orlando_5</dc:creator>
 <guid isPermaLink="false">comment 1004347 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/can-anyone-help-me-out#comment-1004346</link>
    <description> &lt;p&gt;I forgot to give a working example of this script so here goes: &lt;a href=&quot;http://www.wdvl.com/Authoring/Languages/Perl/PerlfortheWeb/cgi-bin/parsepage.cgi&quot; class=&quot;bb-url&quot;&gt;http://www.wdvl.com/Authoring/Languages/Perl/PerlfortheWeb/cgi-bin/parsepage.cgi&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Mar 2000 19:55:00 +0000</pubDate>
 <dc:creator>Gage</dc:creator>
 <guid isPermaLink="false">comment 1004346 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
