d47081
2 years ago
3 changed files with 25 additions and 16 deletions
@ -1,16 +1,21 @@
@@ -1,16 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
||||
<channel> |
||||
<atom:link href="<?php echo BASE_URL; ?>?rss" rel="self" type="application/rss+xml" /> |
||||
<title><?php echo $namespaceValue ? $namespaceValue : 'KVAZAR'; ?></title> |
||||
<channel> |
||||
<atom:link href="<?php echo BASE_URL; ?><?php echo ($ns ? $ns . '/rss' : |
||||
($query ? '?q=' . $query . '&rss' : 'rss')); ?>" rel="self" type="application/rss+xml"></atom:link> |
||||
<title><?php echo ($namespaceValue ? $namespaceValue : |
||||
($namespaceHash ? $namespaceHash : |
||||
($query ? $query : 'KVAZAR'))); ?></title> |
||||
<description>Observe Kevacoin Universe</description> |
||||
<link><?php echo BASE_URL; ?><?php echo ($ns ? $ns : ($query ? '?q=' . $query : false)); ?></link> |
||||
<?php foreach ($data as $item) { ?> |
||||
<item> |
||||
<title><?php echo $item['key']; ?></title> |
||||
<guid><?php echo BASE_URL; ?><?php echo $item['txid']; ?></guid> |
||||
<pubDate><?php echo $item['time']; ?></pubDate> |
||||
<description><?php echo $item['value']; ?></description> |
||||
<link><?php echo BASE_URL; ?><?php echo $item['txid']; ?></link> |
||||
</item> |
||||
<?php } ?> |
||||
</channel> |
||||
</channel> |
||||
</rss> |
Loading…
Reference in new issue