You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Umar Zubair <ub...@mobileweaver.dk> on 2008/01/14 10:41:58 UTC

Remove or move Javascript and blank lines

I am using MyFaces with Tomahawk. My application is in production. Web
crawlers often come to my site to index pages. So html code produced by the
application should be Search engine optimized.

 

The problem is actual content of my page starts after rendering javascript
having a lot of blank lines both put in by MyFaces. I want to put actual
content of my page on start of html to help crawlers to read actual content
efficiently.

 

Please let me know how can I get rid of incline javascript or atleast move
javascript after actual content of page?  And how can I remove blank lines
generated just after java scripts?

 

Thanks,

Umar