# XML news feed control

**URL:** <https://forum.kirupa.com/t/xml-news-feed-control/175901>\
**Category:** programming\
**Created:** [January 18, 2006, 6:42pm UTC](https://forum.kirupa.com/t/xml-news-feed-control/175901 "2006-01-18T18:42:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![camargo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/camargo/32/1363_2.png) [@camargo](https://forum.kirupa.com/u/camargo)\
**Post date:** [January 18, 2006, 6:42pm UTC](https://forum.kirupa.com/t/xml-news-feed-control/175901/1 "2006-01-18T18:42:03Z")

</div>

Hello fellow Kirupan’s!

I come to you with another simple question. I’m developing a section of a PHP page with an XSLT fragment. I’ve been using the Dreamweaver 8 tutorials online, which have been great so far. But here’s the question:

**I have a section on the front page of my site. How do I have this section automatically take the LAST two entries in the XML feed and display them? Its basically just a “Latest News” section that would pull what’s recent from an XML document with a full set of news items in it.**

[**Here’s the link to the site.**](http://www.wirelessinteractive.com) You can see the section I’m trying to develop. Right now it’s static.

I appreciate any input you all can provide!

Cheers!
