Thunderbird doesn't check for updates to an RSS feed

Discussion in 'XML' started by yawnmoth, Apr 4, 2007.

  1. yawnmoth

    yawnmoth Guest

    I have the following PHP script to generate an RSS feed:

    <?php
    if (isset($_GET['value']))
    {
    exit(htmlspecialchars($_GET['value']));
    }

    $num = file_get_contents('counter.txt');
    $num++;

    $fp = fopen('counter.txt','w');
    fputs($fp,$num);
    fclose($fp);

    echo '<?xml version="1.0"?>';
    ?>
    <rss version="2.0">
    <channel>
    <title>RSS Test</title>
    <link>http://127.0.0.1/rss.php</link>
    <description>RSS Test/description>
    <item>
    <title>test</title>
    <description><?php echo $num; ?></description>
    <link>http://127.0.0.1/rss.php?value=<?php echo $num; ?></link>
    <pubDate><?php echo date('r'); ?></pubDate>
    </item>

    </channel>
    </rss>

    It should, every time it is loaded, output a new (larger) number. And
    it does when I view it successive times in FireFox. Thunderbird,
    however, does nothing. I add 127.0.0.1/rss.php to the "News & Blogs"
    section, go to Tools->Account Settings, to News & Blogs, within that,
    and set "Check for new articles every ___ minutes" to 1. Twenty
    minutes later, I should have twenty new items for that RSS feed,
    shouldn't I? The counter, when I view it in FireFox, should have
    incremented by 20, shouldn't it have? Because none of that's
    happening. In fact, nothing is happening. No updates are being
    checked for, what-so-ever, and I don't know why.

    Any ideas as to what I'm doing wrong? Is this a problem with
    Thunderbird or my PHP script? I'm going to assume the latter because
    other RSS feeds do, in fact, work.
     
    yawnmoth, Apr 4, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roland Wolters

    RSS Feed

    Roland Wolters, Jul 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    514
    Roland Wolters
    Jul 27, 2003
  2. Replies:
    5
    Views:
    823
    SpaceGirl
    Feb 25, 2005
  3. Motta
    Replies:
    1
    Views:
    581
    Andy Dingley
    Jun 9, 2004
  4. Scott Gordo
    Replies:
    5
    Views:
    759
  5. Jonathan Groll
    Replies:
    1
    Views:
    324
    Kouhei Sutou
    Jun 27, 2009
Loading...

Share This Page