Topics

  • Introduction to Feeds
  • WordPress Built-in Feeds
  • Finding Your Feed URL
    • Comments
      • Site comment feed
      • Mail-specific comment feed
    • Categories and Tags
    • Authors
    • Search
  • Adding Feeds
    • Adding Graphics to Feed Links
    • Changing Addresses
  • RSS feed time and date format
  • Feed Errors in Browsers
  • More Data and Resources

Introduction to Feeds Introduction to Feeds

A feed is a function of special software that allowsfeedreaders to access a site, automatically looking for new content and then posting the information most new content and updates to another site. This provides a way for users to go along upwardly with the latest and hottest information posted on different blogging sites.

In that location are several different kinds of feeds, read past different feedreaders. Some feeds include RSS (alternately divers equally "Rich Site Summary" or "Really Simple Syndication"), Atom or RDF files.

Top ↑

WordPress Born Feeds WordPress Congenital-in Feeds

By default, WordPress comes with diverse feeds. They are generated by template tag for bloginfo() for each type of feed and are typically listed in the sidebar and/or footer of near WordPress Themes. They look like this:

URL for RDF/RSS 1.0 feed

<?php bloginfo('rdf_url'); ?>

URL for RSS 0.92 feed

<?php bloginfo('rss_url'); ?>

URL for RSS ii.0 feed

<?php bloginfo('rss2_url'); ?>

URL for Atom feed

<?php bloginfo('atom_url'); ?>

URL for comments RSS 2.0 feed

<?php bloginfo('comments_rss2_url'); ?>

The first iv feeds display recent updates and changes to your site's content for the different feedreaders. Of these, the RSS feeds are the well-nigh well known. The last feed example is used past RSS ii.0 feedreaders and does non show your site's content. Information technology just shows the comments fabricated on your site.

To track the comments on a specific mail, the post_comments_feed_link() template tag is used on single postal service pages like this:

<?php post_comments_feed_link('RSS 2.0'); ?>                

There are ways to modify these feeds, and these are covered in the commodity on Customizing Feeds.

Height ↑

Finding Your Feed URL Finding Your Feed URL

In that location are times when y'all want to tell someone your site's feed address or URL, or y'all demand it to submit it to search engines and directories, many of which now accept feed URL submissions. There are iv possible URLs for each of your feeds. Whatsoever of these will work.

http://example.com/?feed=rss http://example.com/?feed=rss2 http://example.com/?feed=rdf http://case.com/?feed=atom

If you are using custom permalinks, y'all should be able to reach them through this usage:

http://case.com/feed/ http://example.com/feed/rss/ http://case.com/feed/rss2/ http://example.com/feed/rdf/ http://example.com/feed/atom/

Tiptop ↑

Your site has feeds for all comments on the site, and each post has its own annotate feed.

Meridian ↑

Permalink format:

http://case.com/comments/feed/

Default format:

http://case.com/?feed=comments-rss2

Top ↑

Permalink format:

http://example.com/mail-name/feed/

Default format:

http://example.com/?p=33&feed=rss2

Meridian ↑

Categories and Tags Categories and Tags

Yous can also provide feeds to but specific categories or tags on your site by adding the following to the end of the link:

http://world wide web.case.com/?cat=42&feed=rss2
http://www.example.com/?tag=tagname&feed=rss2
http://www.example.com/category/categoryname/feed
http://www.example.com/tag/tagname/feed

You can include posts from 1 of multiple categories or tags in a feed by comma-separating their values. For example:

http://www.example.com/?cat=42,43&feed=rss2
http://www.example.com/?tag=tag1,tag2&feed=rss2
http://world wide web.instance.com/category/cat1,cat2/feed

Yous can include posts from all of multiple categories or tags in a feed past calculation to the cease of the link. For example:

http://world wide web.example.com/category/cat1+cat2/feed http://world wide web.case.com/tag/tag1+tag2/feed

You tin canexclude categories from the feed past using something like this:

http://www.instance.com/?cat=-123&feed=rss2                

Older versions of WordPress used a format such as but this has been deprecated in newer versions.

http://case.com/wp-rss2.php?cat=42

Top ↑

Every writer has an RSS feed for their posts. Here is the format:

http://example.com/author/authorname/feed/

Pinnacle ↑

Search results can also have their ain feed. Here is the format:

http://case.com/?southward=searchterm&feed=rss2

Top ↑

Adding Feeds Adding Feeds

Non all WordPress Themes feature all of the RSS Feed types that are bachelor through WordPress. To add together a feed to your site, find the location of where the other feeds are, typically in your sidebar.php or footer.php template files of your Theme. Then add i of the tags listed in a higher place to the list, similar this example:

<ul class="feeds">     <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Elementary Syndication">RSS</abbr>'); ?></a></li>     <li><a href="<?php bloginfo('atom_url'); ?>" title="<?php _e('Syndicate this site using Atom'); ?>"><?php _e('Atom'); ?></a></li>     <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Actually Unproblematic Syndication">RSS</abbr>'); ?></a></li> </ul>                

Acme ↑

Many people like to have a graphic representing the feed instead of words. At that place are now standards for these graphics or "buttons", but yous can make your own to match the await and colors on your site.

To add a graphic to your feed link, but wrap the link around the graphic such as:

<a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><img src="http://www.mozilla.org/images/feed-icon-14x14.png" alt="RSS Feed" title="RSS Feed" /></a>                

Summit ↑

Changing Addresses Changing Addresses

If yous are currently using other webblog software and are changing to WordPress, or are moving your weblog to a new location, y'all can "forwards" RSS readers to your new RSS feeds using file rewrites and redirects in your .htaccess file.

Edit the .htaccess file in your root folder; if no file exists, create i.

Here is an example for a b2 feed:

RewriteRule ^b2rss2.php(.*)? /wordpress/?feed=rss2 [QSA]                

Here is an example for MovableType Users:

RewriteRule ^alphabetize.xml(.*)? /wordpress/?feed=rss2 [QSA]                

Feed Director provides rewrite rules for common feed filenames used by other blogging platforms, such equally index.xml, index.rdf, rss.xml, rss2.xml, atom.xml, *.xml, via an easy-to-utilise "install it and forget it" plugin.

Tiptop ↑

RSS feed time and date format RSS feed time and date format

WordPress adheres to the RSS specifications. This means that the time and date format willNot utilize your blog fourth dimension/date format as set in your settings, instead information technology uses the time and appointment format from the RFC822 specification. This looks for example like this: Sunday, 06 Sep 2009 16:10:34 +0000

Notation: The time/appointment format of feed shouldNon be localized since the the current RSS specifications are referring to RFC822 specification which specifies English equally a default. This implies that every RSS consumer should have intendance of translating fourth dimension/date according to its locale.

Top ↑

Feed Errors in Browsers Feed Errors in Browsers

A feed is a stream of data meant to be interpreted by a feed reader, like NewsBlur or RSSOwl.

Equally of 2022, no major browsers have the ability to display feeds without 3rd-political party add-ons or extensions. Users of these browsers will notice a "This XML file does not appear to have any manner information associated with it. The document tree is shown below." error followed by the raw feed, or a more than helpful notice that a feed reader add-on or extension must be installed.

Top ↑

More Data and Resources More Information and Resources

  • Customizing Feeds
  • How to setup and create category RSS feeds
  • Consummate reference for determining your various WordPress feed URLs
  • How to add an image to your RSS feed in WordPress 2.0 and higher up
  • Work with RSS in WordPress site
  • How to add together images to RSS and Cantlet feeds
  • Add RSS feed link icons to WordPress categories
  • Using FeedBurner with WordPress
  • Changing feed url with .htaccess
  • Redirect WordPress Feeds to Feedburner without a plugin
  • Feed Icons providesofficial RSS icons in many formats (AI, EPS, SVG, PSD, PDF, PNG, JPG, GIF).
  • WP RSS Aggregator an RSS aggregator/import plugin for WordPress
  • Wikipedia – RSS an overview on RSS