mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
rss val
This commit is contained in:
parent
98b514f500
commit
c5c629e52f
@ -1,28 +1,22 @@
|
|||||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n"; ?>
|
<?php
|
||||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
header('Content-Type:text/xml; charset=UTF-8'); ?><?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"
|
||||||
|
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||||
<channel>
|
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||||
<title>Stikked</title>
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
<link><?php echo $feed_url; ?>
|
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||||
<description><?php echo $page_description; ?></description>
|
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
|
||||||
<dc:language><?php echo $page_language; ?></dc:language>
|
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||||
<dc:creator><?php echo $creator_email; ?></dc:creator>
|
><channel><title>Stikked</title> <atom:link href="<?php echo $feed_url; ?>" rel="self" type="application/rss+xml" /><link><?php echo $feed_url; ?></link> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency>
|
||||||
|
|
||||||
<dc:rights>Copyright <?php echo gmdate("Y", time()); ?></dc:rights>
|
|
||||||
<admin:generatoragent rdf:resource="http://www.codeigniter.com/">
|
|
||||||
|
|
||||||
<?php foreach($replies as $paste): ?>
|
<?php foreach($replies as $paste): ?>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<link><?php echo site_url('view/' . $paste['pid']) ?>
|
<title><?php echo $paste['title']; ?></title>
|
||||||
<guid><?php echo site_url('view/' . $paste['pid']) ?></guid>
|
<link><?php echo site_url('view/' . $paste['pid']) ?></link>
|
||||||
|
<pubDate><?php echo date('c', $paste['created']); ?></pubDate>
|
||||||
<description><[CDATA[ <?php echo $paste['paste']; ?> ]]></description>
|
<dc:creator><?php echo $paste['name']; ?></dc:creator>
|
||||||
<pubdate><?php echo $paste['created']; ?></pubdate>
|
<guid isPermaLink="false"><?php echo site_url('view/' . $paste['pid']) ?></guid>
|
||||||
|
<description><![CDATA[<?php echo $paste['paste']; ?>]]></description>
|
||||||
|
<content:encoded><![CDATA[<?php echo $paste['paste']; ?>]]></content:encoded>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</channel>
|
||||||
</admin:generatoragent></channel>
|
|
||||||
</rss>
|
</rss>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user