Nevermind. I figured it out! Inside the foreach loop that displays the items, I simply break after a counter has reached a certain point. $n = 1; foreach...
2056
Geoffrey Sneddon
gsnedders
Aug 5, 2008 3:44 pm
... Can you file a bug over at <http://bugs.simplepie.org>? Thanks! -- Geoffrey Sneddon <http://gsnedders.com/>...
2057
osieak
Aug 5, 2008 4:22 pm
So is there something I should be doing to massage the data, is this a SimplePie bug, or an issue for the feed owner? ... ...
2058
Geoffrey Sneddon
gsnedders
Aug 5, 2008 4:49 pm
... Both of the last two (it should fall in to our error handling for the real world, but it really should be fixed in the feed). -- Geoffrey Sneddon ...
2059
osieak
Aug 5, 2008 4:57 pm
Geoffrey, Ok, thanks. Maybe Mike can better word the support ticket though. After all, he's the one doing the autopsy. Mike, can you submit the SP ticket for...
2060
Geoffrey Sneddon
gsnedders
Aug 5, 2008 7:10 pm
... You submit the ticket — the extra detail can be done as a comment — you can find out the information about your server better than he can. -- Geoffrey...
2061
osieak
Aug 5, 2008 7:57 pm
This issue has no relation to a "server". But ok, I'll simply reiterate what Mike has discovered in SP....
2062
osieak
Aug 5, 2008 8:03 pm
I don't feel like creating yet another login for bugs.simplepie.org, so I won't be submitting this till it uses OpenID authentication. ... the SP...
2063
Ryan Parman
skyzyxufks
Aug 5, 2008 8:09 pm
Seriously? I know it's a pain to have one more login. I'm a huge OpenID supporter myself. But we need to keep track of issues that need to be fixed. Bugs that...
2064
osieak
Aug 5, 2008 10:47 pm
Fineeeee. I'll do it....
2065
jazone77
Aug 6, 2008 12:18 am
Hello, I'm a relative newbie to web development & SimplePie. Can you someone please explain how I can add the 'nofollow39; attribute to all my SimplePie links...
2066
Michael Shipley
michael_ship...
Aug 6, 2008 5:40 am
Click on the link below. Jump down to Elements. There you will find the SP code to extract the data: ...
Did you get this fixed because it look like its working now? Michael P. Shipley www.michaelpshipley.com <http://www.michaelpshipley.com>...
2069
Graham Lampa
hammerikaner
Aug 6, 2008 3:41 pm
Yes, got that fixed. But here's another one for you: On this page : http://www.hhh.umn.edu/centers/cspg/index2.php These blog headlines under "Smart Politics"...
2070
Ryan Parman
skyzyxufks
Aug 7, 2008 12:26 am
Unless, of course, you're talking about the links inside the content of the item, in which case it's a bit trickier. On the point of "nofollow" helping or...
2071
Ryan Parman
skyzyxufks
Aug 7, 2008 12:32 am
On the first issue, you can set start and length parameters in get_items() <http://ref.simplepie.org/get_items>. On the second issue, you just need to make...
2072
Ryan Parman
skyzyxufks
Aug 7, 2008 12:45 am
Do you mean the feed title? {FEED_TITLE} ... -- Ryan Parman <http://ryanparman.com>...
2073
blueprintinternet
blueprintint...
Aug 7, 2008 8:10 am
Sorry, I must not be making this clear. Here's the issue: When I tested my site using the Newsblock demo each feed source had a nice short title. For example,...
2074
Ovidiu EFTIMIE
ovidiu_eftimie
Aug 7, 2008 9:06 am
Hi , is there a way to get the id field from an Atom feed ? <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" ...
2075
Michael Shipley
michael_ship...
Aug 7, 2008 9:39 am
<?php require 'simplepie.inc'; $feed = new SimplePie(); $feed->set_feed_url($feedUrl); $feed->init(); foreach($feed->get_items() as $item) { $item->get_id(); }...
2076
greencurmudgeon
Aug 7, 2008 10:03 am
Hi - I've attempted to install SimplePie Core onto my webserver (the server is compatible, this has been checked) in my Wordpress 2.6 installation - activating...
2077
Michael Shipley
michael_ship...
Aug 7, 2008 10:26 am
I just upgraded WordPress on my local dev server to ver 2.6 and SP Core ver 1.1.1 still works for me. Try deactivating all your plugins then activating just SP...
2078
Sam
smoothgroover22
Aug 7, 2008 10:35 am
Hello, I have got SimplePie to work on my home page, and followed the instructions in another post on here to display the last 5 posts, however for some reason...
2079
Michael Shipley
michael_ship...
Aug 7, 2008 10:59 am
Which feed is it? Are you calling enable_order_by_date(false) by any chance? Paste the code to http://simplepie.pastebin.com/ so we can look at it. Michael P....
2080
Sam
smoothgroover22
Aug 7, 2008 12:08 pm
Code is in http://simplepie.pastebin.com/f2f214763 Should I be using this enable_order_by_date code too?...
2081
Michael Shipley
michael_ship...
Aug 7, 2008 12:35 pm
Your code looks ok to me. The posts are being sorted in reverse chonological order by SP, meaning newest posts are first. This isn't what you want? Here is the...
2082
moppeligan
Aug 7, 2008 2:08 pm
Hi, okey, i don't really know how to explain this but i'l give it a try. First of all, i am using ...
2083
Graham Lampa
hammerikaner
Aug 7, 2008 2:32 pm
Hi Ryan, ... That's exactly what I *don't* want to do. Since I am taking the Google Calendar feed, it lists posts in most recently added order. I wanted them...
2084
Sam
smoothgroover22
Aug 7, 2008 2:38 pm
I must be going a bit crazy... I did change it from 5 to 10 earlier today, as it wasn't showing the new posts, I just changed it back to 5 from 10 just now and...