Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » adding robots meta tag to tocView.jsp
adding robots meta tag to tocView.jsp [message #268873] Thu, 26 August 2004 12:32 Go to next message
Eclipse UserFriend
Originally posted by: dcramer.motive.com

In my infocenter, I would like to add

<meta name="robots" content="noindex,follow">

to pages like, http://hostname/basic/tocView.jsp,
http://hostname/advanced/tocView.jsp, etc. so that they won't show up in
search results. I've tried editing
eclipse\plugins\org.eclipse.help.webapp_2.1.1\basic\tocView. jsp and
eclipse\plugins\org.eclipse.help.webapp_2.1.1\advanced\tocVi ew.jsp and
restarting the infocenter, but when I view source, I don't see my new meta
tag. I know squat about jsp. Is there something else I'm supposed to do?

Thanks,
David
Re: adding robots meta tag to tocView.jsp [message #268999 is a reply to message #268873] Fri, 27 August 2004 09:14 Go to previous message
Eclipse UserFriend
The jsps are precompiled at build time into
eclipse\plugins\org.eclipse.help.webapp\WEB-INF\lib\jsp.jar

Also, there was a special code for robots added recently to index.jsp. You
might want to check https://bugs.eclipse.org/bugs/show_bug.cgi?id=69055 and
add comments if it does not meet your needs.
Konrad

"David Cramer" <dcramer@motive.com> wrote in message
news:cgl3aa$d94$1@eclipse.org...
> In my infocenter, I would like to add
>
> <meta name="robots" content="noindex,follow">
>
> to pages like, http://hostname/basic/tocView.jsp,
> http://hostname/advanced/tocView.jsp, etc. so that they won't show up in
> search results. I've tried editing
> eclipse\plugins\org.eclipse.help.webapp_2.1.1\basic\tocView. jsp and
> eclipse\plugins\org.eclipse.help.webapp_2.1.1\advanced\tocVi ew.jsp and
> restarting the infocenter, but when I view source, I don't see my new meta
> tag. I know squat about jsp. Is there something else I'm supposed to do?
>
> Thanks,
> David
>
Previous Topic:Java API for CVS
Next Topic:setEditorAreaVisible and empty editor area
Goto Forum:
  


Current Time: Wed Oct 29 00:40:18 EDT 2025

Powered by FUDForum. Page generated in 0.03023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top