Title: How to write a RSS feed plugin&#8230;
Last modified: August 31, 2016

---

# How to write a RSS feed plugin…

 *  [wookietim](https://wordpress.org/support/users/wookietim/)
 * (@wookietim)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-write-a-rss-feed-plugin/)
 * I am sure that this is available online but for the life of me I cannot figure
   out how to word it to google to find it…
 * I want to write a plugin that will produce a RSS feed (Don’t ask – it’s mainly
   for my own edification on how to write this). I have the code that produces that
   feed. I can follow basically everything for rolling it into a function with only
   one little thing escaping me :
 * How do I hook into wordpress so that when a URL is called it responds? I mean
   I can respond if I dropped the function code into a file and plopped that file
   in wp-content/themese/theme/rss_feed.php but I want to have it respond when I
   call “[http://www.blah.com/rss_feed&#8221](http://www.blah.com/rss_feed&#8221);.
 * I figure it must be a hook I add but I cannot figure out which one it is…

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-write-a-rss-feed-plugin/#post-7437835)
 * The hook is essentially “do_feed_{$format}”, where your callback loads the proper
   feed template.
    See [Customizing Feeds](http://codex.wordpress.org/Customizing_Feeds)
   for more information.

Viewing 1 replies (of 1 total)

The topic ‘How to write a RSS feed plugin…’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-write-a-rss-feed-plugin/#post-7437835)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
