<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001084" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001084</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004722</link>
    <description> &lt;p&gt;I meant the news grabber...&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 May 2000 20:35:00 +0000</pubDate>
 <dc:creator>RobertW</dc:creator>
 <guid isPermaLink="false">comment 1004722 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004721</link>
    <description> &lt;p&gt;thanks, it works now&lt;/p&gt;
&lt;p&gt;by the way I found the newspro at cgi-resources.com&lt;br /&gt;
if will have problems finding it let me know I will send you a copy&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 May 2000 20:33:00 +0000</pubDate>
 <dc:creator>RobertW</dc:creator>
 <guid isPermaLink="false">comment 1004721 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004720</link>
    <description> &lt;p&gt;Thanks RobP, now it works. &lt;/p&gt;
&lt;p&gt;I just had to add a script to call the txt file. The shtml page calls the script and display the results. Hope this can help RobertW  &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;#!/usr/bin/perl&lt;/p&gt;
&lt;p&gt;$menu_file = &quot;/usr21/home/fin/public_html/cgi-bin/quotes.txt&quot;;&lt;/p&gt;
&lt;p&gt;print &quot;Content-type: text/html\n\n&quot;;&lt;br /&gt;
open(FILE,&quot;$menu_file&quot;);&lt;br /&gt;
while(&amp;lt;FILE&amp;gt; ) {&lt;br /&gt;
   print $_;&lt;br /&gt;
}&lt;br /&gt;
exit;&lt;/p&gt;
&lt;p&gt;One more thing: is it possible to avoid the links to cnet detailed pages or modify the same script to pick up data from yahoo sweden or spain?&lt;br /&gt;
Thanks  &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;
 </description>
     <pubDate>Fri, 05 May 2000 12:19:00 +0000</pubDate>
 <dc:creator>Mark444</dc:creator>
 <guid isPermaLink="false">comment 1004720 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004719</link>
    <description> &lt;p&gt;To include the  quotex.txt with SSI you can just use&lt;br /&gt;
&amp;lt;!--#include file=&quot;/cgi-bin/quotes.txt--&amp;gt;&lt;/p&gt;
&lt;p&gt;You will probably have to rename your .html to .shtml to allow SSI.&lt;/p&gt;
&lt;p&gt;But to have the quotes.cgi updates, you can either just visit it every so often to execute it, or make a cron job to execute the file.&lt;/p&gt;
&lt;p&gt;To do that, you will need to create a file named&lt;br /&gt;
&quot;cront&quot; in /home/you&lt;br /&gt;
inside it put something like&lt;/p&gt;
&lt;p&gt;10 * * * * /home/yourname/public_html/cgi-bin/quotes.cgi&lt;/p&gt;
&lt;p&gt;than login through telnet and type&lt;br /&gt;
crontab cront.  Now your script should execute every 10 minutes.&lt;/p&gt;
&lt;p&gt;Hope that helps a little. (Please correct me anyone if I am wrong on setting up the cron job)&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.dlo.net/~rob/stuff/hosting&quot; class=&quot;bb-url&quot;&gt;awsoem Tehcnical Lunix Smart Inc&lt;/a&gt;:teh best webhost!!&lt;br /&gt;
&lt;a href=&quot;http://www.dlo.net/~rob&quot; class=&quot;bb-url&quot;&gt;Personal Site&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 Apr 2000 22:27:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004719 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004718</link>
    <description> &lt;p&gt;I still have the same problem so I was about to giving it up.. i&#039;ll try again and let you know, Ok?!  &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;PS: Do you have a working copy of news grabber? Can you tell me more about it? THANKS  &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;
 </description>
     <pubDate>Wed, 26 Apr 2000 22:09:00 +0000</pubDate>
 <dc:creator>Mark444</dc:creator>
 <guid isPermaLink="false">comment 1004718 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004717</link>
    <description> &lt;p&gt;well, the script works fine, when I checked the quotes.txt it has all the info required, the problem is with bringing that info to my page, can anyone help?&lt;br /&gt;
my webhost supports ssi&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 Apr 2000 21:51:00 +0000</pubDate>
 <dc:creator>RobertW</dc:creator>
 <guid isPermaLink="false">comment 1004717 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004716</link>
    <description> &lt;p&gt;I know I am bringing this topic from death, but I really like this script but have no luck in instaling it,&lt;br /&gt;
here is whta i have done,&lt;br /&gt;
named it quotes.cgi and placed it in cgi directiory&lt;br /&gt;
chmod 755&lt;br /&gt;
then created quotes.txt in cgi directory and chmoded it 777&lt;br /&gt;
when I call the script on my page &lt;a href=&quot;http://hostciti.com/quotes.shtml&quot; class=&quot;bb-url&quot;&gt;http://hostciti.com/quotes.shtml&lt;/a&gt;&lt;br /&gt;
nothing happens&lt;br /&gt;
when I call the script directly it gives me a server error,&lt;br /&gt;
any ideas?&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 Apr 2000 21:37:00 +0000</pubDate>
 <dc:creator>RobertW</dc:creator>
 <guid isPermaLink="false">comment 1004716 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004715</link>
    <description> &lt;p&gt;Does your host allow SSI?&lt;br /&gt;
&amp;lt;!--#include file=&quot;/cgi-bin/quotes.txt&quot;--&amp;gt;&lt;/p&gt;
&lt;p&gt;that seems to work fine.  &lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;strong&gt;Due to precipitation, for a few weeks K2 is bigger than Mount Everest.&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Feb 2000 20:08:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004715 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004714</link>
    <description> &lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;im trying your script, but i get allways error message...&lt;/p&gt;
&lt;p&gt;when i start the quotes.cgi ...&lt;br /&gt;
it comes with this error&lt;br /&gt;
500 internel Server error&lt;/p&gt;
&lt;p&gt;by calling quotes.txt from q.shtml&lt;br /&gt;
it comes with this error&lt;br /&gt;
[an error occurred while processing this directive]&lt;/p&gt;
&lt;p&gt;but in the cgi-bin directory it has created the quotes.txt with the quotes...&lt;/p&gt;
&lt;p&gt;------------------&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Feb 2000 15:29:00 +0000</pubDate>
 <dc:creator>kumanan</dc:creator>
 <guid isPermaLink="false">comment 1004714 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/script-stock-quotes-and-tickers#comment-1004713</link>
    <description> &lt;p&gt;LWP comes with Perl 5 but they may have it disabled for &quot;security&quot; reasons. If they do then you may try using sockets to retrieve the file to be parsed by the script.&lt;/p&gt;
 </description>
     <pubDate>Thu, 20 Jan 2000 03:29:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004713 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
