Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

Problems With Yahoo Refresh of RSS

Ping not working for my RSS feed

7:01 pm on Nov 30, 2006 (gmt 0)

New User

10+ Year Member

joined:Nov 30, 2006
votes: 0

A couple of questions:

1) When I try to ping Yahoo to tell them my RSS feed is updated I get an error: "Refresh failed. Feed not found: [mysite.com...]

I am using "http://api.my.yahoo.com/rss/ping?u=http://www.mysite.com/rss/myfeed.xml" to do the ping. I thought maybe I had a bad XML/RSS document, but I ran it through feed validator. I also copied another site's XML/RSS doc and put it in place of mine. The ping also failed for it.

2) What I really want to do is have the Yahoo RSS reader not do any caching and just look for refreshes on some regular basis (5 minutes?). My RSS feeds are custom created for each user so there is no use caching and proxying them. If I use "RSS Reader" or my own RSS widget things work just fine. Yahoo is just being too clever and its reader never sees my new items (or I give up after several hours).

1:54 am on Dec 1, 2006 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
votes: 132

Welcome to WebmasterWorld DanBlather (interesting nick)

What software are you pinging from? I'm not clear on where you're experiencing this problem.

6:54 pm on Dec 1, 2006 (gmt 0)

New User

10+ Year Member

joined:Nov 30, 2006
votes: 0

I am just using IE to access the address: "http://api.my.yahoo.com/rss/ping?u=http://www.mysite.com/rss/myfeed.xml". This is one of the ways that Yahoo says you can ping them to say a feed has changed (http://publisher.yahoo.com/rss_guide/help.php#refresh). The other way is to use an XML/RPC but I haven't figured out how to do that yet (that'll probably be my next post).

Let me give a little more background. The link for the RSS feed is to a PHP file that dynamically generates the feed from a MYSQL database. I have an entry in the .htaccess file in my www.mysite.com/rss directory so that files with a .xml suffix are interpreted as PHP scripts. The entry is: "AddHandler application/x-httpd-php xml".

I just saw a posting in Yahoo answers to someone else's similar question that may help explain what is going on: "your feed is being served as text/xml it should be served as application/rss+xml. It's because your server is serving it without knowing that it's really rss. If you rename it, it will fly through. If it's not your site... tell the admins. rss should be named something.rss or something.atom or have the host configured to send this xml as application/rss+xml".

Do you think that may be it? I am not sure how to set the .htaccess file so that a .rss file is executed as PHP and emits a type of rss+xml. The directory with my feeds does not have anything other than the PHP files in them, so I can modify .htaccess with impunity.

One last thing, my feed is in RSS 2.0 format.

As to my nickname, that comes from high school where someone asked me if I was "Done Blathering" and the name stuck. It's not a political dig at Dan Rather.