Brad Fitzpatrick (brad) wrote in fotobilder,
Brad Fitzpatrick
brad
fotobilder

External Stylesheets

mart's a CSS junkie and wanted a function to print an external stylesheet that you can link from your other HTML pages.

Good for everybody: saves bandwidth.

Observe:
http://www.picpix.com/brad/

That's linking to this stylesheet:
http://www.picpix.com/brad/res/1/stylesheet

Where "res" is for "resource" and "1" means styleid 1.

The stylesheet is mostly static... it's written in S2, so it has access to the style's properties and such.

For cache control, the Last-Modified field of the document returned is going to be the time of the most recently layer in that style. Going to do that part now. (Done)

(And fixed two s2compile errors in the process of doing this.)
Subscribe

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic
  • 15 comments

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…