Commit 4051d63f authored by azara's avatar azara
Browse files

update Rss flux for 7.1.0

parent f560e3e6
......@@ -25,10 +25,12 @@ import java.net.URLConnection;
import org.bonitasoft.studio.application.ApplicationPlugin;
import org.bonitasoft.studio.common.FileUtil;
import org.bonitasoft.studio.common.ProductVersion;
import org.bonitasoft.studio.common.log.BonitaStudioLog;
import org.bonitasoft.studio.common.platform.tools.PlatformUtil;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.Platform;
import org.osgi.framework.Version;
/**
* @author Romain Bioteau
......@@ -134,29 +136,38 @@ public class UpdateRSSContribution implements IPreStartupContribution {
*/
@Override
public void execute() {
final Version version = new Version(ProductVersion.CURRENT_VERSION);
final String majorVersion = version.getMajor() + "." + version.getMinor();
final String minorVersion = Integer.toString(version.getMicro());
new UpdateRSSThread(
"7-0-community",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=163&bos_redirect_product=bos&bos_redirect_major_version=7.0&bos_redirect_minor_version=2",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=163&bos_redirect_product=bos&bos_redirect_major_version=" + majorVersion
+ "&bos_redirect_minor_version=" + minorVersion,
getClass()).start();
new UpdateRSSThread(
"7-0-blogs",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=152&bos_redirect_product=bos&bos_redirect_major_version=7.0&bos_redirect_minor_version=2",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=152&bos_redirect_product=bos&bos_redirect_major_version=" + majorVersion
+ "&bos_redirect_minor_version=" + minorVersion,
getClass()).start();
new UpdateRSSThread(
"7-0-documentation",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=158&bos_redirect_product=bos&bos_redirect_major_version=7.0&bos_redirect_minor_version=2",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=158&bos_redirect_product=bos&bos_redirect_major_version=" + majorVersion
+ "&bos_redirect_minor_version=" + minorVersion,
getClass()).start();
new UpdateRSSThread(
"7-0-examples-community",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=159&bos_redirect_product=bos&bos_redirect_major_version=7.0&bos_redirect_minor_version=2",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=159&bos_redirect_product=bos&bos_redirect_major_version=" + majorVersion
+ "&bos_redirect_minor_version=" + minorVersion,
getClass()).start();
new UpdateRSSThread(
"7-0-training",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=153&bos_redirect_product=bos&bos_redirect_major_version=7.0&bos_redirect_minor_version=2",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=153&bos_redirect_product=bos&bos_redirect_major_version=" + majorVersion
+ "&bos_redirect_minor_version=" + minorVersion,
getClass()).start();
new UpdateRSSThread(
"7-0-videos-community",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=154&bos_redirect_product=bos&bos_redirect_major_version=7.0&bos_redirect_minor_version=2",
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=154&bos_redirect_product=bos&bos_redirect_major_version=" + majorVersion
+ "&bos_redirect_minor_version=" + minorVersion,
getClass()).start();
}
......
......@@ -89,7 +89,7 @@
</div>
<div class="logo">
<a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D99%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.0%26bos_redirect_minor_version%3D2">
<a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D99%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.1%26bos_redirect_minor_version%3D0">
<img src="images/logo-community.png" />
</a>
</div>
......@@ -118,11 +118,11 @@
<div class="block-second">
<div id="video">
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D141%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.0%26bos_redirect_minor_version%3D2">Videos</a></h2>
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D141%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.1%26bos_redirect_minor_version%3D0">Videos</a></h2>
<contentProvider id="4,7-0-videos-community,http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=154&amp;bos_redirect_product=bos&amp;bos_redirect_major_version=7.0&amp;bos_redirect_minor_version=2" class="org.bonitasoft.studio.intro.content.RssContentProvider" pluginId="org.bonitasoft.studio.intro"/>
</div>
<div id="documentation">
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D74%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.0%26bos_redirect_minor_version%3D2">Documentation</a></h2>
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D74%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.1%26bos_redirect_minor_version%3D0">Documentation</a></h2>
<div class="search">
<form action="http://org.eclipse.ui.intro/runAction" method="get" accept-charset="UTF-8" >
<input id="edit-keys" title="Enter the terms you wish to search for." onclick="this.value='';" type="text" name="keys" value="Search Documentation" size="50" maxlength="128" style="width: 215px; margin-left: 10px; border: 0px; background-color:transparent; margin-top: 2px; float:left; color: #1B465F" />
......@@ -137,7 +137,7 @@
</div>
<div id="training">
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D75%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.0%26bos_redirect_minor_version%3D2">Training</a></h2>
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D75%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.1%26bos_redirect_minor_version%3D0">Training</a></h2>
<contentProvider id="4,7-0-training,http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=153&amp;bos_redirect_product=bos&amp;bos_redirect_major_version=7.0&amp;bos_redirect_minor_version=2" class="org.bonitasoft.studio.intro.content.RssContentProvider" pluginId="org.bonitasoft.studio.intro"/>
</div>
......@@ -184,17 +184,17 @@
<div class="block-third">
<div id="example">
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D97%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.0%26bos_redirect_minor_version%3D2">Examples</a></h2>
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D97%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.1%26bos_redirect_minor_version%3D0">Examples</a></h2>
<contentProvider id="4,7-0-examples-community,http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=159&amp;bos_redirect_product=bos&amp;bos_redirect_major_version=7.0&amp;bos_redirect_minor_version=2" class="org.bonitasoft.studio.intro.content.RssContentProvider" pluginId="org.bonitasoft.studio.intro"/>
</div>
<div id="forums">
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D76%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.0%26bos_redirect_minor_version%3D2">Community</a></h2>
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D76%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.1%26bos_redirect_minor_version%3D0">Community</a></h2>
<contentProvider id="4,7-0-community,http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=163&amp;bos_redirect_product=bos&amp;bos_redirect_major_version=7.0&amp;bos_redirect_minor_version=2" class="org.bonitasoft.studio.intro.content.RssContentProvider" pluginId="org.bonitasoft.studio.intro"/>
</div>
<div id="news">
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D106%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.0%26bos_redirect_minor_version%3D2">Blog</a></h2>
<h2><a href="http://org.eclipse.ui.intro/runAction?pluginId=org.bonitasoft.studio.intro&amp;class=org.bonitasoft.studio.intro.actions.OpenInExternalBrowserIntroAction&amp;url=http%3A//www.bonitasoft.com/bos_redirect.php%3Fbos_redirect_id%3D106%26bos_redirect_product%3Dbos%26bos_redirect_major_version%3D7.1%26bos_redirect_minor_version%3D0">Blog</a></h2>
<contentProvider id="5,7-0-blogs,http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=152&amp;bos_redirect_product=bos&amp;bos_redirect_major_version=7.0&amp;bos_redirect_minor_version=2" class="org.bonitasoft.studio.intro.content.RssContentProvider" pluginId="org.bonitasoft.studio.intro"/>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment