Page 2 of 2

Re: Customizing the CSS of the RSS Feed Output Only

Posted: Wed Nov 09, 2011 3:14 am
by 108
Some folks at Stack_Overflow recommended changing the filename of style.css to style.php, changing the mime-type to text/css, then adding php argument code to it so that the php would run when the css was called but would also still work as a valid .css file. (Multiple methods available to do this... another would be to leave the filename alone and set my server to also recognize .css as a php-file.)

Do any red flags pop up with this idea in your assessment?

Thanks,
Chris

Re: Customizing the CSS of the RSS Feed Output Only

Posted: Wed Nov 09, 2011 12:08 pm
by garvinhicking
Hi!

I don't see how this would be helpful. Currently the CSS is already PHP parsed by s9y; "serendipity.css" redirects to "serendipity.css.php" and compiles all the CSS.

What about my HTTP-Host suggestion?

Regards,
Garvin

Re: Customizing the CSS of the RSS Feed Output Only

Posted: Fri Nov 11, 2011 10:11 pm
by 108
I saw that, thanks. I may give it a shot; I just wanted to ask you about the alternate concept I mentioned above first.

I'll let you know how it goes when I have a chance to try it. Thanks again for all your help!
Chris