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

Bug 205848

Summary: Header Menu RSS link override.
Product: Community Reporter: Nobody - feel free to take it <nobody>
Component: WebsiteAssignee: Denis Roy <denis.roy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy, nathan, phoenix.ui-inbox
Version: unspecifiedFlags: denis.roy: documentation+
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 202825    
Attachments:
Description Flags
Patch to override default RSS denis.roy: review?

Description Nobody - feel free to take it CLA 2007-10-09 14:13:35 EDT
In order to solve the request for RSS links(bug 205454), I'm suggesting we put in a page variable like $PageRSS so that we can override the default RSS link in the header.

This would allow us to generate the correct links for archive and news portal pages while preventing clutter.  It also seems like this would be more in line with peoples perception of what the RSS link on these pages should do.  

We could also use this to add some an RSS linktype in the header so that the RSS icon will appear in the browser navigation bar on browsers like firefox.

-M.
Comment 1 Denis Roy CLA 2007-10-15 10:42:25 EDT
Agreed. This should be a quick fix.
Comment 2 Nathan Gervais CLA 2007-10-15 11:22:35 EDT
+1
Comment 3 Denis Roy CLA 2007-10-15 13:17:26 EDT
Created attachment 80375 [details]
Patch to override default RSS

Patch to make this happen.  I tested this on our Phoenix sandbox.  If you get past the deprecated warnings of these pages:

http://phoenix.eclipse.org/downloads/rss-default.php
- notice the RSS icon links to the site RSS feed, and no 'alternate' subscription is proposed (in Firefox, this is an RSS icon next to the URL in the address bar)

http://phoenix.eclipse.org/downloads/rss-override.php
- here the site RSS icon is overriden with a bogus link to a feed on localhost. Also, an RSS icon appears next to the address bar in Firefox.

The usage is about as simple as using the current pageTitle, pageAuthor and pageKeywords variables:

[snip]
$pageAuthor		= "Eclipse Foundation, Inc.";
$App->PageRSS	= "http://localhost/www/downloads/rss.php";
$App->PageRSSTitle	= "Eclipse Downloads Feed";
Comment 4 Nathan Gervais CLA 2007-10-15 14:05:04 EDT
+1 for the patch, looks good.
Comment 5 Denis Roy CLA 2007-10-15 14:27:42 EDT
Documentation updated: http://wiki.eclipse.org/Using_Phoenix

This will be live later today unless someone objects.
Comment 6 Denis Roy CLA 2007-10-16 11:54:23 EDT
This is live.  Override the default site RSS feed as explained in comment 3.