Show
Ignore:
Timestamp:
06/21/07 12:25:06 (18 months ago)
Author:
dom
Message:

Tweak OpenSearch? description, and add autodiscovery (fixes #180)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/header.tt

    r1049 r1097  
    22 "http://www.w3.org/TR/html4/loose.dtd"> 
    33<html lang="[% language %]"> 
    4 <head> 
     4<head profile="http://a9.com/-/spec/opensearch/1.1/"> 
    55  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    66  [% IF page_title %] 
     
    3838    <meta name="geo.position" content="[% wgs84_lat %], [% wgs84_long %]" /> 
    3939  [% END %] 
    40     <link rel="alternate" type="application/rss+xml" title="[% site_name %] - Recent Changes (RSS 1.0)" href="[% full_cgi_url %]?action=rc;format=rss" /> 
    41     <link rel="alternate" type="application/atom+xml" title="[% site_name %] - Recent Changes (Atom)" href="[% full_cgi_url %]?action=rc;format=atom" /> 
     40    <link rel="alternate" 
     41          type="application/rss+xml" 
     42          title="[% site_name %] - Recent Changes (RSS 1.0)" 
     43          href="[% full_cgi_url %]?action=rc;format=rss" /> 
     44    <link rel="alternate" 
     45          type="application/atom+xml" 
     46          title="[% site_name %] - Recent Changes (Atom)" 
     47          href="[% full_cgi_url %]?action=rc;format=atom" /> 
     48    <link rel="search" 
     49          type="application/opensearchdescription+xml" 
     50          title="Search the site '[% site_name %]'" 
     51          href="[% full_cgi_url %]?action=about;format=opensearch"  /> 
    4252  [% IF deter_robots %] 
    4353    <meta name="robots" content="noindex,nofollow" />