Auto-generating grants page
parent
2fb734644a
commit
ab0535e42f
180
0810.3227
180
0810.3227
|
@ -1,180 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||
<head>
|
||||
<title>[0810.3227] Dynamic Approaches to In-Network Aggregation</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="/css/arXiv.css" />
|
||||
<meta name="citation_title" content="Dynamic Approaches to In-Network Aggregation" />
|
||||
<meta name="citation_author" content="Kennedy, Oliver" />
|
||||
<meta name="citation_author" content="Koch, Christoph" />
|
||||
<meta name="citation_author" content="Demers, Al" />
|
||||
<meta name="citation_date" content="2008/10/17" />
|
||||
<meta name="citation_online_date" content="2008/10/17" />
|
||||
<meta name="citation_pdf_url" content="http://arxiv.org/pdf/0810.3227" />
|
||||
<meta name="citation_arxiv_id" content="0810.3227" />
|
||||
<script src="/js/mathjaxToggle.min.js" type="text/javascript"></script>
|
||||
|
||||
</head>
|
||||
<body class="with-cu-identity">
|
||||
<div id="cu-identity">
|
||||
<div id="cu-logo">
|
||||
<a id="insignia-link" href="http://www.cornell.edu/"><img src="/icons/cu/cul_signature_unstyled.gif" alt="Cornell University" width="283" height="76" border="0" /></a>
|
||||
<div id="unit-signature-links">
|
||||
<a id="cornell-link" href="http://www.cornell.edu/">Cornell University</a>
|
||||
<a id="unit-link" href="http://www.library.cornell.edu/">Library</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="support-ack">
|
||||
<a href="https://confluence.cornell.edu/x/FYBnDg">We gratefully acknowledge support from<br />the Simons Foundation<br /> and member institutions</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header">
|
||||
<h1><a href="/">arXiv.org</a> > <a href="/list/cs/recent">cs</a> > arXiv:0810.3227</h1>
|
||||
<form id="search" method="post" action="/search">
|
||||
<div class="search-for">Search or Article-id</div>
|
||||
<div class="links">(<a href="/help">Help</a> | <a href="/find">Advanced search</a>)</div>
|
||||
<input type="text" name="query" size="24" maxlength="64" />
|
||||
|
||||
<select name="searchtype">
|
||||
<option value="all" selected="selected">All papers</option>
|
||||
<option value="ti">Titles</option>
|
||||
<option value="au">Authors</option>
|
||||
<option value="abs">Abstracts</option>
|
||||
<option value="ft">Full text</option>
|
||||
<option value="help">Help pages</option>
|
||||
</select>
|
||||
<input type="submit" value="Go!" /><br />
|
||||
</form>
|
||||
</div>
|
||||
<div id="content">
|
||||
|
||||
<!--
|
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
|
||||
<rdf:Description
|
||||
rdf:about="http://arxiv.org/abs/0810.3227"
|
||||
dc:identifier="http://arxiv.org/abs/0810.3227"
|
||||
dc:title="Dynamic Approaches to In-Network Aggregation"
|
||||
trackback:ping="http://arxiv.org/trackback/0810.3227" />
|
||||
</rdf:RDF>
|
||||
-->
|
||||
|
||||
<div id="abs">
|
||||
<div class="extra-services">
|
||||
|
||||
<div class="full-text">
|
||||
<span class="descriptor">Full-text links:</span>
|
||||
<h2>Download:</h2>
|
||||
<ul>
|
||||
<li><a href="/pdf/0810.3227v1" accesskey="f">PDF</a></li>
|
||||
<li><a href="/ps/0810.3227v1">PostScript</a></li>
|
||||
<li><a href="/format/0810.3227v1">Other formats</a></li>
|
||||
</ul>
|
||||
<div class="abs-license">(<a href="http://arxiv.org/licenses/nonexclusive-distrib/1.0/" title="Rights to this article">license</a>)</div>
|
||||
</div><!--end full-text-->
|
||||
|
||||
<div class="browse">
|
||||
<h3>Current browse context:</h3>
|
||||
<div class="current">cs.DC</div>
|
||||
<div class="prevnext"><span class="arrow"><a href="http://arxiv.org/prevnext?site=arxiv.org&id=0810.3227&context=cs.DC&function=prev" accesskey="p" title="previous in cs.DC (accesskey p)">< prev</a></span> | <span class="arrow"><a href="http://arxiv.org/prevnext?site=arxiv.org&id=0810.3227&context=cs.DC&function=next" accesskey="n" title="next in cs.DC (accesskey n)">next ></a></span>
|
||||
<br /></div>
|
||||
<div class="list"><a href="/list/cs.DC/new">new</a> | <a href="/list/cs.DC/recent">recent</a> | <a href="/list/cs.DC/0810">0810</a></div><h3>Change to browse by:</h3><div class="switch">
|
||||
<a href="/abs/0810.3227?context=cs">cs</a><br />
|
||||
<span class="subclass"><a href="/abs/0810.3227?context=cs.DB">cs.DB</a></span><br />
|
||||
<span class="subclass"><a href="/abs/0810.3227?context=cs.DS">cs.DS</a></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="extra-ref-cite">
|
||||
<h3>References & Citations</h3><ul><li><a href="http://adsabs.harvard.edu/cgi-bin/bib_query?arXiv:0810.3227">NASA ADS</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="dblp">
|
||||
<h3><a href="http://www.informatik.uni-trier.de/~ley/db/">DBLP</a> - CS Bibliography</h3><div class="list">
|
||||
<a href="http://www.informatik.uni-trier.de/~ley/db/journals/corr/corr0810.html#abs-0810-3227" title="listing on DBLP">listing</a> | <a href="http://dblp.uni-trier.de/rec/bibtex/journals/corr/abs-0810-3227" title="DBLP bibtex record">bibtex</a>
|
||||
</div>
|
||||
<div class="list">
|
||||
<a href="http://dblp.uni-trier.de/search/author?author=Oliver%20Kennedy" title="DBLP author search">Oliver Kennedy</a><br />
|
||||
<a href="http://dblp.uni-trier.de/search/author?author=Christoph%20Koch" title="DBLP author search">Christoph Koch</a><br />
|
||||
<a href="http://dblp.uni-trier.de/search/author?author=Alan%20J.%20Demers" title="DBLP author search">Alan J. Demers</a><br />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="bookmarks">
|
||||
<div class="what-is-this">
|
||||
<h3>Bookmark</h3> (<a href="/help/social_bookmarking">what is this?</a>)
|
||||
</div>
|
||||
<a href="/ct?url=http%3A%2F%2Fwww.citeulike.org%2Fposturl%3Furl%3Dhttp%3A%2F%2Farxiv.org%2Fabs%2F0810.3227%26title%3DDynamic%2520Approaches%2520to%2520In-Network%2520Aggregation%26authors%3D&v=b29d8e33" title="Bookmark on CiteULike"><img src="http://static.arxiv.org/icons/social/citeulike.png" alt="CiteULike logo" /></a>
|
||||
<a href="/ct?url=http%3A%2F%2Fwww.bibsonomy.org%2FBibtexHandler%3FrequTask%3Dupload%26url%3Dhttp%3A%2F%2Farxiv.org%2Fabs%2F0810.3227%26description%3DDynamic%2520Approaches%2520to%2520In-Network%2520Aggregation&v=852fac76" title="Bookmark on BibSonomy"><img src="http://static.arxiv.org/icons/social/bibsonomy.png" alt="BibSonomy logo" /></a>
|
||||
<a href="/ct?url=http%3A%2F%2Fwww.mendeley.com%2Fimport%2F%3Furl%3Dhttp%3A%2F%2Farxiv.org%2Fabs%2F0810.3227&v=4e486d16" title="Bookmark on Mendeley"><img src="http://static.arxiv.org/icons/social/mendeley.png" alt="Mendeley logo" /></a>
|
||||
<a href="/ct?url=http%3A%2F%2Fdel.icio.us%2Fpost%3Furl%3Dhttp%3A%2F%2Farxiv.org%2Fabs%2F0810.3227%26description%3DDynamic%2520Approaches%2520to%2520In-Network%2520Aggregation&v=e46c4e11" title="Bookmark on del.icio.us"><img src="http://static.arxiv.org/icons/social/delicious.png" alt="del.icio.us logo" /></a>
|
||||
<a href="/ct?url=http%3A%2F%2Fdigg.com%2Fsubmit%3Furl%3Dhttp%3A%2F%2Farxiv.org%2Fabs%2F0810.3227%26title%3DDynamic%2520Approaches%2520to%2520In-Network%2520Aggregation&v=6abd4a5c" title="Bookmark on Digg"><img src="http://static.arxiv.org/icons/social/digg.png" alt="Digg logo" /></a>
|
||||
<a href="/ct?url=http%3A%2F%2Freddit.com%2Fsubmit%3Furl%3Dhttp%3A%2F%2Farxiv.org%2Fabs%2F0810.3227%26title%3DDynamic%2520Approaches%2520to%2520In-Network%2520Aggregation&v=04911db4" title="Bookmark on Reddit"><img src="http://static.arxiv.org/icons/social/reddit.png" alt="Reddit logo" /></a>
|
||||
<a href="/ct?url=http%3A%2F%2Fsciencewise.info%2Fbookmarks%2Fadd%3Furl%3Dhttp%3A%2F%2Farxiv.org%2Fabs%2F0810.3227&v=4232e327" title="Bookmark on ScienceWISE"><img src="http://static.arxiv.org/icons/social/sciencewise.png" alt="ScienceWISE logo" /></a>
|
||||
|
||||
</div>
|
||||
</div><!--end extra-services-->
|
||||
|
||||
<div class="leftcolumn">
|
||||
<div class="subheader">
|
||||
<h1>Computer Science > Distributed, Parallel, and Cluster Computing</h1>
|
||||
</div>
|
||||
<h1 class="title mathjax"><span class="descriptor">Title:</span>
|
||||
Dynamic Approaches to In-Network Aggregation</h1>
|
||||
<div class="authors"><span class="descriptor">Authors:</span>
|
||||
<a href="/find/cs/1/au:+Kennedy_O/0/1/0/all/0/1">Oliver Kennedy</a>,
|
||||
<a href="/find/cs/1/au:+Koch_C/0/1/0/all/0/1">Christoph Koch</a>,
|
||||
<a href="/find/cs/1/au:+Demers_A/0/1/0/all/0/1">Al Demers</a></div>
|
||||
<div class="dateline">(Submitted on 17 Oct 2008)</div>
|
||||
<blockquote class="abstract mathjax">
|
||||
<span class="descriptor">Abstract:</span> Collaboration between small-scale wireless devices hinges on their ability to
|
||||
infer properties shared across multiple nearby nodes. Wireless-enabled mobile
|
||||
devices in particular create a highly dynamic environment not conducive to
|
||||
distributed reasoning about such global properties. This paper addresses a
|
||||
specific instance of this problem: distributed aggregation. We present
|
||||
extensions to existing unstructured aggregation protocols that enable
|
||||
estimation of count, sum, and average aggregates in highly dynamic
|
||||
environments. With the modified protocols, devices with only limited
|
||||
connectivity can maintain estimates of the aggregate, despite
|
||||
\textit{unexpected} peer departures and arrivals. Our analysis of these
|
||||
aggregate maintenance extensions demonstrates their effectiveness in
|
||||
unstructured environments despite high levels of node mobility.
|
||||
</blockquote>
|
||||
<!--CONTEXT-->
|
||||
<div class="metatable">
|
||||
<table summary="Additional metadata">
|
||||
<tr>
|
||||
<td class="tablecell label">Subjects:
|
||||
</td>
|
||||
<td class="tablecell subjects"><span class="primary-subject">Distributed, Parallel, and Cluster Computing (cs.DC)</span>; Databases (cs.DB); Data Structures and Algorithms (cs.DS)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tablecell label">
|
||||
Cite as:
|
||||
</td>
|
||||
<td class="tablecell arxivid"><a href="/abs/0810.3227">arXiv:0810.3227</a> [cs.DC]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tablecell label"> </td>
|
||||
<td class="tablecell arxividv">(or <span class="arxivid"><a href="/abs/0810.3227v1">arXiv:0810.3227v1</a> [cs.DC]</span> for this version)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="submission-history">
|
||||
<h2>Submission history</h2>
|
||||
From: Oliver Kennedy [<a href="https://arxiv.org/show-email/8cf6db66/0810.3227">view email</a>]
|
||||
<br />
|
||||
<b>[v1]</b> Fri, 17 Oct 2008 19:48:38 GMT (156kb)<br />
|
||||
</div>
|
||||
<div class="endorsers"><a href="http://arxiv.org/auth/show-endorsers/0810.3227">Which authors of this paper are endorsers?</a> | <a id="mathjax_toggle" href="javascript:setMathjaxCookie()">Disable MathJax</a> (<a href="/help/mathjax/">What is MathJax?</a>)</div><script type="text/javascript" language="javascript">mathjaxToggle();</script>
|
||||
</div><!--end leftcolumn-->
|
||||
</div><!--end abs-->
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p>Link back to: <a href="http://arxiv.org/">arXiv</a>, <a href="/form">form interface</a>, <a href="/help/contact">contact</a>.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ fetch:
|
|||
curl -O http://www.cse.buffalo.edu/~okennedy/okennedy.json;\
|
||||
fi
|
||||
|
||||
push: all
|
||||
push: fetch all
|
||||
find . -name .DS_Store | xargs rm
|
||||
rsync -avz -e ssh --safe-links --progress site/ gram:/var/www/static/
|
||||
|
||||
|
|
7
build.js
7
build.js
|
@ -21,7 +21,11 @@ var filenamedate = require('metalsmith-date-in-filename');
|
|||
* Helpers
|
||||
*/
|
||||
|
||||
// generate metadata for publications (used in /publications.md)
|
||||
var buildPubs = require('./stages/build-pubs.js');
|
||||
// generate metadata for grants (used in /grants.md)
|
||||
var buildGrants = require('./stages/build-grants.js');
|
||||
// use mathjax to render inline-latex
|
||||
var renderTeX = require('./stages/render-tex.js');
|
||||
|
||||
/**
|
||||
|
@ -44,8 +48,9 @@ var metalsmith = Metalsmith(__dirname)
|
|||
odinLab: "metadata/lab.json",
|
||||
altPubs: "metadata/publications.json",
|
||||
}))
|
||||
// Helper Stage: Render Publication Details (required for inline rendering)
|
||||
// Helper Stage: Render Publication/Grant Details (required for inline rendering)
|
||||
.use(buildPubs())
|
||||
.use(buildGrants())
|
||||
// Extract Path to Root (required for inline rendering)
|
||||
.use(rootpath())
|
||||
// Extract Dates from Filenames (required for inline rendering)
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
module.exports = format;
|
||||
|
||||
function format(lab){
|
||||
return function(author) {
|
||||
if(lab.findIndex(function(member, idx, ignore) { return author == member }) >= 0) {
|
||||
return "<span class='lab_member'>"+author.replace(/ /, " ")+"</span>"
|
||||
} else {
|
||||
return author.replace(/ /, " ")
|
||||
}
|
||||
}
|
||||
}
|
|
@ -211,10 +211,6 @@ body {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
/*.paper_list {
|
||||
text-align: center;
|
||||
}
|
||||
*/
|
||||
.paper_list ul {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
|
@ -243,6 +239,39 @@ body {
|
|||
.paper_list li .metadata {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
.grants ul {
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
.grants li {
|
||||
margin-top: 20px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
font-size: 15px;
|
||||
list-style-type: none;
|
||||
line-height: 20px;
|
||||
}
|
||||
.grants li .title {
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
line-height: 22px;
|
||||
}
|
||||
.grants li .section {
|
||||
font-size: 12px;
|
||||
}
|
||||
.grants li .section .title {
|
||||
color: #041a9b;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.grants li .section .lab_member {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.article .navigation {
|
||||
margin-top: 10px;
|
||||
margin-left: 60px;
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<p style="text-align: justify;"><strong>The ODIn lab relies on <span style="text-decoration: underline;">your</span> support, and the support of countless others to fulfill our goal of making data more accessible.</strong> We're extremely grateful to the American taxpayer and for the support we've received from <a href="http://oracle.com">Oracle</a> and <a href="http://www.google.com/">Google</a>. In the interest of openness and data accessibility, we're publishing the scientific content of our accepted proposals -- the same content that the reviewers see.</p>
|
||||
|
||||
<div class="grants">
|
||||
{{#each allGrants}}
|
||||
<h1>{{year}}</h1>
|
||||
<ul class="grants">
|
||||
{{#each grants}}<li>
|
||||
<div class="title">{{title}}</div>
|
||||
<div class="section">${{amount}} from {{agency}}</div>
|
||||
<div class="section"><span class="label">Authors:</span> {{{piFormat}}}</div>
|
||||
<div class="section"><span class="label">Supports:</span> {{{supportsFormat}}}</div>
|
||||
<div class="section">{{{resourcesFormat}}}</div>
|
||||
</li>{{/each}}
|
||||
</ul>
|
||||
{{/each}}
|
||||
</div>
|
|
@ -1,32 +0,0 @@
|
|||
<p style="text-align: justify;"><strong>The ODIn lab relies on <span style="text-decoration: underline;">your</span> support, and the support of countless others to fulfill our goal of making data more accessible.</strong> We're extremely grateful to the American taxpayer and for the support we've received from <a href="http://oracle.com">Oracle</a> and <a href="http://www.google.com/">Google</a>. In the interest of openness and data accessibility, we're publishing the scientific content of our accepted proposals -- the same content that the reviewers see.</p>
|
||||
|
||||
<h3>2015</h3>
|
||||
<ul class="grant_list">
|
||||
<li class="grant">
|
||||
<div class="grant_title">Expressing Uncertainty Using the <tt>maybe</tt> System</div>
|
||||
<div class="grant_section"><span class="grant_section_title">Authors:</span> <a href="http://blue.cse.buffalo.edu/people/gwa">Geoffrey Challen</a>, <strong>Oliver Kennedy</strong>, <a href="http://www.cse.buffalo.edu/~lziarek/">Lukasz Ziarek</a></div>
|
||||
<div class="grant_section"><span class="grant_section_title">Supports:</span> Yihong Chen</div>
|
||||
<div class="grant_section">$38,656 from the Google <a href="http://research.google.com/university/relations/research_awards.html">Faculty Research Awards Program</a></div>
|
||||
<div class="grant_section"><a href="http://blue.cse.buffalo.edu/proposals/2015-gra-maybe">Proposal</a></div></li>
|
||||
<li class="grant">
|
||||
<div class="grant_title">Intuitive Data Interpretation</div>
|
||||
<div class="grant_section"><span class="grant_section_title">Authors:</span> <strong>Oliver Kennedy</strong></div>
|
||||
<div class="grant_section"><span class="grant_section_title">Supports:</span> Ying Yang, Niccoló Meneghetti</div>
|
||||
<div class="grant_section">$90,455 from Oracle University Relations</div>
|
||||
<div class="grant_section"><a href="http://odin.cse.buffalo.edu/wp-content/uploads/2015/06/IntuitiveDataInterprestation-2015-Abstract.txt">Abstract</a> // <a href="http://odin.cse.buffalo.edu/wp-content/uploads/2015/06/IntuitiveDataInterprestation-2015.txt">Proposal</a></div></li>
|
||||
</ul>
|
||||
<h3>2014</h3>
|
||||
<ul class="grant_list">
|
||||
<li class="grant">
|
||||
<div class="grant_title">TWC: Medium: Collaborative: Data is Social: Exploiting Data Relationships to Detect Insider Attacks (+ REU)</div>
|
||||
<div class="grant_section"><span class="grant_section_title">Authors:</span> <a href="http://www.cse.buffalo.edu/~hungngo">Hung Ngo</a>, <a href="http://www.cse.buffalo.edu/~shambhu">Shambhu Upadhyaya</a>, <strong>Oliver Kennedy</strong>, <a href="http://www.cse.buffalo.edu/~chandola">Varun Chandola</a></div>
|
||||
<div class="grant_section"><span class="grant_section_title">Supports:</span> Ting Xie, Gokhan Kul, Duc Thanh Anh Luong, Patrick Coonan, Thomas Mitchell</div>
|
||||
<div class="grant_section">$975,999 from the National Science Foundation</div>
|
||||
<div class="grant_section"><a href="http://odin.cse.buffalo.edu/wp-content/uploads/2015/06/InsiderThreats-2014-Abstract.pdf">Abstract</a> // <a href="http://odin.cse.buffalo.edu/wp-content/uploads/2015/06/InsiderThreats-2014.pdf">Proposal</a></div></li>
|
||||
<li class="grant">
|
||||
<div class="grant_title">Intuitive Data Interpretation</div>
|
||||
<div class="grant_section"><span class="grant_section_title">Authors:</span> <strong>Oliver Kennedy</strong>, <a href="http://www.cse.buffalo.edu/~chomicki">Jan Chomicki</a></div>
|
||||
<div class="grant_section"><span class="grant_section_title">Supports:</span> Ying Yang</div>
|
||||
<div class="grant_section">$88,000 from Oracle University Relations</div>
|
||||
<div class="grant_section"><a href="http://odin.cse.buffalo.edu/wp-content/uploads/2015/06/IntuitiveDataInterpretation-2014.rtf">Proposal</a></div></li>
|
||||
</ul>
|
|
@ -4,7 +4,7 @@
|
|||
"Ying Yang",
|
||||
"Ting Xie",
|
||||
"Gokhan Kul",
|
||||
"Duc Thanth Luong",
|
||||
"Duc Thanh Luong",
|
||||
"Poonam Kumari",
|
||||
"Razieh Fathi",
|
||||
"Niccolò Meneghetti",
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,7 @@
|
|||
---
|
||||
title: Research Projects
|
||||
---
|
||||
|
||||
## <a href="mimir/index.html"><img src="../assets/logos/mimir_logo_final.png" alt="" width="266" height="106" /></a>
|
||||
Many analytics tasks are based on information that is initially incomplete, inconsistent, or simply used incorrectly. Existing strategies to help people cope with these sources of uncertainty often require heavyweight upfront organizational tasks (i.e., tagging, data-cleaning, or modeling). The Mimir project aims to streamline this process, making it more on-demand and intuitive.
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
---
|
||||
title: Teaching
|
||||
---
|
||||
|
||||
# CSE 562 - Graduate Databases
|
||||
|
||||
* <a title="CSE 562" href="cse-562/index.html">Spring 2015</a>
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
module.exports = plugin;
|
||||
|
||||
var formatAuthor = require("../lib/format-author.js");
|
||||
|
||||
function plugin() {
|
||||
return function (files, smith, done){
|
||||
var lab = smith.metadata().odinLab.members.concat(
|
||||
smith.metadata().odinLab.alumni);
|
||||
var grants = smith.metadata().okennedy.data.grants;
|
||||
var grantsByYear = {}
|
||||
for(i in grants){
|
||||
var grant = grants[i]
|
||||
if(grant.status != "accepted"){ continue; }
|
||||
|
||||
var year = grant.start.split(/\//)[1]
|
||||
|
||||
var pis = [ smith.metadata().okennedy.data.name ]
|
||||
if(typeof grant.copis != 'undefined'){
|
||||
pis = pis.concat(grant.copis)
|
||||
}
|
||||
// console.log(pis)
|
||||
var piFormat = pis.map(formatAuthor(lab)).join(", ")
|
||||
|
||||
// console.log(grant.supports)
|
||||
var supportsFormat = null;
|
||||
if(typeof grant.supports != 'undefined'){
|
||||
supportsFormat = grant.supports.map(formatAuthor(lab)).join(", ")
|
||||
}
|
||||
|
||||
var amount = parseInt(grant.amount)
|
||||
|
||||
var resourcesFormat = ""
|
||||
if(typeof grant.urls == 'object') {
|
||||
var resources = []
|
||||
for(cat in grant.urls){
|
||||
resources.push("<a href="+grant.urls[cat]+">"+cat+"</a>");
|
||||
}
|
||||
resourcesFormat = resources.join(" // ");
|
||||
}
|
||||
|
||||
if(typeof grantsByYear[year] == 'undefined') {
|
||||
grantsByYear[year] = []
|
||||
}
|
||||
grantsByYear[year].push(
|
||||
{
|
||||
title: grant.title,
|
||||
agency: grant.agency,
|
||||
amount: amount,
|
||||
pis: pis,
|
||||
piFormat: piFormat,
|
||||
supports: grant.supports,
|
||||
supportsFormat: supportsFormat,
|
||||
resources: grant.urls,
|
||||
resourcesFormat: resourcesFormat
|
||||
}
|
||||
)
|
||||
}
|
||||
var out = []
|
||||
for(i in grantsByYear) {
|
||||
out.push({year: i, grants: grantsByYear[i]})
|
||||
}
|
||||
// console.log(out)
|
||||
smith.metadata()["allGrants"] = out.reverse()
|
||||
done()
|
||||
}
|
||||
}
|
|
@ -1,5 +1,7 @@
|
|||
module.exports = plugin;
|
||||
|
||||
var formatAuthor = require("../lib/format-author.js");
|
||||
|
||||
function plugin() {
|
||||
return function (files, smith, done){
|
||||
var lab = smith.metadata().odinLab.members.concat(
|
||||
|
@ -18,13 +20,7 @@ function plugin() {
|
|||
}
|
||||
var authorFormat =
|
||||
pub.authors
|
||||
.map(function(author) {
|
||||
if(lab.findIndex(function(member, idx, ignore) { return author == member }) >= 0) {
|
||||
return "<span class='lab_member'>"+author.replace(/ /, " ")+"</span>"
|
||||
} else {
|
||||
return author.replace(/ /, " ")
|
||||
}
|
||||
})
|
||||
.map(formatAuthor(lab))
|
||||
.join(", ")
|
||||
if(typeof pub.year == 'undefined'){
|
||||
console.log(pub);
|
||||
|
|
Loading…
Reference in New Issue