<rnadt func=bstage08_sql_select sentence="SELECT to_char(now(), 'Dy, DD Mon YYYY HH24:MI:SS' || ' +0300')" col_var_prefix="date_now"><rnadt func=bstage08_sql_select sentence="SELECT c.name, 'http://www.sukeltaja.fi/content/fi/11501/' || c.ext_id || '/857/857.html', replace(replace(substr(c.data,0,200),'<','&lt;'),'>','&gt;') || '...', to_char(c.visible_start, 'Dy, DD Mon YYYY HH24:MI:SS' || ' +0300') FROM content c, content_ref_parent crp WHERE crp.ext_id=c.ext_id AND crp.parent_ext_id=850 AND c.type_id=40014 AND c.visible_start < now() AND (c.visible_end > now() OR c.visible_end IS NULL) ORDER BY visible_start DESC LIMIT 10" col_var_prefix="news" row_count_var="row_count"><?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">

  <channel>
    <title>Blogikirjoitukset - Sukeltaja.fi</title>
    <link>http://www.sukeltaja.fi/content/fi/11501/821/Blogit.html</link>
    <description>Blogikirjoitukset - Sukeltaja.fi - RSS</description>
    <language>fi</language>
    <pubDate><rnadt func=bstage08_print_str str="$(date_now0:1)"></pubDate>
    <lastBuildDate><rnadt func=bstage08_print_str str="$(date_now0:1)"></lastBuildDate>
    <ttl>180</ttl>
    <image>
      <url>http://www.sukeltaja.fi/files/gif/1424/LogoWidth106px.gif</url>
      <title>Sukeltaja.fi</title>
      <link>http://www.sukeltaja.fi/content/fi/11501/821/Blogit.html</link>
    </image>

<rnadt func=bstage08_content_loop for_i_from=1 for_i_to=$(row_count) for_i_inc=1 type_id=11508 ext_id=889 lang=fi no_structure=true>

  </channel>
</rss>