I think that I only need to detect <script> with a src property and inline 
them, and detect <style> with a @import statement and recursively inline 
them (the same for <link>  with rel property with a value of stylesheet). 
That doesn't sound too much hard, 3 or 4 regexps and I can make it work. 

On Saturday, May 5, 2012 1:55:54 AM UTC+1, ihab wrote:
>
>
> On Fri, May 4, 2012 at 5:54 PM, Artur Ventura <[email protected]>wrote:
>
>> If that works, than I need to parse the 'content' for other files (CSS & 
>> JavaScript) and somehow inline them.
>
>
> Where the initial content contains links to other stuff, which is itself 
> protected by your firewall, then yes, I'm afraid. :(
>
> Ihab
>
> -- 
> Ihab A.B. Awad, Palo Alto, CA
>

Reply via email to