Custom RSS for Wordpress Plugin

Discussion in 'PHP' started by krishmk, Sep 6, 2011.

  1. #1
    I am writing a custom Wordpress plugin and we need a custom RSS feed specific for our plugin.

    For example:
    The RSS file will reside in the following location

    wp-content/plugins/MyPLUGIN/rss.php

    Now this rss file can be accessed via:
    http://MyDummyWordpressBlog.com/wp-content/plugins/MyPLUGIN/rss.php
    Code (markup):
    This looks somewhat odd and I havent seen any plugin following this structure.

    Is there any downside to have the end user serve the RSS file directly from the plugins folder?

    I would really love it to work in this way.

    http://MyDummyWordpressBlog.com/MyPLUGINrss.php
    Code (markup):
    Can a plugin recognize such custom pages in Wordpress and serve the desired content?
    Would highly appreciate your help or suggestions
     
    Last edited: Sep 6, 2011
    krishmk, Sep 6, 2011 IP