|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MagpieRSS Headline Limits
Hey everyone. Need some help. I'm currently using magpieRSS for news feeds on my site (www.thegeekreport.net) and i want to limit the number of headlines that spew out of the feed. i found this code that i believe should help...
$num_items = 10; $rss = fetch_rss($url); $items = array_slice($rss->items, 0, $num_items); But i have no idea where to insert it at. I've tried so many things and i'm ready to put my foot through this monitor. Any help would be most righteous. thanks a bunch! |
|
#2
|
|||
|
|||
|
did u try
$num_items = 5; |
|
#3
|
|||
|
|||
|
Quote:
I would try that, but i have no idea where to put it. What page would that code go on? |
![]() |
| Viewing: SEO Chat Forums > Search Engine Strategies > Blogs, Tagging, RSS Feeds > MagpieRSS Headline Limits |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|