diff options
author | Yorhel <git@yorhel.nl> | 2009-08-06 11:39:32 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-08-06 11:40:16 +0200 |
commit | 753a2d8c6b69ae86e5968b9672992b7b60341067 (patch) | |
tree | 6f2bc56f01a162fe0c36aa947b6d943a36fde6f2 /lib/VNDB/Util/LayoutHTML.pm | |
parent | d0804fb02a8a4d0656fe7255ab6ab8b06aee03c7 (diff) |
Added OpenSearch plugin + autodetection
Diffstat (limited to 'lib/VNDB/Util/LayoutHTML.pm')
-rw-r--r-- | lib/VNDB/Util/LayoutHTML.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm index 2cf3fc40..b5813330 100644 --- a/lib/VNDB/Util/LayoutHTML.pm +++ b/lib/VNDB/Util/LayoutHTML.pm @@ -21,6 +21,7 @@ sub htmlHeader { # %options->{ title, js, noindex, search } title $o{title}; Link rel => 'shortcut icon', href => '/favicon.ico', type => 'image/x-icon'; Link rel => 'stylesheet', href => $self->{url_static}.'/s/'.$skin.'/style.css?'.$self->{version}, type => 'text/css', media => 'all'; + Link rel => 'search', type => 'application/opensearchdescription+xml', title => 'VNDB VN Search', href => $self->{url}.'/opensearch.xml'; if($o{js}) { script type => 'text/javascript', src => $self->{url_static}.'/f/forms.js?'.$self->{version}; end; } |