Domino Code Fragment

Code Name*
Suppress Domino agent HEAD tags
Date*
12/03/1999
Source (or email address if you prefer)*
Bruce Elgort (BruceElgort@PalmBuilder.com)
IP address:.3.20.238.187
Description*
Allows your agents to insert your own HEAD element tags such as TITLE and
META.
Type*
LotusScript, HTML
Categories*
Website Tools
Implementation:
None (plug and play)
Required Client:
Server:
Limitations:
Comments:
Have you ever noticed that when you write a WebQuerySave Agent or any other
Agent that returns HTML to a browser, Domino generates it's own HTML HEAD tag?
This prohibits you from putting in your own HEAD element tags such as TITLE and
META.
If you add these lines to the beginning of your agent you can tell Domino not to
generate it's default HEAD tags and put in your own.
Files/Graphics attachments (if applicable): Code:
Print "Content-Type:text/plain"
Print "Content-Type:text/html"

Print "<HTML>"
Print "<HEAD>"
Print "<TITLE>Hello World</TITLE>"
Print "The text you want to show your user"
Print "</HTML>"