Split RSS generation out of index.php
Posted: Sat Jan 07, 2006 2:46 pm
Not sure whether this is the right forum to post this, but maybe you can consider splitting the RSS generation out of the index.php
I understand the reason why you would want everything in index.php, but it does limit what you can do with serendipity too much I think because it never allows you to touch index.php with any HTML. I know I should use the templating system, but to integrate serendipity with a site fast and completely using the index.php rules. (see what I did with it at http://www.tiouw.com/serendipity).
Maybe think about it and regulate RSS generation to a different file. The main problem now is that it uses the index.php path to generate RSS. If we could somehow divert this to a clone of the index.php, it would be fine.
I did it for the syndication plugin by hardcoding the path. But I was unable to find where the path is generated for the categories RSS feeds. If anyone can point me where I can hardcode the paths for the categories RSS feeds, please let me know.
I understand the reason why you would want everything in index.php, but it does limit what you can do with serendipity too much I think because it never allows you to touch index.php with any HTML. I know I should use the templating system, but to integrate serendipity with a site fast and completely using the index.php rules. (see what I did with it at http://www.tiouw.com/serendipity).
Maybe think about it and regulate RSS generation to a different file. The main problem now is that it uses the index.php path to generate RSS. If we could somehow divert this to a clone of the index.php, it would be fine.
I did it for the syndication plugin by hardcoding the path. But I was unable to find where the path is generated for the categories RSS feeds. If anyone can point me where I can hardcode the paths for the categories RSS feeds, please let me know.