homepage Welcome to WebmasterWorld Guest from 54.205.254.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
Help with Magpierss RSS Feed
Help with Magpierss RSS Feed
Miva




msg:3283603
 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!

 

bill




msg:3300856
 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]
  • weppos




    msg:3310295
     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.

    Global Options:
     top home search open messages active posts  
     

    Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
    rss feed

    All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
    Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
    WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
    © Webmaster World 1996-2014 all rights reserved