OSDN Git Service

docs: update publishing doc to remove pname search parameter
authorScott Main <smain@google.com>
Fri, 4 Mar 2011 21:40:30 +0000 (13:40 -0800)
committerScott Main <smain@google.com>
Fri, 4 Mar 2011 22:25:50 +0000 (14:25 -0800)
Change-Id: I73201cd07ef766f463b35318a9a39d002974b87e

docs/html/guide/publishing/publishing.jd

index dd1115d..0cbba53 100644 (file)
@@ -259,16 +259,17 @@ site:</p>
 </p>
 
 <p>The <code>&lt;query&gt;</code> is a placeholder for the search query to execute in Android
-Market. The query can be a raw text string or you can include parameters that perform a search
-based on the publisher name or application package name:</p>
+Market. The query can be a raw text string or you can include a parameter that performs a search
+based on the publisher name:</p>
 
 <ul>
-  <li>To search based on the publisher name, use the {@code pub:} parameter:
+  <li>To perform a raw text search, append the query string:
+  <p><code>&lt;URI_prefix&gt;<b>search?q=</b>&lt;search_query&gt;</code></p></li>
+
+  <li>To search based on the publisher name, use the {@code pub:} parameter in the query, followed
+by the publisher name:
   <p><code>&lt;URI_prefix&gt;<b>search?q=pub:</b>&lt;publisher_name&gt;</code></p>
   <p>You can use this type of search to show all of your published applications.</p></li>
-
-  <li>To search based on the package name, use the {@code pname:} parameter:
-  <p><code>&lt;URI_prefix&gt;<b>search?q=pname:</b>&lt;package_name&gt;</code></p></li>
 </ul>
 
 
@@ -279,7 +280,7 @@ based on the publisher name or application package name:</p>
 
 <p style="margin-left:2em"><code>market://search?q=&lt;query&gt;</code></p>
 
-<p>The query may include the {@code pub:} or {@code pname:} parameters described above.</p>
+<p>The query may include the {@code pub:} parameter described above.</p>
 
 <p>For example, here's how you can initiate a search in the Android Market application, based on the
 publisher name:</p>
@@ -290,6 +291,9 @@ intent.setData(Uri.parse("market://search?q=pub:Your Publisher Name"));
 startActivity(intent);
 </pre>
 
+<p>The search result shows all applications published by the publisher and which are compatible with
+the current device.</p>
+
 
 <h4>Searching the Android Market web site</h4>
 
@@ -300,7 +304,7 @@ format:</p>
   <code>http://market.android.com/search?q=&lt;query&gt;</code>
 </p>
 
-<p>The query may include the {@code pub:} or {@code pname:} parameters described above.</p>
+<p>The query may include the {@code pub:} parameter described above.</p>
 
 <p>For example, here's a link that initiates a search on the Android Market web site, based on the
 publisher name:</p>
@@ -309,6 +313,8 @@ publisher name:</p>
 &lt;a href="http://market.android.com/search?q=pub:Your Publisher Name">Search Link&lt;/a>
 </pre>
 
+<p>The search result shows all applications published by the publisher.</p>
+
 
 
 <h3 id="UriSummary">Summary of URI formats</h3>
@@ -341,11 +347,5 @@ the web and in the Android application), as discussed in the previous sections.<
 <td><nobr><code>market://search?q=pub:&lt;publisher_name&gt;</code></nobr></td>
 </tr>
 
-<tr>
-<td>Search for an application by its fully qualified package name</td>
-<td><code>http://market.android.com/search?q=pname:&lt;package_name&gt;</code></td>
-<td><code>market://search?q=pname:&lt;package_name&gt;</code></td>
-</tr>
-
 </table>