PDA

View Full Version : external.php - xml - lastpost - INCLUDE A POST PREVIEW


BlueChipEarth
07-23-2009, 02:47 PM
How can I alter external.php to return XML, last post in the thread but ALSO include a short preview of the post, just like the RSS2 returns?

in other words, I want to go to http://www.boatpittsburgh.com/forums/external.php?type=xml&lastpost=true

But instead of the stupid forum description, I want the description to include a post preview.

I can't seem to get this code to do ANYTHING different than what it's doing. I went through and commented out all mentions of the word "description" and still it prints out the description tag with all the information in it. How is this even logically possible, if I've commented out all the code regarding description!?

I've tried everything, the next step is going to be walking out into the street and start punching people in the face, and see if that works.

Who wants to prevent some violence in the streets of Pittsburgh today?

Please help me, I'm at the end of my rope.

Zachery
07-23-2009, 03:43 PM
<?xml version="1.0" encoding="ISO-8859-1" ?>
- (http://www.boatpittsburgh.com/forums/external.php?type=xml&lastpost=true#) <source>
<url>http://www.boatpittsburgh.com/forums/</url>

- (http://www.boatpittsburgh.com/forums/external.php?type=xml&lastpost=true#) <thread id="385">
<title>Homestead Volunteer Fire Company Help</title>

<author>DiveBoat</author>

- (http://www.boatpittsburgh.com/forums/external.php?type=xml&lastpost=true#) <++++this>
- (http://www.boatpittsburgh.com/forums/external.php?type=xml&lastpost=true#) <![CDATA[ Good Idea Chuck,Here is the link for Homestead Volunteer Fire Company - PayPal Donations Page. http://www.homesteadvfd.com/index.php If you are willing to help the Volunteers with a money contribution going towards River Rescue Equipment, please visit our website. Also, if you have new or used equipment that you wish to help us with, we are very thankful to you.Be assured that your Tax Deductable Contribution will help us during River Rescue Operations on the Mon & Yough Rivers, and we hope to get underway soon. ]]>
</++++this>I see the preview in the xml code