Skip to content

Commit b21eb3b

Browse files
committed
generator was using collection:publication instead of publications
1 parent fa02c8f commit b21eb3b

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

markdown_generator/publications.ipynb

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"cell_type": "code",
23-
"execution_count": 2,
23+
"execution_count": 4,
2424
"metadata": {
2525
"collapsed": false
2626
},
@@ -488,19 +488,19 @@
488488
"18 A short paper showing the recent explosive gro... "
489489
]
490490
},
491-
"execution_count": 2,
491+
"execution_count": 4,
492492
"metadata": {},
493493
"output_type": "execute_result"
494494
}
495495
],
496496
"source": [
497-
"articles = pd.read_csv(\"articles.tsv\", sep=\"\\t\", header=0)\n",
498-
"articles"
497+
"publications = pd.read_csv(\"publications.tsv\", sep=\"\\t\", header=0)\n",
498+
"publications"
499499
]
500500
},
501501
{
502502
"cell_type": "code",
503-
"execution_count": 3,
503+
"execution_count": 5,
504504
"metadata": {
505505
"collapsed": true
506506
},
@@ -521,20 +521,20 @@
521521
},
522522
{
523523
"cell_type": "code",
524-
"execution_count": 4,
524+
"execution_count": 6,
525525
"metadata": {
526526
"collapsed": false
527527
},
528528
"outputs": [],
529529
"source": [
530530
"import os\n",
531-
"for row, item in articles.iterrows():\n",
531+
"for row, item in publications.iterrows():\n",
532532
" md_filename = str(item.pub_date) + \"-\" + item.slug + \".md\"\n",
533533
" html_filename = str(item.pub_date) + \"-\" + item.slug \n",
534534
" year = item.pub_date[:4]\n",
535535
" md = \"---\\ntitle: \\\"\" + item.title + '\"\\n'\n",
536536
" \n",
537-
" md += \"\"\"collection: publication\\npermalink: /publication/\"\"\" + html_filename\n",
537+
" md += \"\"\"collection: publications\\npermalink: /publication/\"\"\" + html_filename\n",
538538
" md += \"\\nexcerpt: '<i>Published in \" + item.venue + \", \" + str(year) + \"</i><br/>\" + html_escape(item.summary) + \"'\"\n",
539539
" md += \"\\ndate: \" + str(item.pub_date) \n",
540540
" md += \"\\nvenue: '\" + html_escape(item.venue) + \"'\"\n",
@@ -551,7 +551,7 @@
551551
},
552552
{
553553
"cell_type": "code",
554-
"execution_count": 5,
554+
"execution_count": 7,
555555
"metadata": {
556556
"collapsed": false
557557
},
@@ -560,25 +560,26 @@
560560
"name": "stdout",
561561
"output_type": "stream",
562562
"text": [
563-
"-rw-r--r-- 1 tools.paws tools.paws 1.5K Sep 27 21:57 2009-10-01-gnovis-habermas-understand-internet.md\r\n",
564-
"-rw-r--r-- 1 tools.paws tools.paws 1.3K Sep 27 21:57 2009-10-27-wikisym-social-roles-bots.md\r\n",
565-
"-rw-r--r-- 1 tools.paws tools.paws 1.4K Sep 27 21:57 2010-02-25-cscw-banning-vandal.md\r\n",
566-
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2011-01-03-hicss-trace-ethnography.md\r\n",
567-
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2011-10-05-wikisym-article-deletion.md\r\n",
568-
"-rw-r--r-- 1 tools.paws tools.paws 1.4K Sep 27 21:57 2011-11-01-cpov-lives-of-bots.md\r\n",
569-
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2012-05-02-altchi-ipoxp.md\r\n",
570-
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2012-06-05-icwsm-socialization-wikipedia.md\r\n",
571-
"-rw-r--r-- 1 tools.paws tools.paws 1.8K Sep 27 21:57 2012-08-29-wikisym-wikipedia-literate.md\r\n",
572-
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2012-11-05-infoorg-artifacts-that-organize.md\r\n",
573-
"-rw-r--r-- 1 tools.paws tools.paws 1.8K Sep 27 21:57 2013-02-23-cscw-edit-sessions.md\r\n",
574-
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2013-05-01-abs-rise-and-decline-wikipedia.md\r\n",
575-
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2013-08-03-wikisym-levee-breaks-bots.md\r\n",
576-
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2013-09-01-ecosoc-lter-students.md\r\n",
577-
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2014-01-03-ics-bots-bespoke-code.md\r\n",
578-
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2014-05-01-chi-snuggle-wikipedia.md\r\n",
579-
"-rw-r--r-- 1 tools.paws tools.paws 1.7K Sep 27 21:57 2014-09-10-jobem-old-against-new.md\r\n",
580-
"-rw-r--r-- 1 tools.paws tools.paws 1.8K Sep 27 21:57 2014-11-02-hcomp-values-in-crowdsourcing.md\r\n",
581-
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2016-03-21-blockbots-ics.md\r\n"
563+
"-rw-r--r-- 1 tools.paws tools.paws 1.5K Mar 25 17:22 2009-10-01-gnovis-habermas-understand-internet.md\r\n",
564+
"-rw-r--r-- 1 tools.paws tools.paws 1.3K Mar 25 17:22 2009-10-27-wikisym-social-roles-bots.md\r\n",
565+
"-rw-r--r-- 1 tools.paws tools.paws 1.4K Mar 25 17:22 2010-02-25-cscw-banning-vandal.md\r\n",
566+
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Mar 25 17:22 2011-01-03-hicss-trace-ethnography.md\r\n",
567+
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Mar 25 17:22 2011-10-05-wikisym-article-deletion.md\r\n",
568+
"-rw-r--r-- 1 tools.paws tools.paws 1.4K Mar 25 17:22 2011-11-01-cpov-lives-of-bots.md\r\n",
569+
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Mar 25 17:22 2012-05-02-altchi-ipoxp.md\r\n",
570+
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Mar 25 17:22 2012-06-05-icwsm-socialization-wikipedia.md\r\n",
571+
"-rw-r--r-- 1 tools.paws tools.paws 1.8K Mar 25 17:22 2012-08-29-wikisym-wikipedia-literate.md\r\n",
572+
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Mar 25 17:22 2012-11-05-infoorg-artifacts-that-organize.md\r\n",
573+
"-rw-r--r-- 1 tools.paws tools.paws 1.8K Mar 25 17:22 2013-02-23-cscw-edit-sessions.md\r\n",
574+
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Mar 25 17:22 2013-05-01-abs-rise-and-decline-wikipedia.md\r\n",
575+
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Mar 25 17:22 2013-08-03-wikisym-levee-breaks-bots.md\r\n",
576+
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Mar 25 17:22 2013-09-01-ecosoc-lter-students.md\r\n",
577+
"-rw-r--r-- 1 tools.paws tools.paws 1.6K Mar 25 17:22 2014-01-03-ics-bots-bespoke-code.md\r\n",
578+
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Mar 25 17:22 2014-05-01-chi-snuggle-wikipedia.md\r\n",
579+
"-rw-r--r-- 1 tools.paws tools.paws 1.7K Mar 25 17:22 2014-09-10-jobem-old-against-new.md\r\n",
580+
"-rw-r--r-- 1 tools.paws tools.paws 1.8K Mar 25 17:22 2014-11-02-hcomp-values-in-crowdsourcing.md\r\n",
581+
"-rw-r--r-- 1 tools.paws tools.paws 1.9K Mar 25 17:22 2016-03-21-blockbots-ics.md\r\n",
582+
"-rw-r--r-- 1 tools.paws tools.paws 493 Mar 25 17:20 readme.md\r\n"
582583
]
583584
}
584585
],
@@ -588,7 +589,7 @@
588589
},
589590
{
590591
"cell_type": "code",
591-
"execution_count": 7,
592+
"execution_count": 8,
592593
"metadata": {
593594
"collapsed": false
594595
},
@@ -599,7 +600,7 @@
599600
"text": [
600601
"---\r\n",
601602
"title: \"Does Habermas Understand the Internet? The Algorithmic Construction of the Blogo/Public Sphere\"\r\n",
602-
"collection: publication\r\n",
603+
"collection: publications\r\n",
603604
"permalink: /publication/2009-10-01-gnovis-habermas-understand-internet\r\n",
604605
"excerpt: '<i>Published in Gnovis, 2009</i><br/>Habermasians have been debating about the role of the Internet in the public sphere, but they have all taken for granted the highly-automated software infrastructures that mediate our knowledge of the blogosphere.'\r\n",
605606
"date: 2009-10-01\r\n",

0 commit comments

Comments
 (0)