Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 521737

Summary: [feed] Offer shortened version of Eclipse News feed
Product: Community Reporter: Andreas Sewe <sewe>
Component: WebsiteAssignee: phoenix.ui <phoenix.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chris.guindon
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/104205
https://git.eclipse.org/r/104206
https://git.eclipse.org/r/104207
https://git.eclipse.org/r/104208
https://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=131dbded6f15bb2026e56b6084fe6440828a23ec
https://git.eclipse.org/c/www.eclipse.org/org.git/commit/?id=e883ef380c478789553c8dc8c2ffa8bf37a3a5da
https://git.eclipse.org/c/www.eclipse.org/home.git/commit/?id=1660c8b7a8d8735b92fb95682f44ebf85618c47b
https://git.eclipse.org/c/www.eclipse.org/community.git/commit/?id=35498abb9d331e3d541d14b973ab0e6f7469fb6b
Whiteboard:
Bug Depends on:    
Bug Blocks: 521539    

Description Andreas Sewe CLA 2017-09-01 05:05:34 EDT
The "Eclipse News" feed [1] currently is backed by <http://www.eclipse.org/community/news/2005newsarchive.rss>, which (as the name suggests) contains all 685 news items added since October 2005.

As the feed is huge (442 KB), any feed reader polling it has to download almost half a megabyte whenever it is updated.

IMHO, the "Eclipse News" feed [1] should be instead be backed by a feed that only contains, say, the 20 most recent items. A normal feed reader will keep older items still around even they "drop off" the latest polled RSS feed, so users won't see a difference -- unless they haven't polled for a *long* time (about 20 weeks at 1 post/week), in which case their local archive will contain a "hole". But, of course, we can still publish the complete archive under a different URI.

There's also another reason to shorten the official feed: FeedBurner won't poll (aka "burn") feeds larger than 1 MB [2], although that limit is admittedly still far away.

[1] <http://www.eclipse.org/home/eclipsenews.rss>
[2] <https://support.google.com/feedburner/answer/79009?hl=en>
Comment 1 Eclipse Genie CLA 2017-09-01 14:42:41 EDT
New Gerrit change created: https://git.eclipse.org/r/104205
Comment 2 Eclipse Genie CLA 2017-09-01 14:43:55 EDT
New Gerrit change created: https://git.eclipse.org/r/104206
Comment 3 Eclipse Genie CLA 2017-09-01 14:44:47 EDT
New Gerrit change created: https://git.eclipse.org/r/104207
Comment 4 Eclipse Genie CLA 2017-09-01 14:45:30 EDT
New Gerrit change created: https://git.eclipse.org/r/104208
Comment 5 Christopher Guindon CLA 2017-09-01 15:11:54 EDT
I made a few patches to address this issue:

community.git: https://git.eclipse.org/r/#/c/104205/
1. Created 2 new rss feed for old items (archives/news.rss & archives/inthenews.rss)
2. Removed old items from current feed. I kept 20 items.
3. Updated the implementation of the Feedparser Class to support the new api.

eclispe.org-common.git: https://git.eclipse.org/r/#/c/104206/
1. I made the changes to the Feedparser Class
2. I am breaking it's previous API.

home.git https://git.eclipse.org/r/#/c/104207/
1. Updated the implementation of the Feedparser Class to support the new api.

org.git: https://git.eclipse.org/r/#/c/104208/
1. Updated the implementation of the Feedparser Class to support the new api.
Comment 6 Andreas Sewe CLA 2017-09-05 02:57:30 EDT
(In reply to Christopher Guindon from comment #5)
> I made a few patches to address this issue:

Thanks for looking into this, Chris.

Any estimate when this could go live? Two of the Gerrit changes already have a +2, with the other two at +1. I would still really like to be able to be able to point the News plug-in at a short RSS feed for Oxygen.1.
Comment 7 Christopher Guindon CLA 2017-09-05 09:00:19 EDT
(In reply to Andreas Sewe from comment #6)
> (In reply to Christopher Guindon from comment #5)
> > I made a few patches to address this issue:
> 
> Thanks for looking into this, Chris.
> 
> Any estimate when this could go live? Two of the Gerrit changes already have
> a +2, with the other two at +1. I would still really like to be able to be
> able to point the News plug-in at a short RSS feed for Oxygen.1.

I am on holidays today but I plan on making this available tomorrow or Thursday!
Comment 8 Andreas Sewe CLA 2017-09-05 09:03:19 EDT
(In reply to Christopher Guindon from comment #7)
> (In reply to Andreas Sewe from comment #6)
> > (In reply to Christopher Guindon from comment #5)
> > > I made a few patches to address this issue:
> > 
> > Thanks for looking into this, Chris.
> > 
> > Any estimate when this could go live? Two of the Gerrit changes already have
> > a +2, with the other two at +1. I would still really like to be able to be
> > able to point the News plug-in at a short RSS feed for Oxygen.1.
> 
> I am on holidays today but I plan on making this available tomorrow or
> Thursday!

Sounds great.

Have a nice extended Labour Day weekend!
Comment 13 Christopher Guindon CLA 2017-09-06 13:50:57 EDT
(In reply to Eclipse Genie from comment #12)
> Gerrit change https://git.eclipse.org/r/104205 was merged to [master].
> Commit:
> http://git.eclipse.org/c/www.eclipse.org/community.git/commit/
> ?id=35498abb9d331e3d541d14b973ab0e6f7469fb6b

The requested changed has been merged.

Our rss feed only includes a sub-set of all our news items:
https://www.eclipse.org/community/news/2005newsarchive.rss

Closing this bug!