Bug 139579 - [Planet WebKit] Raise the number of posts per feed to import.
Summary: [Planet WebKit] Raise the number of posts per feed to import.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-12 01:49 PST by Carlos Alberto Lopez Perez
Modified: 2014-12-12 03:10 PST (History)
6 users (show)

See Also:


Attachments
Patch (1.25 KB, patch)
2014-12-12 01:52 PST, Carlos Alberto Lopez Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2014-12-12 01:49:11 PST
The number of posts to import for each feed on http://planet.webkit.org is set to 2 (new_feed_items = 2). This may make sense on some planets with tons of authors. But on planet webkit there are only 12 feeds, and almost half of them are already aggregators on its own that include posts from multiple authors on the same feed ("Adobe Web Platform", "Igalia WebKit", "Qt Labs", "Surfin’ Safari", "University of Szeged").


This causes some issues like:

 * The planet is still displaying posts from 2008!:
	http://www.atoker.com/blog/2008/06/12/webkit-meta-a-new-standard-for-in-game-web-content/
 
 * Very recent posts (< few months) are beeing discarded:
	http://blogs.adobe.com/webplatform/2014/10/27/adobe-web-platform-at-html5devconf/
	http://blogs.adobe.com/webplatform/2014/10/23/september-2014-extensible-web-summit/
	https://www.webkit.org/blog/3395/speedometer-benchmark-for-web-app-responsiveness/
	https://www.webkit.org/blog/3362/introducing-the-webkit-ftl-jit/
	http://blogs.igalia.com/zdobersek/2014/12/09/announcing-webkit-for-wayland/
	http://blog.ryumiel.net/articles/introducing-threaded-compositor/
	


items_per_page is set to 60. This means that the planet will display up to 60 posts on the main page.
But since there are only 12 feeds and only 2 posts per feed is allowed this means that the limit is never reached,
therefore really old posts from authors that don't blog anymore are never discarded meanwhile very recent posts from authors that blog often are discared.

So, let's raise this number to 6, and let the posts show on planet.webkit.org be discarded based on its age rather than an artificial limit of 2 per feed.
Comment 1 Carlos Alberto Lopez Perez 2014-12-12 01:52:35 PST
Created attachment 243187 [details]
Patch
Comment 2 Csaba Osztrogonác 2014-12-12 02:14:26 PST
Comment on attachment 243187 [details]
Patch

r=me, maybe you need to ask the admin of planet.webkit to apply this patch and clobber the cache.
Comment 3 Carlos Alberto Lopez Perez 2014-12-12 02:48:31 PST
Comment on attachment 243187 [details]
Patch

Clearing flags on attachment: 243187

Committed r177218: <http://trac.webkit.org/changeset/177218>
Comment 4 Carlos Alberto Lopez Perez 2014-12-12 02:48:41 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Carlos Alberto Lopez Perez 2014-12-12 02:49:56 PST
(In reply to comment #2)
> Comment on attachment 243187 [details]
> Patch
> 
> r=me, maybe you need to ask the admin of planet.webkit to apply this patch
> and clobber the cache.

Thanks!

Who is the admin of planet.webkit.org? Lucas?
Comment 6 Carlos Alberto Lopez Perez 2014-12-12 03:10:55 PST
Ok. Is already working :)