Box feed

Example

<vte:box module="box_feed">
    <vte:params>
        <vte:param name="url" value="FEED_URL" />
        <vte:param name="limit" value="10" />
        <vte:param name="time" value="2" />
    </vte:params>
    <vte:template>
        <ul>
            <vte:foreach item="feed" from="{feed_list}">
                <vte:foreach item="media" from="{feed.get_enclosures}">
                    <li>
                        <vte:value select="{feed.get_title}" />
                    </li>
                </vte:foreach>
            </vte:foreach>
        </ul>
    </vte:template>
</vte:box>

Box parameters

Parameter name Value Description
url string Feed URL
time integer Caching time

Search parameters

Parameter name Value Description
limit integer number of feed items to process

Assignments:

Parameter name Value Description
feed_list array each item is an SimplePie feed_item object
 
devdoc/modules/box_feed.txt · Last modified: 2008/11/07 03:33 by milana
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki