Need some work done? Post a Project Today
I need a guy that specifically is really good with PHP and SimplePie. I've got several small questions and modifications that need to be done. I'll describe them below to prevent people from bidding...that probably shouldn't be bidding.
I installed SimplePie on a linux server...and am working with it straight-up... (no wordpress or anything) It's functioning fine on it's own. And is installed at /httpdocs
I'm using the latest version at : http://simplepie.org/downloads/
#1 I've got pagination setup with SimplePie identical to this script :
So that I can click 'next page' and display more rss items / articles.
I've already got that functional with my 1 page script..., the only issue is it DOESN'T seem to keep the articles for a long time. EVEN when I specified unlimited items / articles. Maybe there is a place in SimplePie I need to edit a particular cache setting to keep these items FOREVER so that they display forever ? For example, if I want 500 or 1000 total items to appear.....I want them to stay in there until 1000 is reached. But I can only seem to keep them stored until 85 items are stored....then it overwrites them. I want A LOT to be stored and for a long time.
I have set : $feed->set_item_limit(500);
and : $max = $feed->get_item_quantity(500);
but still only 85 gets stored only....and then new items overwrite the old ones. I don't want them to overwrite. I want total number to get to 500 or 1000.
setting set_cache_duration doesn't fix any of this.
#2 I would like to add a banner of my own after the first 5 items / articles of each feed page. I need a custom little script for that.
#3 and finally I need some help configuring the get_content(); ?> aspect of the script.
For example for the get permalink aspect just above it. ( The Title / Link part) I have it setup like this :
get_permalink()) echo 'get_permalink() . '" rel="nofollow" target="_blank">'; echo $item->get_title(true); if ($item->get_permalink()) echo ''; ?>
So that the Title / Link of each rss item will be in tag. And the link will also be "rel=nofollow" and target="_blank" . (so that link opens in new window...and that search engines don't follow the external link)
I would like to do the same with get_content(); ?> , but can't figure out.... Since get_content with some feeds display image and link and description.. (all 3) and it's hard to configure the for get_content to do the same with "rel=nofollow" and target="_blank" if some feed displays just image and no link...and some feed displays just description. I want to make sure all links within get_content are "rel=nofollow" and target="_blank" as well. Currently my full get_content code looks like this :
I only have budget between $30 and $50 for this.