Welcome Guest, Not a member yet? Register   Sign In
Pagination SimplePie RSS
#1

[eluser]joeizang[/eluser]
hi y'all,

I wanted to ask, I have a div that I would want to place RSS feeds from the BBC or CNN. Now that works but I wanted to paginate the feeds that come in, display 5 at a time with the others showing when the links are clicked. I am starting to write the code now but I was hoping I would get either inspiration or have an example I could glean from.
#2

[eluser]Jamie Rumbelow[/eluser]
You'll have to download and cache the entire feed before paginating it and pulling it out locally - you can't query an RSS feed with an offset like you can a database.

Jamie
#3

[eluser]joeizang[/eluser]
Thanks jamie,

I have setup a cahe directory in my setup so I could do the pagination from that store if I catch your drift right? RSS is basically xml which is a data store so true I can't use an offset like you said but all other tasks possible with the pagination lib is possible, yes?!

Thanks again.




Theme © iAndrew 2016 - Forum software by © MyBB