Browse Source

[MANUAL] English:

- erased endline spaces

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19990 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
ed707d5303
1 changed files with 17 additions and 17 deletions
  1. 17 17
      documentation/manual/en/module_specs/Zend_Feed_Pubsubhubbub.xml

+ 17 - 17
documentation/manual/en/module_specs/Zend_Feed_Pubsubhubbub.xml

@@ -41,7 +41,7 @@
             also seen its usage increase significantly though it lacks a formal specification and
             currently does not support Atom 1.0 feeds.
         </para>
-        
+
         <para>
             Perhaps surprisingly given its relative early age, Pubsubhubbub is already in use including
             in Google Reader, Feedburner, and there are plugins available for Wordpress blogs.
@@ -91,10 +91,10 @@
             use cases, and APIs are covered in subsequent sections.
         </para>
     </sect2>
-    
+
     <sect2 id="zend.feed.pubsubhubbub.zend.feed.pubsubhubbub.publisher">
         <title>Zend_Feed_Pubsubhubbub_Publisher</title>
-        
+
         <para>
             In Pubsubhubbub, the Publisher is the party who publishes a live feed and frequently updates
             it with new content. This may be a blog, an aggregator, or even a web service with a public
@@ -132,11 +132,11 @@
         <programlisting language="php"><![CDATA[
 $publisher = new Zend_Feed_Pubsubhubbub_Publisher;
 $publisher->addHubUrls(array(
-    'http://pubsubhubbub.appspot.com/', 
+    'http://pubsubhubbub.appspot.com/',
     'http://hubbub.example.com',
 ));
 $publisher->addUpdatedTopicUrls(array(
-    'http://www.example.net/rss', 
+    'http://www.example.net/rss',
     'http://www.example.net/atom',
 ));
 $publisher->notifyAll();
@@ -178,7 +178,7 @@ if (!$publisher->isSuccess()) {
             temporary downtime or Publisher errors/downtime.
         </para>
     </sect2>
-    
+
     <sect2 id="zend.feed.pubsubhubbub.zend.feed.pubsubhubbub.subscriber">
         <title>Zend_Feed_Pubsubhubbub_Subscriber</title>
 
@@ -276,7 +276,7 @@ if (!$publisher->isSuccess()) {
                 This custom adapter may be as simple in intent as changing the table name to use or as
                 complex as you deem necessary.
             </para>
-            
+
             <para>
                 While this Model is offered as a default ready-to-roll solution, you may create your
                 own Model using any other backend or database layer (e.g. Doctrine) so long as the
@@ -323,7 +323,7 @@ if (!$publisher->isSuccess()) {
                                     URI path which is more difficult to implement in a Zend Framework
                                     application.
                                 </para>
-                                
+
                                 <para>
                                     Nevertheless, since not all Hubs support query string parameters,
                                     we still strongly recommend adding the subscription key as a path component
@@ -544,10 +544,10 @@ if (!$publisher->isSuccess()) {
                 </para>
             </important>
         </sect3>
-        
+
         <sect3 id="zend.feed.pubsubhubbub.zend.feed.pubsubhubbub.subscriber.setting.up.and.using.a.callback.url.route">
             <title>Setting Up And Using A Callback URL Route</title>
-            
+
             <para>
                 As noted earlier, the <classname>Zend_Feed_Pubsubhubbub_Subscriber_Callback</classname>
                 class receives the combined key associated with any subscription from the Hub via one
@@ -558,21 +558,21 @@ if (!$publisher->isSuccess()) {
                 recommended to use the most compatible means of adding this key to the Callback URL
                 by appending it to the URL's path.
             </para>
-            
+
             <para>Thus the URL http://www.example.com/callback?xhub.subscription=key would become
             http://www.example.com/callback/key.</para>
-            
+
             <para>Since the query string method is the default in anticipation of a greater level
             of future support for the full 0.2 specification, this requires some additional work
             to implement.</para>
-            
+
             <para>The first step to to make the <classname>Zend_Feed_Pubsubhubbub_Subscriber_Callback</classname>
             class aware of the path contained subscription key. It's manually injected therefore
             since it also requires manually defining a route for this purpose. This is achieved simply by
             called the method <methodname>Zend_Feed_Pubsubhubbub_Subscriber_Callback::setSubscriptionKey()</methodname>
             with the parameter being the key value available from the Router. The example below
             demonstrates this using a Zend Framework controller.</para>
-            
+
             <programlisting lang="php"><![CDATA[
 class CallbackController extends Zend_Controller_Action
 {
@@ -607,12 +607,12 @@ class CallbackController extends Zend_Controller_Action
 
 }
     ]]></programlisting>
-    
+
         <para>Actually adding the route which would map the path-appended key
         to a parameter for retrieval from a controller can be accomplished using
         a Route configuration such as the INI formatted example below for use
         with <classname>Zend_Application</classname> bootstrapping.</para>
-        
+
         <programlisting language="dosini"><![CDATA[
 ; Callback Route to enable appending a PuSH Subscription's lookup key
 resources.router.routes.callback.route = "callback/:subkey"
@@ -620,7 +620,7 @@ resources.router.routes.callback.defaults.module = "default"
 resources.router.routes.callback.defaults.controller = "callback"
 resources.router.routes.callback.defaults.action = "index"
 ]]></programlisting>
-            
+
         </sect3>
     </sect2>
 </sect1>