Reformatting feeds just for pretty sources
parent
a7d698b0d7
commit
bf26f52bb3
|
@ -20,7 +20,11 @@
|
||||||
<link href="<?=$entry->url?>" />
|
<link href="<?=$entry->url?>" />
|
||||||
<id><?=$entry->id?></id>
|
<id><?=$entry->id?></id>
|
||||||
<updated><?=$entry->date?></updated>
|
<updated><?=$entry->date?></updated>
|
||||||
<content type="html"><![CDATA[<?=$entry->content?>]]></content>
|
<content type="html">
|
||||||
|
<![CDATA[
|
||||||
|
<?=$entry->content?>
|
||||||
|
]]>
|
||||||
|
</content>
|
||||||
</entry>
|
</entry>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</feed>
|
</feed>
|
||||||
|
|
|
@ -11,7 +11,11 @@
|
||||||
<?php foreach ($items as $item): ?>
|
<?php foreach ($items as $item): ?>
|
||||||
<item>
|
<item>
|
||||||
<title><?=$item->title?></title>
|
<title><?=$item->title?></title>
|
||||||
<description><![CDATA[<?=$item->description?>]]></description>
|
<description>
|
||||||
|
<![CDATA[
|
||||||
|
<?=$item->description?>
|
||||||
|
]]>
|
||||||
|
</description>
|
||||||
<pubDate><?=$item->pub_date?></pubDate>
|
<pubDate><?=$item->pub_date?></pubDate>
|
||||||
<link><?=$item->url?></link>
|
<link><?=$item->url?></link>
|
||||||
<?php if ($has_author_email): ?>
|
<?php if ($has_author_email): ?>
|
||||||
|
|
Loading…
Reference in New Issue