Customizing the CSS of the RSS Feed Output Only

Skinning and designing Serendipity (CSS, HTML, Smarty)
108
Regular
Posts: 16
Joined: Fri May 13, 2011 9:15 am

Re: Customizing the CSS of the RSS Feed Output Only

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Customizing the CSS of the RSS Feed Output Only

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
108
Regular
Posts: 16
Joined: Fri May 13, 2011 9:15 am

Re: Customizing the CSS of the RSS Feed Output Only

Post 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
Post Reply