mature-nl

get_item_quantity(10);
$rss_items=$rss->get_items(0,$maxitems)

?>

    No items.

    “;
    else
    echo ‘max items==’.$maxitems.’
    ‘;
    foreach($rss_items as $item ):

    //echo $item->get_content();
    echo ‘
    —–@@@—–
    ‘;

    //$pattern=’/(.+?)<\/link>/’;
    //$pattern=’/a href=”(.+?)”/’;
    //$pattern=’/(.+?)<\/item>/’;
    //$pattern=’/(.+?)<\/content:encoded>/’;
    $pattern=’/(.+?)<\/title>/’;</p> <p>$link=preg_match($pattern,$item->get_content(),$match);<br /> //$link=preg_match($pattern,$item->get_content(),$match);</p> <p>//echo ‘match=====’.$match[1];<br /> //echo $item.’<br />—0—<br />‘;</p> <p>echo $item->get_content();</p> <p>echo ‘<br />‘;<br /> echo ‘<a href="'; echo $item->get_link();<br /> echo ‘”>’;<br /> echo $item->get_title();<br /> echo ‘</a>‘;</p> <p>echo ‘<br />‘;</p> <p>//echo $match[1].’<br />–kk–<br />‘;<br /> //echo $item->get_title();</p> <p>if ($enclosure = $item->get_enclosure())<br /> {<br /> foreach ((array) $enclosure->get_thumbnails() as $thumbnail)<br /> {<br /> // echo $thumbnail;<br /> //echo $enclosure->get_link();<br /> //echo $item->get_content();<br /> //echo $enclosure->get_type();</p> <p> }<br /> }</p> <p>?></p> <li> <a href="<?php //echo $match[1]; ?>” title=”<?php //echo $item->get_date(‘j F Y I g:i a’); ?>”></p> <p><?php //echo $item->get_title(); ?></a></p> <p><?php echo '<br />‘;</p> <p>?></p> </li> <p><?php endforeach; ?></p> </ul> </div><!-- .entry-content --> <footer class="entry-meta"> </footer><!-- .entry-meta --> </article><!-- #post-2270 --> <div id="comments"> </div><!-- #comments --> </div><!-- #content --> </div><!-- #primary --> </div><!-- #main --> <footer id="colophon" role="contentinfo"> <div id="site-generator"> <a href="https://wordpress.org/" class="imprint" title="Semantic Personal Publishing Platform"> Proudly powered by WordPress </a> </div> </footer><!-- #colophon --> </div><!-- #page --> </body> </html>