I am using Wicket and I need my pages to include the profile
attribute with their head
element. Since Wicket takes care of rendering the actual head
section it is not apparent how to do this. I need HTML like so:
<head profile="http://a9.com/-/spec/opensearch/1.1/">
<link rel="search" type="application/opensearchdescription+xml" href="osdd.xml" title="Search"/>
</head>
For the interested reader, I am trying to advertise my web application's OpenSearch Description Document as documented here: http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_description_document
As an aside, I find it disgruntling and bad-smelling when a trivial task like this is made so difficult by the web framework!