Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

graphgists

  • Loading branch information...
commit dd00d850fe5304f34d1874b365fc54219aca531e 1 parent ec04189
@jexp jexp authored
View
6 helpers/graphgists.js
@@ -4,7 +4,6 @@ function parseGraphgists(cells, fun, filter) {
var header;
var items = {};
for (var rowNo in cells.cells) {
- console.log("graphgists", rowNo);
var row = cells.cells[rowNo]
if (!header) {
header = row;
@@ -14,9 +13,10 @@ function parseGraphgists(cells, fun, filter) {
for (var colNo in row) {
item[header[colNo].value] = row[colNo].value;
}
- var id = item.URL;
+ var id = item['Gist Title'];
if (id) items[id] = item;
}
+ console.log("graphgists",items.length);
if (filter) fun(items.filter(filter));
else fun(items)
}
@@ -27,7 +27,7 @@ function graphgists(fun, filter) {
console.log("Error retrieving spreadsheet ", err)
}
sheet.worksheets[2].cells({
- range: "R1C2:R58C8"
+ range: "R1C2:R300C12"
}, function (err, cells) {
if (err) {
console.log("Error retrieving spreadsheet ", err)
View
14 helpers/pages.js
@@ -17,17 +17,17 @@ exports.pages = {
path: "partials/version/_download_button"
// path: "partials/version/_download_button_milestone"
},
-// {
-// type: "include",
-// path: "participate/events_map"
-// },
+ {
+ type: "include",
+ path: "participate/events_map"
+ },
content.videos.ian_graphdb_neo4j
],
related: [
content.action.signup ,
"licensing",
content.links.customers,
- "graphgist_challenge",
+ "graphgist",
// "events",
"trainings",
content.links.manual,
@@ -453,7 +453,7 @@ exports.pages = {
author: "Jacob Hansson",
src: "http://player.vimeo.com/video/82319888",
title: "Webinar, Neo4j 2.0 Feature Overview"
- },
+ }
],
related: [
content.install.milestone,
@@ -2180,7 +2180,7 @@ Questions? Feedback? Contact us at <a href='mailto:training@neotechnology.com
img: asset("img/still/graphgist_video.jpg")
}
],
- related: ["modeling", "http://gist.neo4j.org/?8015026", "http://gist.neo4j.org/?8526106"],
+ related: ["modeling", "Piping Water", 'Roads, Nodes and Automobiles','Single Malt Scotch Whisky GraphGist'],
thumbnail: asset("img/logo/neo4j-github.png"),
actionText: "Model your Graph"
},
View
21 views/partials/graphgist/_tile.ejs
@@ -1,11 +1,16 @@
<% var info=item;%>
<div class="item graphgist">
- <a href="<%= 'http://twitter.com/'+info['Twitter'] %>" target="_blank">
- <img class="preview" src="<%= 'http://api.twitter.com/1.1/users/profile_image/'+info['Twitter']+'?size=bigger' %>" title="<%= info['name'] %>" alt="picture of <%= info['name'] %>"/>
- </a>
- <h3><a href="<%=info.URL %>" target="_blank"><%= info['Title'] %></a></h3>
-
- <h5>Category: <%=info.Category %></h5>
-
-</div>
+ <!--a href="<%= 'http://twitter.com/'+info['Twitter'] %>" target="_blank">
+ <img class="preview" src="<%= 'http://api.twitter.com/1.1/users/profile_image/'+info['Twitter']+'?size=bigger' %>" title="<%= info['Your Name'] %>" alt="picture of <%= info['Your Name'] %>"/>
+ </a-->
+ <div class="caption">
+ <h3><a href="<%=info['GraphGist URL'] %>" target="_blank"><%= info['Gist Title'] %></a></h3>
+ <a target='_blank' href="http://twitter.com/<%= info['Twitter'] %>"> <h4><em>by <%= info['Your Name'] %></em></h4> </a>
+ </div>
+ <div class="introText">
+ <p><%-info.Description %></p>
+ <h5>Category: <%=info.Category %></h5>
+ <a class="link" style="font-size: 1.5em" href="<%=info['GraphGist URL'] %>" target="_blank">Read more &raquo;</a><br/>
+ </div>
+</div>
Please sign in to comment.
Something went wrong with that request. Please try again.