John Mitchell
2006-01-27 21:22:07 UTC
My company is using RSS feeds as a stored search. People can search
our images for "green beer", then save the result as an RSS feed.
RSS feeds work fine in most readers, and the XML validates correctly.
Alas, Yahoo always gives me the dreaded:
"We couldn't find the RSS file you asked for."
Probably the formatting is wrong... but it usually works. What's up?
I was very suspicious when I saved the feed to a static file. Given
the static URL, Yahoo was able to add the feed -- formatted the same
-- just fine!
It turns out Yahoo wont add a feed if it takes more than X seconds to
return. For me, this is bad, as each feed = a search, and searches
can take 30 seconds...
Does anyone know a workaround? Here are a few possibilities:
1) detect the first Yahoo search, and reply with an empty feed.
2) do the search as usual, but flush out the first part of the RSS
feed before the results are in. This would give Yahoo something to
grab on to before it decides my feed is bogus.
3) fake it. Instead of the standard "Add to My Yahoo" button, put in
a magic link that will make Yahoo happy.
Any suggestions?
thanks!
- john
http://publisher.yahoo.com/promote.php
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/
<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
our images for "green beer", then save the result as an RSS feed.
RSS feeds work fine in most readers, and the XML validates correctly.
Alas, Yahoo always gives me the dreaded:
"We couldn't find the RSS file you asked for."
Probably the formatting is wrong... but it usually works. What's up?
I was very suspicious when I saved the feed to a static file. Given
the static URL, Yahoo was able to add the feed -- formatted the same
-- just fine!
It turns out Yahoo wont add a feed if it takes more than X seconds to
return. For me, this is bad, as each feed = a search, and searches
can take 30 seconds...
Does anyone know a workaround? Here are a few possibilities:
1) detect the first Yahoo search, and reply with an empty feed.
2) do the search as usual, but flush out the first part of the RSS
feed before the results are in. This would give Yahoo something to
grab on to before it decides my feed is bogus.
3) fake it. Instead of the standard "Add to My Yahoo" button, put in
a magic link that will make Yahoo happy.
Any suggestions?
thanks!
- john
http://publisher.yahoo.com/promote.php
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/
<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/