| Line | |
|---|
| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <rss version="2.0"> |
|---|
| 3 | <channel> |
|---|
| 4 | <title><{$channel_title}></title> |
|---|
| 5 | <link><{$channel_link}></link> |
|---|
| 6 | <description><{$channel_desc}></description> |
|---|
| 7 | <lastBuildDate><{$channel_lastbuild}></lastBuildDate> |
|---|
| 8 | <docs>http://backend.userland.com/rss/</docs> |
|---|
| 9 | <generator><{$channel_generator}></generator> |
|---|
| 10 | <category><{$channel_category}></category> |
|---|
| 11 | <managingEditor><{$channel_editor}></managingEditor> |
|---|
| 12 | <webMaster><{$channel_webmaster}></webMaster> |
|---|
| 13 | <language><{$channel_language}></language> |
|---|
| 14 | <{if $image_url != ""}> |
|---|
| 15 | <image> |
|---|
| 16 | <title><{$channel_title}></title> |
|---|
| 17 | <url><{$image_url}></url> |
|---|
| 18 | <link><{$channel_link}></link> |
|---|
| 19 | <width><{$image_width}></width> |
|---|
| 20 | <height><{$image_height}></height> |
|---|
| 21 | </image> |
|---|
| 22 | <{/if}> |
|---|
| 23 | <{foreach item=item from=$items}> |
|---|
| 24 | <item> |
|---|
| 25 | <title><{$item.title}></title> |
|---|
| 26 | <link><{$item.link}></link> |
|---|
| 27 | <description><{$item.description}></description> |
|---|
| 28 | <pubDate><{$item.pubdate}></pubDate> |
|---|
| 29 | <guid><{$item.guid}></guid> |
|---|
| 30 | </item> |
|---|
| 31 | <{/foreach}> |
|---|
| 32 | </channel> |
|---|
| 33 | </rss> |
|---|
Note: See
TracBrowser
for help on using the repository browser.