Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Thunderbird doesn't check for updates to an RSS feed

Reply
Thread Tools

Thunderbird doesn't check for updates to an RSS feed

 
 
yawnmoth
Guest
Posts: n/a
 
      04-04-2007
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two ways to generate RSS - rss/maker and rss/2.0 - which is better? Jonathan Groll Ruby 1 06-27-2009 03:53 AM
How do you get feed discovery to work? I go to web pages I know has feeds, but the feed discovery button is disabled. Help! Tim Bryant Computer Support 1 02-13-2007 05:01 AM
Post RSS feed w/o RSS-to-Javascript.com Scott Gordo HTML 5 08-29-2006 01:34 AM
RSS Feed - need an Idiot's Guide to RSS News on my website teach_me6@hotmail.com HTML 5 02-25-2005 11:01 AM
Searches in multiple RSS feeds -> new rss feed Motta XML 1 06-09-2004 10:55 PM



Advertisments