mirror of
https://github.com/php/presentations.git
synced 2026-03-24 07:32:11 +01:00
17 lines
584 B
XML
17 lines
584 B
XML
<slide title='Generating RSS'>
|
|
<blurb>
|
|
We will reuse the functions from a previous example to
|
|
convert our %sdphp_talks.xml% file into an RSS document,
|
|
using the RSSWriter class defined in %rss10.inc%.
|
|
</blurb>
|
|
<example title='rss_create.php'
|
|
type='php' fontsize='1.5em' marginleft='0.5em'
|
|
width='95%' examplebackground='#ffffaa' result='0'
|
|
outputbackground='#aaffff' rfontsize='1.2em'
|
|
filename='scripts/rss_create.php'/>
|
|
<example title='Output'
|
|
type='xml' fontsize='1em' marginleft='0.5em'
|
|
width='95%' examplebackground='#aaffff' result='0'
|
|
filename='data/sdphp_talks.rss'/>
|
|
</slide>
|