Alexander Chen's Blog

Yes, we can!

“Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma – which is living with the results of other people’s thinking. Don’t let the noise of other’s opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”
By Steve Jobs

WordPress中为特定的Category、Tag添加RSS

Posted on:  November 12, 2009  |   Category: Computer
Comments:  No Comments
Print Friendly

       用Wordpress做独立博客的人,有时候一定会发现他人的博客上有RSS分类订阅,可是我们只知道Wordpress提供内容订阅的feed,那么分类和标签订阅是如何实现的呢?

       其实wordpress已经为我们准备好了实现分类和标签订阅的工具,我们只需要将它稍微应用一下即可,这里以 www.yourdomain.com 为例:

 

特定Category:

在页面上点击你的Category,然后在地址栏中地址末尾加上”feed/”,回车即可得到该分类的feed。例如:

http://www.yourdomain.com/category/category-name/feed/

其中category-name为你的分类名。

 

这种方法依然可以用于Tag,例如:

http://www.yourdomain.net/tag/tag-name/feed/

其中tag-name为你的tag名称。

      

这样生成分类和标签的feed很简单,可是不足之处在于,这样生成的feed中,文章内容都是没有排版的,所以我建议大家把上述种子用feedburner这样的烧录器烧录一下,这样便于统计和种子优化。

 

关键字:wordpress分类RSS,标签RSS,wordpress怎样实现category分类RSS, Tag标签RSS,wordpress分类订阅,标签订阅,how to add/create category/tag feed/rss to wordpress

Comments

Leave a Comment




Google Custom Search


About

Welcome to Alexander Chen's Blog. This blog is about a little bit everything, but mainly focuses on my thoughts, and some computer and smart device tips.

Any content here is welcomed to be used or referenced, but before you use it freely, please follow THIS agreement.

This blog is optimized for MOBILE DEVICES.

Contact Me


Function