telophase: (Near - que?)
I'm trying to convert an ASP RSS parsing script from reading *every* item in an RSS feed to just reading the 3 most recent items. The original script uses a FOR EACH loop that I'm just not quite figuring out how to change over to a regular loop that I can go through three times.

I did find a version of this online that just breaks it after three iterations, but there's got to be a better way than that. Right?

Cut for code )
telophase: (shikamaru - screw you i'm going home)
...and if wo, can you tell me what's wrong with this )

Expand Cut Tags

No cut tags