mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
15 years ago | |
|---|---|---|
| .. | ||
| smarty_plugin | 15 years ago | |
| templates | 15 years ago | |
| README | 15 years ago | |
| magpie_debug.php | 15 years ago | |
| magpie_simple.php | 15 years ago | |
| magpie_slashbox.php | 15 years ago | |
| simple_smarty.php | 15 years ago | |
README
Some example on how to use Magpie:
* magpie_simple.php *
Simple example of fetching and parsing an RSS file. Expects to be
called with a query param 'rss_url=http://<some rss file>'
* simple_smarty.php *
Similiar to magpie_simple, but using the Smarty template engine to do
display. Also demostrates using rss_utils.inc and a smarty plugin to
parse and display when each RSS item was published.
* magpie_debug.php *
Displays all the information available from a parsed feed.
* smarty_plugin/modifier.rss_date_parse.php *
A Smarty plugin for parsing RSS style dates. You must include rss_utils.inc
for this plugin to work. It also must be installed in the Smarty plugin
directory, see the Smarty docs for details.
* templates/simple.smarty
A Smarty template used by simple_smarty.php which demostrates
displaying an RSS feed and using the date parse plugin.
The Smarty template engine and documentation on how to use it are available from
http://smarty.php.net