Author: snjeza
Date: 2011-10-20 19:11:38 -0400 (Thu, 20 Oct 2011)
New Revision: 35875
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java
Log:
JBIDE-9849 why is there both a feed and a atom url - isn't one sufficient ?
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java 2011-10-20
23:09:25 UTC (rev 35874)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/JBossCentralActivator.java 2011-10-20
23:11:38 UTC (rev 35875)
@@ -104,14 +104,10 @@
public static final String NEW_PROJECT_EXAMPLES_WIZARD_ID =
"org.jboss.tools.project.examples.wizard.NewProjectExamplesWizard";
- public static final String BLOG_URL = "http://planet.jboss.org/feeds/blogs";
+ public static final String BLOGS_URL = "http://planet.jboss.org/feeds/blogs";
- public static final String BLOGS_ATOM_URL =
"http://planet.jboss.org/feeds/blogs";
-
- public static final String NEWS_URL =
"http://pipes.yahoo.com/pipes/pipe.run?_id=660682be8ddf4b5db0cce318826f8a53";
+ public static final String NEWS_URL = "http://planet.jboss.org/feeds/news";
- public static final String NEWS_ATOM_URL =
"http://pipes.yahoo.com/pipes/pipe.run?_id=660682be8ddf4b5db0cce318826f8a53&_render=rss";
-
public static final String FORM_END_TAG = "</p></form>";
public static final String FORM_START_TAG = "<form><p>";
public static final String CANCELED = FORM_START_TAG + "<span
color=\"header\" font=\"header\">Canceled.</span>" +
FORM_END_TAG;
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java 2011-10-20
23:09:25 UTC (rev 35874)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/OpenJBossBlogsHandler.java 2011-10-20
23:11:38 UTC (rev 35875)
@@ -22,7 +22,7 @@
@Override
public String getLocation() {
- return JBossCentralActivator.BLOG_URL;
+ return JBossCentralActivator.BLOGS_URL;
}
}
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java 2011-10-20
23:09:25 UTC (rev 35874)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshBlogsJob.java 2011-10-20
23:11:38 UTC (rev 35875)
@@ -39,7 +39,7 @@
private List<FeedsEntry> entries = new ArrayList<FeedsEntry>();
private Exception exception;
- public static RefreshBlogsJob INSTANCE = new
RefreshBlogsJob(JBossCentralActivator.BLOGS_ATOM_URL);
+ public static RefreshBlogsJob INSTANCE = new
RefreshBlogsJob(JBossCentralActivator.BLOGS_URL);
private String blogsurl;
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java 2011-10-20
23:09:25 UTC (rev 35874)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/jobs/RefreshNewsJob.java 2011-10-20
23:11:38 UTC (rev 35875)
@@ -39,7 +39,7 @@
private List<FeedsEntry> entries = new ArrayList<FeedsEntry>();
private Exception exception;
- public static RefreshNewsJob INSTANCE = new
RefreshNewsJob(JBossCentralActivator.NEWS_ATOM_URL);
+ public static RefreshNewsJob INSTANCE = new
RefreshNewsJob(JBossCentralActivator.NEWS_URL);
private String newsurl;