Просмотр исходного кода

[ZF-9290]: better correction for compilation errors

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21256 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael 16 лет назад
Родитель
Сommit
0fdb6c8ee4
1 измененных файлов с 38 добавлено и 38 удалено
  1. 38 38
      documentation/manual/en/module_specs/Zend_Feed_Writer.xml

+ 38 - 38
documentation/manual/en/module_specs/Zend_Feed_Writer.xml

@@ -138,47 +138,47 @@ $out = $feed->export('atom');
             The output rendered should be as follows:
         </para>
 
-        <programlisting language="xml">
-&lt;?xml version="1.0" encoding="utf-8"?>
-&lt;feed xmlns="http://www.w3.org/2005/Atom">
-    &lt;title type="text">Paddy's Blog&lt;/title>
-    &lt;subtitle type="text">Writing about PC Games since 176 BC.&lt;/subtitle>
-    &lt;updated>2009-12-14T20:28:18+00:00&lt;/updated>
-    &lt;generator uri="http://framework.zend.com" version="1.10.0alpha">
+        <programlisting language="xml"><![CDATA[
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+    <title type="text">Paddy's Blog</title>
+    <subtitle type="text">Writing about PC Games since 176 BC.</subtitle>
+    <updated>2009-12-14T20:28:18+00:00</updated>
+    <generator uri="http://framework.zend.com" version="1.10.0alpha">
         Zend_Feed_Writer
-    &lt;/generator>
-    &lt;link rel="alternate" type="text/html" href="http://www.example.com"/>
-    &lt;link rel="self" type="application/atom+xml"
+    </generator>
+    <link rel="alternate" type="text/html" href="http://www.example.com"/>
+    <link rel="self" type="application/atom+xml"
         href="http://www.example.com/atom"/>
-    &lt;id>http://www.example.com&lt;/id>
-    &lt;author>
-        &lt;name>Paddy&lt;/name>
-        &lt;email>paddy@example.com&lt;/email>
-        &lt;uri>http://www.example.com&lt;/uri>
-    &lt;/author>
-    &lt;link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
-    &lt;entry>
-        &lt;title type="html">&lt;![CDATA[All Your Base Are Belong To Us]]&gt;&lt;/title>
-        &lt;summary type="html">
-            &lt;![CDATA[Exposing the difficultly of porting games to English.]]&gt;
-        &lt;/summary>
-        &lt;published>2009-12-14T20:28:18+00:00&lt;/published>
-        &lt;updated>2009-12-14T20:28:18+00:00&lt;/updated>
-        &lt;link rel="alternate" type="text/html"
+    <id>http://www.example.com</id>
+    <author>
+        <name>Paddy</name>
+        <email>paddy@example.com</email>
+        <uri>http://www.example.com</uri>
+    </author>
+    <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
+    <entry>
+        <title type="html"><![CDATA[All Your Base Are Belong To Us]]]]><![CDATA[></title>
+        <summary type="html">
+            <![CDATA[Exposing the difficultly of porting games to English.]]]]><![CDATA[>
+        </summary>
+        <published>2009-12-14T20:28:18+00:00</published>
+        <updated>2009-12-14T20:28:18+00:00</updated>
+        <link rel="alternate" type="text/html"
              href="http://www.example.com/all-your-base-are-belong-to-us"/>
-        &lt;id>http://www.example.com/all-your-base-are-belong-to-us&lt;/id>
-        &lt;author>
-            &lt;name>Paddy&lt;/name>
-            &lt;email>paddy@example.com&lt;/email>
-            &lt;uri>http://www.example.com&lt;/uri>
-        &lt;/author>
-        &lt;content type="html">
-            &lt;![CDATA[I am not writing the article.
-                     The example is long enough as is ;).]]&gt;
-        &lt;/content>
-    &lt;/entry>
-&lt;/feed>
-</programlisting>
+        <id>http://www.example.com/all-your-base-are-belong-to-us</id>
+        <author>
+            <name>Paddy</name>
+            <email>paddy@example.com</email>
+            <uri>http://www.example.com</uri>
+        </author>
+        <content type="html">
+            <![CDATA[I am not writing the article.
+                     The example is long enough as is ;).]]]]><![CDATA[>
+        </content>
+    </entry>
+</feed>
+]]></programlisting>
 
         <para>
             This is a perfectly valid Atom 1.0 example. It should be noted that omitting an