forked from instructure/instructure.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
304 lines (259 loc) · 14.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Canvas Dev & Friends - Instructure Tech Blog</title>
<meta name="author" content="Instructure">
<meta name="description" content="Instructure Tech Blog Torpedoes of nerdy truth from the engineering team at Instructure. Learn the Canvas API If you’re running Canvas …">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://instructure.github.io">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/atom.xml" rel="alternate" title="Instructure Tech Blog" type="application/atom+xml">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/lib/jquery.min.js"%3E%3C/script%3E'))</script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<script src="/javascripts/moment.min.js"></script>
<script src="/javascripts/jquery.bxslider.min.js"></script>
<link href="/stylesheets/jquery.bxslider.css" rel="stylesheet" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9138420-21']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body class="no-sidebar">
<header role="banner">
<!-- <div class="fat-people"></div>
<div class="tiny-heads"></div> -->
<hgroup>
<h1><a href="/">Canvas Dev & Friends</a></h1>
<h2>Resources for API development, LTI development, and open source development</h2>
</hgroup>
</header>
<nav role="navigation">
<form action="http://google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:instructure.github.io" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul class="main-navigation">
<li><a href="/blog">Tech Blog</a></li>
</ul>
</nav>
<ul class="bxslider">
<li style="background-image: url('/images/slide-3.jpg');">
<div class="shaded">
<a href="/blog">
<h1>Instructure Tech Blog</h1>
</a>
<p>Torpedoes of nerdy truth from the engineering team at Instructure.</p>
</div>
</li>
<li style="background-image: url('/images/slide-4.jpg');">
<div class="shaded">
<a href="https://canvas.instructure.com/courses/785215">
<h1>Learn the Canvas API</h1>
</a>
<p>If you’re running Canvas yourself or considering working on the Canvas codebase, <a href="https://canvas.instructure.com/courses/785215">start here</a>.</p>
</div>
</li>
</ul>
<div id="sub-navigation">
<ul class="col-1-1">
<li class="col-1-6"><a href="https://canvas.instructure.com/courses/785215">Learn</a></li>
<li class="col-1-6"><a href="https://canvas.instructure.com/doc/api/index.html">API Docs</a></li>
<li class="col-1-6"><a href="http://www.instructure.com/partners">Partners</a></li>
<li class="col-1-6"><a href="http://www.edu-apps.org">Apps</a></li>
<li class="col-1-6"><a href="https://groups.google.com/forum/?fromgroups#!forum/canvas-lms-users">Mailing List</a></li>
<li class="col-1-6"><a href="http://webchat.freenode.net/?channels=canvas-lms&uio=d4">IRC</a></li>
</ul>
</div>
<div class="min-wrapper">
<section id="resources">
<div class="gridd">
<div class="col-1-3">
<ul>
<li>
<div class="title"><i class="canvas-icon-module"></i> Learn API</div>
<div class="blurb">A good place to start learning is to work through the
<a href="https://canvas.instructure.com/courses/785215">module on APIs </a>
in the Canvas Dev course. Still have questions?
Join the <a href="https://groups.google.com/forum/?fromgroups#!forum/canvas-lms-users">mailing list</a> or ask them in
our <a href="http://webchat.freenode.net/?channels=canvas-lms&uio=d4">IRC channel</a>.</div>
</li>
<li>
<div class="title"><i class="canvas-icon-search-address-book"></i> API Docs</div>
<div class="blurb"><a href="http://api.instructure.com/">Canvas has API docs</a>. If you’re new to them or to working with APIs in general you’ll probably want to start with the <a href="https://canvas.instructure.com/courses/785215/wiki/getting-started-with-the-api">getting started page</a> or <a href="https://canvas.instructure.com/courses/785215/wiki/api-use-case-examples">review the API use cases</a>.</div>
</li>
<li>
<div class="title"><i class="canvas-icon-group-new"></i> Dev Key Signup</div>
<div class="blurb">Before you can use the Canvas API in a production environment you’re going to need a developer key. It’s easy to request a key, just <a href="http://goo.gl/yu4lT">submit this form</a> with the required information and include what you’re hoping to do with the API.</div>
</li>
</ul>
</div>
<div class="col-1-3">
<ul>
<li>
<div class="title"><i class="canvas-icon-module"></i> Learn LTI</div>
<div class="blurb">There’s <a href="https://canvas.instructure.com/courses/785215">a module on LTI</a> in the Canvas Dev course, definitely give it a looksie if you’re building your first LTI app. Still have questions? Join the <a href="https://groups.google.com/forum/?fromgroups#!forum/canvas-lms-users">mailing list</a> or ask them in our <a href="http://webchat.freenode.net/?channels=canvas-lms&uio=d4">IRC channel</a></div>
</li>
<li>
<div class="title"><i class="canvas-icon-search-address-book"></i> LTI Docs</div>
<div class="blurb">There are official <a href="http://www.imsglobal.org/lti/">LTI docs</a>, but if you’re struggling sort through them, we have <a href="https://lti-examples.heroku.com/code.html">a shorter LTI introduction</a> you can check out to get started. We’ve collected some <a href="https://canvas.instructure.com/courses/785215/wiki/lti-blog-posts">blog posts on LTI</a> that you may find useful as well.</div>
</li>
<li>
<div class="title"><i class="canvas-icon-upload"></i> Submit an App</div>
<div class="blurb">Once you’ve built an LTI app and you’re ready to share it with the world, you can <a href="https://lti-examples.heroku.com/suggestions">submit it to our app directory</a>. You can also use that page to suggest apps you think somebody else should build (maybe, someday).</div>
</li>
<li>
<div class="title"><i class="canvas-icon-android"></i> Mobile App API</div>
<div class="blurb">Our mobile apps on Android and iOS have an API that allows other apps on a device to communicate with them. If you have an app that would benefit from interacting with our Canvas Mobile apps, <a href="/mobile-app-api">check out our App API documentation</a>.</div>
</li>
</ul>
</div>
<div class="col-1-3">
<ul>
<li>
<div class="title"><i class="canvas-icon-instructure"></i> Learn Canvas</div>
<div class="blurb">If you’re running Canvas yourself or considering working on the Canvas codebase, first check out the <a href="https://github.com/instructure/canvas-lms/wiki">introduction on GitHub</a>. You should also join the <a href="https://groups.google.com/forum/?fromgroups#!forum/canvas-lms-users">mailing list</a> or our <a href="http://webchat.freenode.net/?channels=canvas-lms&uio=d4">IRC channel</a>. Issues? <a href="https://help.instructure.com">Visit our help portal</a>.</div>
</li>
<li>
<div class="title"><i class="canvas-icon-github"></i> GitHub</div>
<div class="blurb"><a href="https://github.com/instructure/canvas-lms">Canvas is released open source</a> under the AGPL license. There’s a couple other related libraries you can see <a href="https://github.com/instructure">on our github site</a>, or check out <a href="https://canvas.instructure.com/courses/785215/wiki/oss-dev-projects">third-party codebases related to Canvas</a>.</div>
</li>
<li>
<div class="title"><i class="canvas-icon-peer-review"></i> Contribute</div>
<div class="blurb">Canvas is dual-licensed, so if you’re interested in contributing to the project you’re going to need to send us <a href="https://github.com/instructure/canvas-lms/wiki/ica.pdf">a code contributor agreement</a>. You’ll also probably want to review the <a href="https://github.com/instructure/canvas-lms/wiki/Coding-Guidelines">contribution guide</a>. After that it’s pull requests ftw!</div>
</li>
</ul>
</div>
</div>
</section>
<div class="gridd">
<div class="col-2-5">
<article class="module">
<h2>
<a class="h2-link" href="https://www.google.com/calendar/embed?src=instructure.com_f9og1sg8lstpaihggpuvkdvg58@group.calendar.google.com&ctz=America/Denver&gsessionid=OGl4NmvaO7hRIyJ8JDVAHg">View all events »</a>
Upcoming Events
</h2>
<ul id="events"></ul>
</article>
</div>
<div class="col-3-5">
<article class="module">
<h2>
<a class="h2-link" href="https://groups.google.com/forum/?fromgroups#!forum/canvas-lms-users">View all messages »</a>
Recent Messages
</h2>
<ul id="messages"></ul>
</article>
</div>
</div>
<footer>
Copyright © 2013 - Instructure Engineering
</footer>
</div>
<script>
function cleanup (str) {
str = (str + '').replace(/\<br \/>\n\n\n<br \/>Event Status: confirmed/g, '<br />');
str = (str + '').split(/Event Description/)[0];
return str;
// return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1' + '' + '$2');
}
$.ajax({
url: "http://pipes.yahoo.com/pipes/pipe.run?_id=675f5a7243c80318cac974759f9859c5&_render=json&feedcount=15&feedurl=http%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds%2Finstructure.com_f9og1sg8lstpaihggpuvkdvg58%2540group.calendar.google.com%2Fpublic%2Fbasic",
jsonp: '_callback',
success: function(data) {
var events = [];
for(var idx = 0; idx < 5 && idx < data.value.items.length; idx++) {
var event = data.value.items[idx];
var match = event.description.match(/When: ([\w\d\s,:]+)/);
if(match) {
event.datestring = match[1];
event.datestamp = Date.parse(event.datestring.substring(0, 16));
if(isFinite(event.datestamp)) {
events.push(event);
}
}
}
events = events.sort(function(a, b) {
return a.datestamp - b.datestamp;
});
var now = (new Date()).getTime();
var addedEvents = 0;
var html = "";
for(var idx = 0; idx < events.length && addedEvents < 5; idx++) {
var event = events[idx];
if(event.datestamp > (now - 1000*60*60*24)) { // 1 day ago
var d = moment(event.datestamp);
addedEvents++;
html = html + "<li><p class='calendar'>" + d.format("D") + " <em>" + d.format("MMMM") + "</em></p><div class='calendar-side' style='display: block; position: relative; left: 10px;'><div class='title'><a href='" + event.link + "'>" + event.title + "</a></div><div class='text' style='border-bottom: 0px;'>" + cleanup(event.content.content) + "</div></div><div style='clear: both;'></div></li>";
}
}
$("#events").html(html);
},
dataType: 'jsonp'
});
$.ajax({
url: "http://pipes.yahoo.com/pipes/pipe.run?_id=3b43d0be27f060f7266d3060ef9c9a5c&_render=json",
jsonp: '_callback',
success: function(data) {
var html = "";
for(var idx = 0; idx < 5 && idx < data.value.items.length; idx++) {
var entry = data.value.items[idx];
var text = $("<div/>").html(entry.description).text().substring(0, 200);
html = html + "<li><a href='" + entry.link + "'><div class='title'>" + entry.title + "</div><div class='date'>" + entry.pubDate + "</div><div class='text'>" + text + "...</div></a></li>";
}
$("#messages").append(html);
},
dataType: 'jsonp'
});
$('.bxslider').bxSlider({
auto: true,
pause: 7000
});
</script>
<div class="min-wrapper">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">
(function() {
var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true;
script.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
})();
</script>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = '//platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
</div>
</body>
</html>