Skip to contentSkip to conversation

docs/website: fixing feed API and gmane

PATCH New Angelo Compagnucci 2 participants 5 messages Feb 5, 2017

lore
Share & tools
lore
#0 lore raw

cover docs/website: fixing feed API and gmane

This patch series fixes the buildroot website and make it working again.

Angelo Compagnucci (3):
docs/website: bump jquery and bootstrap
docs/website: fix google feed API
docs/website: switching from gmane to nabble

 docs/website/footer.html     |  5 ++-
 docs/website/header.html     |  2 +-
 docs/website/js/buildroot.js | 73 ++++++++++++++++----------------------------
 docs/website/support.html    |  6 ++--
 4 files changed, 34 insertions(+), 52 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/3 docs/website: bump jquery and bootstrap

This patch bumps jquery and bootstrap to the latest versions.

---
 docs/website/footer.html | 4 ++--
 docs/website/header.html | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
docs/website/footer.html +2 -2
index 16fab36..1fcfd70 100644
@@ -1,5 +1,5 @@
-	<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
-	<script src="https://oss.maxcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
+	<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
+	<script src="https://oss.maxcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
 	<script type="text/javascript" src="https://www.google.com/jsapi"></script>
 	<script src="https://cdn.rawgit.com/zenorocha/clipboard.js/master/dist/clipboard.min.js"></script>
 	<script type="text/javascript" src="js/buildroot.js"></script>
docs/website/header.html +1 -1
index 3842f32..ef6724f 100644
@@ -10,7 +10,7 @@
 
 	<title>Buildroot - Making Embedded Linux Easy</title>
 
-	<link href="https://oss.maxcdn.com/bootswatch/3.3.5/paper/bootstrap.min.css" rel="stylesheet">
+	<link href="https://oss.maxcdn.com/bootswatch/3.3.7/paper/bootstrap.min.css" rel="stylesheet">
 	<link href="css/main.css" rel="stylesheet">
 
 	<!--[if lt IE 9]>
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/3 docs/website: fix google feed API

In reply to Angelo Compagnucci

Google deprecated feed api to cenvert rss to json, switching to yahoo yql. This patch also reorganize the javascript code to accomodate the fixings.

---
 docs/website/footer.html     |  1 -
 docs/website/js/buildroot.js | 73 ++++++++++++++++----------------------------
 2 files changed, 27 insertions(+), 47 deletions(-)
docs/website/footer.html +0 -1
index 1fcfd70..279c8b1 100644
@@ -1,6 +1,5 @@
 	<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
 	<script src="https://oss.maxcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="https://www.google.com/jsapi"></script>
 	<script src="https://cdn.rawgit.com/zenorocha/clipboard.js/master/dist/clipboard.min.js"></script>
 	<script type="text/javascript" src="js/buildroot.js"></script>
 </body>
docs/website/js/buildroot.js +27 -46

109 lines not on this page · raw message

Signature · 1 line
2.7.4
#3 lore raw

PATCH 3/3 docs/website: switching from gmane to nabble

In reply to Angelo Compagnucci

Gmane mailing list infrastructure is broken from some time, switching to nabble both for rss and search services.

---
 docs/website/js/buildroot.js | 2 +-
 docs/website/support.html    | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
docs/website/js/buildroot.js +1 -1
index 83983e6..da43664 100644
@@ -87,7 +87,7 @@ jQuery(document).ready(function($) {
     url = url.split(/[\\/]/).pop()
     $('.nav a[href="/' + url + '"]').parent().addClass('active');
 
-    load_activity("http://rss.gmane.org/topics/excerpts/gmane.comp.lib.uclibc.buildroot", "mailing-list-activity");
+    load_activity("http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-busybox-ft2.xml", "mailing-list-activity");
     load_activity("http://git.buildroot.org/buildroot/atom/?h=master", "commit-activity");
 
     $('#slides').html('<iframe src="https://docs.google.com/gview?url=http://free-electrons.com/doc/training/buildroot/buildroot-slides.pdf&embedded=true" style="position:absolute; width:100%; height:100%; top:0; left:0;" frameborder="0"></iframe>')
docs/website/support.html +4 -2
index 92ee03b..a1184c8 100644
@@ -50,9 +50,11 @@
 		    list, since there is a good chance someone else has asked the same question
 		    before.</p>
 
-		  <form method="get" action="http://search.gmane.org/">
+		  <form method="get" action="http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp">
 		    <input type="text" name="query">
-		    <input type="hidden" name="group" value="gmane.comp.lib.uclibc.buildroot">
+		    <input type="hidden" name="macro" value="search_page">
+		    <input type="hidden" name="node" value="2">
+		    <input type="hidden" name="sort" value="date">
 		    <button type="submit" class="btn btn-default">Submit</button>
 		  </form>
 		</div>
Signature · 1 line
2.7.4
#4 lore raw

cover docs/website: fixing feed API and gmane

In reply to Angelo Compagnucci

Hello,

Quoted 4 lines · Angelo Compagnucci

Angelo Compagnucci (3):
docs/website: bump jquery and bootstrap
docs/website: fix google feed API
docs/website: switching from gmane to nabble

Thanks a lot, I've applied all patches. Really nice to have the site fixed.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com