In fact, I'm trying to keep the appending timestamp on. The main 
objective is to achieve url versioning as described in this article.

    http://blog.dannyburkes.com/2006/11/2/versioned-urls-for-rails/

I'm actually trying out their plugin on url versioning currently and see 
if it works as claimed. It would be important to tag the generation of 
the timestamp to AssetTagHelper such that there is a centralized place 
to modify the format of the version timestamp.

--
Sean

Nathan Weizenbaum wrote:
> Theoretically, it would be possible. We're thinking of adding support 
> for functions in SassScript for version 2.0, and this could be done as 
> one of those. We could do something like
>
>   background-image= image(background.jpg)
>
> which would produce
>
>   background-image: url(../images/background.jpg?1234567);
>
> in development and
>
>   background-image: url(../images/background.jpg);
>
> in production. Anyone else have any thoughts?
>
> - Nathan
>
> Sean, Tan Li Yang wrote:
>   
>> Hi,
>>
>> I'm not sure whether this has been covered before, but I'm wondering 
>> whether we can make SASS support AssetTagHelper. In my case, I needed
>>
>>     background-image: url(../images/background.jpg);
>>
>> to become
>>
>>     background-image: url(../images/background.jpg?1234567);
>>
>> Is there a way to do that in SASS, if not I guess I have to fall back 
>> on generating the css using rhtml.
>>
>> Thanks for your help in advance!
>>
>> Sean
>>
>>     
>
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to