| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Help with Magpierss RSS Feed|
Help with Magpierss RSS Feed
| 9:54 am on Mar 16, 2007 (gmt 0)|
I have the Magpierrs with smarty all set up. Works great but can't truncate the description or control the amount of listings I get.
Can anyone help? Thanks!
| 9:23 am on Apr 3, 2007 (gmt 0)|
Welcome to WebmasterWorld Miva. Sorry that nobody has been able to help you out yet.
The Magpie FAQ has a section that seems to answer your question, at least in part: Limit the number of headlines (aka items) returned. [magpierss.sourceforge.net]
| 2:22 pm on Apr 13, 2007 (gmt 0)|
You can truncate the length of the description using PHP substr() function.
For instance, if print($description) prints the description, then print(substr($description, 0, 30)) will print out just the first 30 characters.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved