Browse Source

Fix search provider name & indenting

Jordi Boggiano 12 years ago
parent
commit
850724cb33
2 changed files with 6 additions and 7 deletions
  1. 1 1
      src/Packagist/WebBundle/Resources/views/layout.html.twig
  2. 5 6
      web/search.osd

+ 1 - 1
src/Packagist/WebBundle/Resources/views/layout.html.twig

@@ -23,7 +23,7 @@
         <link rel="alternate" type="application/rss+xml" title="Newly Submitted Packages - Packagist" href="{{ url('feed_packages', {_format: 'rss'}) }}" />
         <link rel="alternate" type="application/rss+xml" title="New Releases - Packagist" href="{{ url('feed_releases', {_format: 'rss'}) }}" />
 
-        <link rel="search" type="application/opensearchdescription+xml" href="{{ asset('search.osd') }}" title="Packagist.org search" />
+        <link rel="search" type="application/opensearchdescription+xml" href="{{ asset('search.osd') }}" title="Packagist" />
 
         {# {% stylesheets
             '@PackagistWebBundle/Resources/public/css/main.css'

+ 5 - 6
web/search.osd

@@ -1,9 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
-<ShortName>Packagist.org Search</ShortName>
-<Description>Use Packagist.org to search for packages.</Description>
-<Tags>packagist composer</Tags>
-<Contact>contact@packagist.org</Contact>
-<Url type="text/html" 
-    template="http://packagist.org/search/?q={searchTerms}"/>
+    <ShortName>Packagist</ShortName>
+    <Description>Use Packagist.org to search for packages.</Description>
+    <Tags>packagist composer</Tags>
+    <Contact>contact@packagist.org</Contact>
+    <Url type="text/html" template="http://packagist.org/search/?q={searchTerms}"/>
 </OpenSearchDescription>