[ php-blog-Bugs-1700319 ] Partial RSS feeds broken
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1700319, was opened at 2007-04-13 13:25
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1700319&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Syndication Feeds
Group: None
>Status: Closed
Resolution: Remind
Priority: 2
Private: No
Submitted By: John Goerzen (jgoerzen)
Assigned to: Garvin Hicking (garvinhicking)
Summary: Partial RSS feeds broken
Initial Comment:
This is breaking interaction with planet.
s9y's handling of partial rss feeds (detecting what to send based on the http request) is broken because it looks at the story date, not at the actual date the item was flipped from draft to published (or created in published state). This causes some items to be omitted if the entry date is enough older than the date it was made publically available.
This diff is a workaround:
--- a/rss.php Tue Mar 13 23:06:40 2007 -0500
+++ b/rss.php Fri Apr 13 15:20:45 2007 -0500
@@ -103,7 +103,7 @@ default:
// Fetch all entries in reverse order for later importing. Fetch sticky entries as normal entries.
$entries = serendipity_fetchEntries(null, true, '', false, false, 'id ASC', '', false, true);
} else {
- $entries = serendipity_fetchEntries(null, true, $serendipity['RSSfetchLimit'], false, (isset($modified_since) ? $modified_since : false), 'timestamp DESC', '', false, true);
+ $entries = serendipity_fetchEntries(null, true, $serendipity['RSSfetchLimit'], false, false, 'timestamp DESC', '', false, true);
}
break;
}
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2007-04-28 19:20
Message:
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Garvin Hicking (garvinhicking)
Date: 2007-04-14 03:32
Message:
Logged In: YES
user_id=473563
Originator: NO
Hi!
Did you have a look at the option "Activate strict RFC2616 RSS-Feed
compliance" of the syndication plugin?
Planets send a strange mixture of Last-Modified headers and can't properly
deal with the s9y output and unify articles. The option above was created
for those planets.
You might also want to submit your RSS-feed URLs to planets using the
?nocache=true option?
HTH,
Garvin
----------------------------------------------------------------------
Comment By: John Goerzen (jgoerzen)
Date: 2007-04-13 13:32
Message:
Logged In: YES
user_id=491567
Originator: YES
I may have mis-guessed the cause; the actual problem could be earlier
where there is a 304 returned. Or perhaps both are occuring.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1700319&group_id=75065
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/