homepage Welcome to WebmasterWorld Guest from 54.234.141.47
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
Problems With Yahoo Refresh of RSS
Ping not working for my RSS feed
DanBlather

5+ Year Member



 
Msg#: 3173903 posted 7:01 pm on Nov 30, 2006 (gmt 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).

 

bill

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3173903 posted 1:54 am on Dec 1, 2006 (gmt 0)

Welcome to WebmasterWorld DanBlather (interesting nick)

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

DanBlather

5+ Year Member



 
Msg#: 3173903 posted 6:54 pm on Dec 1, 2006 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved