mailr24525 - in /website: ./ api/3.1/ manual/ wiki/


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 11, 2014 - 16:15:
Author: bugman
Date: Fri Jul 11 16:15:22 2014
New Revision: 24525

URL: http://svn.gna.org/viewcvs/relax?rev=24525&view=rev
Log:
Improvements, fixes and expansion of the redirects at 
http://www.nmr-relax.com/.


Added:
    website/manual/relax_disp_cpmg_frq.html
    website/manual/relax_disp_set_grid_r20_from_min_r2eff.html
    website/wiki/
    website/wiki/index.html
Modified:
    website/.setup_redirects.py
    website/api/3.1/lib.dispersion.B14-module.html

Modified: website/.setup_redirects.py
URL: 
http://svn.gna.org/viewcvs/relax/website/.setup_redirects.py?rev=24525&r1=24524&r2=24525&view=diff
==============================================================================
--- website/.setup_redirects.py (original)
+++ website/.setup_redirects.py Fri Jul 11 16:15:22 2014
@@ -2,17 +2,28 @@
 
 # This Python script is for setting up all of the meta refresh redirects 
required for the relax website.
 
+# Some base URLs.
+url = 'http://www.nmr-relax.com'
+url_wiki = 'http://wiki.nmr-relax.com/'
+
 # The list of redirects to build.  The first element is the old page, the 
second is the new page.
 redirects = [
-        ['api/3.1/lib.dispersion.B14-module.html', 
'api/3.2/lib.dispersion.B14-module.html'],
-        ['linux_devel.html', ''],
-        ['manual/Citations.html', 'manual/Preface_citing_relax.html'],
-        ['manual/Consistency_testing_script_mode_relaxation_data_lo.html', 
'manual/Consistency_testing_script_mode_relaxation_data_loading.html'],
-        ['manual/d_Auvergne_protocol_GUI_mode_relaxation_interactio.html', 
'manual/d_Auvergne_protocol_GUI_mode_relaxation_interactions.html'],
-        ['manual/d_Auvergne_protocol_GUI_mode_relaxation_interaction.html', 
'manual/d_Auvergne_protocol_GUI_mode_relaxation_interactions.html'],
-        ['manual/relax.html', 'manual/index.html'],
-        ['osx_devel.html', ''],
-        ['scripts/code_validator', 'manual/Coding_conventions.html'],
+    ['api/3.1/lib.dispersion.B14-module.html', 
'%s/api/3.2/lib.dispersion.b14-module.html'%url],
+    ['linux_devel.html', '%s/'%url],
+    ['manual/Citations.html', '%s/manual/Preface_citing_relax.html'%url],
+    ['manual/Consistency_testing_script_mode_relaxation_data_lo.html', 
'%s/manual/Consistency_testing_script_mode_relaxation_data_loading.html'%url],
+    ['manual/d_Auvergne_protocol_GUI_mode_relaxation_interactio.html', 
'%s/manual/d_Auvergne_protocol_GUI_mode_relaxation_interactions.html'%url],
+    ['manual/d_Auvergne_protocol_GUI_mode_relaxation_interaction.html', 
'%s/manual/d_Auvergne_protocol_GUI_mode_relaxation_interactions.html'%url],
+    ['manual/relax.html', '%s/manual/index.html'%url],
+    ['osx_devel.html', '%s/'%url],
+    ['scripts/code_validator', '%s/manual/Coding_conventions.html'%url],
+    ['wiki/index.html', '%s/'%url_wiki],
+]
+
+# User function renamings.
+redirects += [
+    ['manual/relax_disp_cpmg_frq.html', 
'%s/manual/relax_disp_cpmg_setup.html'%url],
+    ['manual/relax_disp_set_grid_r20_from_min_r2eff.html', 
'%s/manual/relax_disp_r20_from_min_r2eff.html'%url],
 ]
 
 # Loop over all redirects, automatically creating the webpage.
@@ -24,6 +35,6 @@
     file.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 
Transitional//EN\">\n")
     file.write("<HTML>\n")
     file.write("<HEAD>\n")
-    file.write("    <meta http-equiv=\"refresh\" content=\"0; 
url=http://www.nmr-relax.com/%s\";>\n" % new)
+    file.write("    <meta http-equiv=\"refresh\" content=\"0; url=%s\">\n" % 
new)
     file.write("</HEAD>\n")
     file.write("</HTML>\n")

Modified: website/api/3.1/lib.dispersion.B14-module.html
URL: 
http://svn.gna.org/viewcvs/relax/website/api/3.1/lib.dispersion.B14-module.html?rev=24525&r1=24524&r2=24525&view=diff
==============================================================================
--- website/api/3.1/lib.dispersion.B14-module.html      (original)
+++ website/api/3.1/lib.dispersion.B14-module.html      Fri Jul 11 16:15:22 
2014
@@ -1,6 +1,6 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML>
 <HEAD>
-    <meta http-equiv="refresh" content="0; 
url=http://www.nmr-relax.com/api/3.2/lib.dispersion.B14-module.html";>
+    <meta http-equiv="refresh" content="0; 
url=http://www.nmr-relax.com/api/3.2/lib.dispersion.b14-module.html";>
 </HEAD>
 </HTML>

Added: website/manual/relax_disp_cpmg_frq.html
URL: 
http://svn.gna.org/viewcvs/relax/website/manual/relax_disp_cpmg_frq.html?rev=24525&view=auto
==============================================================================
--- website/manual/relax_disp_cpmg_frq.html     (added)
+++ website/manual/relax_disp_cpmg_frq.html     Fri Jul 11 16:15:22 2014
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+    <meta http-equiv="refresh" content="0; 
url=http://www.nmr-relax.com/manual/relax_disp_cpmg_setup.html";>
+</HEAD>
+</HTML>

Added: website/manual/relax_disp_set_grid_r20_from_min_r2eff.html
URL: 
http://svn.gna.org/viewcvs/relax/website/manual/relax_disp_set_grid_r20_from_min_r2eff.html?rev=24525&view=auto
==============================================================================
--- website/manual/relax_disp_set_grid_r20_from_min_r2eff.html  (added)
+++ website/manual/relax_disp_set_grid_r20_from_min_r2eff.html  Fri Jul 11 
16:15:22 2014
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+    <meta http-equiv="refresh" content="0; 
url=http://www.nmr-relax.com/manual/relax_disp_r20_from_min_r2eff.html";>
+</HEAD>
+</HTML>

Added: website/wiki/index.html
URL: 
http://svn.gna.org/viewcvs/relax/website/wiki/index.html?rev=24525&view=auto
==============================================================================
--- website/wiki/index.html     (added)
+++ website/wiki/index.html     Fri Jul 11 16:15:22 2014
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+    <meta http-equiv="refresh" content="0; url=http://wiki.nmr-relax.com//";>
+</HEAD>
+</HTML>




Related Messages


Powered by MHonArc, Updated Fri Jul 11 16:20:03 2014