|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jul 2003
Posts: 431
|
MagpieRSS help or other RSS parser
Hi everyone,
I am trying to figure out how to limit anumber of items to 10 in MagpieRSS but there is no documentation available May anyone please suggest the way or recommend another easier to use RSS aggregator ? |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: May 2005
Posts: 2,737
|
Most feeds are set to 10 items. Just look at phps array_* functions.
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Jul 2003
Posts: 431
|
$num_items = 10;
$rss = fetch_rss($url); $items = array_slice($rss->items, 0, $num_items) It doesnt working for some reason |
|
|
|