Skip to content
Browse files

forgot to commit the last_update generation, and also now using modif…

…ied protovis that works in latest chrome ; until http://code.google.com/p/protovis-js/issues/detail?id=66 is resolved
  • Loading branch information...
1 parent 8b6eac4 commit f2206f807b97dc0774551ff5855f667ca9780602 @edsu committed Nov 17, 2010
Showing with 15,340 additions and 284 deletions.
  1. +2 −2 ckan.py
  2. +2 −3 index.html
  3. +2 −2 lod.html
  4. +15,334 −0 protovis-d3.2.js
  5. +0 −277 protovis-r3.2.js
View
4 ckan.py
@@ -88,8 +88,8 @@ def write_javascript(javascript):
os.rename(tmp_file, "lod.js")
tz = time.tzname[1] if time.daylight else time.tzname[0]
- timestamp = datetime.strftime(now, "%Y-%m-%d %H:%M:%S ") + tz
- file("last_update.html", "w").write(timestamp)
+ t = datetime.strftime(now, "%Y-%m-%d %H:%M:%S ") + tz
+ file("last_update.html", "w").write("<span>last update: %s</span>" % t)
def get_nodes(packages):
View
5 index.html
@@ -36,6 +36,7 @@
#about {
}
#last_update {
+ font-size: smaller;
font-style: italic;
text-align: center;
}
@@ -55,9 +56,7 @@
<a href="http://lod-cloud.net/">Linked Open Data Cloud</a>
using data made available by the
<a href="http://knowledgeforge.net/ckan/doc/ckan/api.html">CKAN API</a>.
- <p id="last_update">
- blah
- </p>
+ <p id="last_update"></p>
</div>
<div id="graph_console">
<iframe id="graph" src="lod.html"></iframe>
View
4 lod.html
@@ -1,7 +1,7 @@
<html>
<head>
<title>Force-Directed Layout</title>
- <script type="text/javascript" src="protovis-r3.2.js"></script>
+ <script type="text/javascript" src="protovis-d3.2.js"></script>
<script type="text/javascript" src="lod.js"></script>
<style type="text/css">
body {
@@ -74,7 +74,7 @@
.event("click", function(d) window.open(d.ckanUrl));
force.label.add(pv.Label)
- .font('7px sans-serif')
+ .font('9px sans-serif')
.textStyle('#666')
.visible(function(d) d.triples > 5000000);
View
15,334 protovis-d3.2.js
15,334 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
277 protovis-r3.2.js
0 additions, 277 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit f2206f8

Please sign in to comment.
Something went wrong with that request. Please try again.