wp feed 出错

2009/05/08

在使用feedsky的服务的时候,了解到可以绑定域名,于是按照feedsky大字报的说明,将我的feed地址烧制为http://feed.tj4c.com ,可是突然发现我的feed一直好几天都没被更新。在查看feedsky源地址的时候,发现我将源地址也改为了http://feed.tj4c.com,于是想把它换回来www.tj4c.com/feed,可是feedsky提示我说我提供的地址不是一个有效的feed地址!

百般无奈之下,将www.tj4c.com/feed输入地址栏发现这样的错误

It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn’t find one. Please enter the address of your feed to validate.
 
Source: http://tj4c.com/feed
 
 < !DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 3.2 Final//EN”>
 
<html>
 
<head>
 
<title>Index of /feed</title>
 
</head>
 
<body>
 
<h1>Index of /blog/feed</h1>
 
<ul><li><a href=”/blog/”> Parent Directory</a></li>
<li><a href=”cgi-bin/”> cgi-bin/</a></li>
</ul>
 <address>Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at tj4c.com Port 80</address>
</body></html>

Easwy也有详细的说明。
后来有人提到将一些关键文件的空格或空行去掉,可是试过之后没有效果!

解决办法
后来仔细查看站点目录,发现在站点根目录下生成了feed/cgi-bin这样的目录,莫非是这个原因(我想这很有可能是因为我通过feedsky的说法烧制feed地址产生的),先备份目录,再删除feed目录,测试源地址http://www.tj4c.com/feed,Oye,一切OK!

=================================================
在这篇文章里也学到了一些feed的知识:
http://getfreeware.net/archives/626.html
http://robbin.cc/vb/showthread.php?t=1673

tj4c.com/?feed=() ()替换为如RSS RSS2 atom表示的意思是不同的feed版本。

=========================2009-05-09更新===============
无意间发现了传说中的feedburner中文地址
http://feedburner.google.com/fb/a/myfeeds?loc=zh_CN

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: 小强升职记

Next post: Twitter Weekly Updates for 2009-05-10

</