laukstein / ajax-seo

Ajax SEO crawlable webapp framework with boosted UX

Home Page:https://lab.laukstein.com/ajax-seo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jquery 1.6

voidbrain opened this issue · comments

i know this is not properly an issue.. but it's not working with jquery 1.6.

another question. i'm trying to integrate it with google minify
is there a way to separate all the javascript?
i'd like put the script from the footer to an esternal compressed plugins script

phynx, thanks for your post!

Ajax SEO is now updated with jQuery 1.6 and jQuery Address 1.4
The best way to compress JavaScript files would be trough http://closure-compiler.appspot.com

Thanks a lot! :)
I am trying to build a real-world-ready website layout, (you know,
html5boilerplate, less framework..) based on your example, for me and for my
(non-programmer) colleagues.

Maybe the closure compiler is the best way to compress, but i found minify
very useful because i can set the the combinations (css, js plugins, js
scripts...) in the groupConfig configuration file
(not checked yet if closure compiler let me _set offline the
configuration_and if
*it autoupdate the compressed output when i modify the source files *so i
don't need to re-compress the code every time there is a change)

What i was asking is just if it is possible to separate the js from the
footer (the $.address.crawlable(1).state(...)
to move it in a js, i understand in the state i need to say to address where
is my root position..

maybe setting the htaccess to let php run inside the js files and passing
the state via querystring could be a solution.. just reflecting about it.

On Wed, May 4, 2011 at 10:49 PM, laukstein <
reply@reply.github.com>wrote:

phynx, thanks for your post!

Ajax SEO is now updated with jQuery 1.6 and jQuery Address 1.4
The best way to compress JavaScript files would be trough
http://closure-compiler.appspot.com

Reply to this email directly or view it on GitHub:
#2 (comment)

You can add $.address.crawlable(1).state(... in end of file jquery.address.js and run PHP in it by enabling it trough .htaccess

<FilesMatch "images/jquery.address.js">
    SetHandler application/x-httpd-php
</FilesMatch>

and adding in top of jquery.address.js file <?php header('Content-type:text/javascript'); ?>

Good luck!