Added some more CDATA tags after Thinkdunes errors master
authorLaury GvR <laury@gaslightmedia.com>
Thu, 5 May 2016 14:18:20 +0000 (10:18 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 5 May 2016 14:18:20 +0000 (10:18 -0400)
tmp/wordPress.tpl

index 6b55223..64c3c87 100644 (file)
@@ -41,8 +41,8 @@
     <generator>http://wordpress.org/?v=4.3.1</generator>
     {foreach $data as $row}
     <item>
-        <title>{$row.title}</title>
-        <link>http://{$siteUrl}/{$row.ping_name}/</link>
+        <title><![CDATA[{$row.title}]]></title>
+        <link><![CDATA[http://{$siteUrl}/{$row.ping_name}/]]></link>
         <pubDate>{$row.pubDate}</pubDate>
         <dc:creator><![CDATA[Steve]]></dc:creator>
         <guid isPermaLink="false">http://{$siteUrl}/?p={$row.id}</guid>
@@ -54,7 +54,7 @@
         <wp:post_date_gmt>{$row.pr_date}</wp:post_date_gmt>
         <wp:comment_status>closed</wp:comment_status>
         <wp:ping_status>open</wp:ping_status>
-        <wp:post_name>{$row.ping_name}</wp:post_name>
+        <wp:post_name><![CDATA[{$row.ping_name}]]></wp:post_name>
         <wp:status>publish</wp:status>
         <wp:post_parent>0</wp:post_parent>
         <wp:menu_order>0</wp:menu_order>