XoopsModules25x/lexikon

View on GitHub
EXTRA/themes/xbootstrap5/modules/lexikon/lx_rss.tpl

Summary

Maintainability
Test Coverage
<{if $xoops_rsscss}>
<{*<?xml-stylesheet type="text/css" href="<{$xoops_themecss}>"?>*}>
<{/if}>
<rss version="2.0">
    <channel>
        <title><{$channel_title}>
        </title>
        <link><{$channel_link}>
        
        <description><{$channel_desc}>
        </description>
        <lastbuilddate><{$channel_lastbuild}>
        </lastbuilddate>
        <docs>http://backend.userland.com/rss/</docs>
        <generator><{$channel_generator}>
        </generator>
        <category><{$channel_category}>
        </category>
        <managingeditor><{$channel_editor}>
        </managingeditor>
        <webmaster><{$channel_webmaster}>
        </webmaster>
        <language><{$channel_language}>
        </language>
        <{if $image_url != ""}>
            <img>
                <title><{$channel_title}>
                </title>
                <url><{$image_url}>
                </url>
                <link><{$channel_link}>
                
                <width><{$image_width}>
                </width>
                <height><{$image_height}>
                </height>
            
        <{/if}>
        <{foreach item=item from=$items}>
            <item>
                <title><{$item.title}>
                </title>
                <link><{$item.link}>
                
                <description><{$item.description}>
                </description>
                <pubdate><{$item.pubdate}>
                </pubdate>
                <guid><{$item.guid}>
                </guid>
            </item>
        <{/foreach}>
    </channel>
</rss>