aargh - I hate top-posting. It makes discussions like this almost impossible to read sensibly.
In that case I would suggest having a non-interactive "catalog" that gets indexed, and an interactive "store" that does not. ---- Adrian Mitev <[EMAIL PROTECTED]> schrieb: > If you develop an online store you may want your goods pages to be > indexed... > > 2008/1/14, Simon Kitching <[EMAIL PROTECTED]>: > > > > ---- Simon Kitching <[EMAIL PROTECTED]> schrieb: > > > ---- Umar Zubair <[EMAIL PROTECTED]> schrieb: > > > > 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? > > > > > > I doubt very much that moving the javascript is possible. In many cases > > it really needs to be in a specific location in the file to work properly. > > > > > > Deleting blank lines can be done fairly easily by writing a > > ServletFilter. Or you could submit a patch to the tomahawk ExtensionsFilter > > to do this. Or perhaps the htmltidy filter (tidy.sourceforge.net) might do > > what you need. > > > > And by the way, it doesn't seem very sensible to allow the pages of a JSF > > application to get indexed. JSF applications are dynamic, user-specific, > > interactive things. Indexing these just doesn't make sense. I suggest using > > a robots.txt file to prevent robots from looking at your app at all. > > > > Regards, > > Simon > > > > > > > -- > Regards > Adrian Mitev

