magpie templates. SMARTY examplesls
[moodle.git] / rss / magpie / scripts / README
CommitLineData
b6442a5e 1Some example on how to use Magpie:
2
3* magpie_simple.php *
4 Simple example of fetching and parsing an RSS file. Expects to be
5 called with a query param 'rss_url=http://<some rss file>'
6
7* simple_smarty.php *
8 Similiar to magpie_simple, but using the Smarty template engine to do
9 display. Also demostrates using rss_utils.inc and a smarty plugin to
10 parse and display when each RSS item was published.
11
12* magpie_debug.php *
13 Displays all the information available from a parsed feed.
14
15* smarty_plugin/modifier.rss_date_parse.php *
16
17 A Smarty plugin for parsing RSS style dates. You must include rss_utils.inc
18 for this plugin to work. It also must be installed in the Smarty plugin
19 directory, see the Smarty docs for details.
20
21* templates/simple.smarty
22 A Smarty template used by simple_smarty.php which demostrates
23 displaying an RSS feed and using the date parse plugin.
24
25
26The Smarty template engine and documentation on how to use it are available from
27http://smarty.php.net