Convert TSV of publication data into markdown for Github Pages


In [1]:
import pandas as pd

In [2]:
articles = pd.read_csv("articles.tsv", sep="\t", header=0)
articles


Out[2]:
pub_date venue pub_details authors title citation url slug summary description
0 2016-03-21 Information, Communication, and Society 19(6) R. Stuart Geiger Bot-based collective blocklists in Twitter: th... Geiger, R. Stuart. (2016). “Bot-based collecti... http://stuartgeiger.com/blockbots-ics.pdf blockbots-ics This article introduces and discusses bot-base... This article introduces and discusses bot-base...
1 2014-09-10 Journal of Broadcasting and Electronic Media 58(3) R. Stuart Geiger, Airi Lampinen Old Against New, or a Coming of Age? Broadcast... Geiger, R. Stuart and Lampinen, Airi. (2014). ... http://www.stuartgeiger.com/jobem.pdf jobem-old-against-new On the history and continued relevance of the ... “Broadcasting” is often cast as an outdated te...
2 2014-11-02 Proceedings of HCOMP, Citizen-X Workshop NaN Nathan Matias, R. Stuart Geiger Defining, Designing, and Evaluating Civic Valu... Matias, N. and Geiger, R.S. “Defining, Designi... http://stuartgeiger.com/defining-civic-values-... hcomp-values-in-crowdsourcing We review various crowdsourcing and collective... Collective action is often described in terms ...
3 2014-05-01 Proceedings of CHI NaN Aaron Halfaker, R. Stuart Geiger, Loren Terveen Snuggle: Designing for efficient socialization ... Halfaker, Aaron., Geiger, R. Stuart., and Trev... http://www-users.cs.umn.edu/~halfak/publicatio... chi-snuggle-wikipedia This paper discusses the Snuggle project, buil... We worked with a coalition of Wikipedians to d...
4 2014-01-03 Information, Communication, and Society 17 R. Stuart Geiger Bots, bespoke code, and the materiality of sof... Geiger, R. Stuart. (2014). “Bots, Bespoke Code... http://stuartgeiger.com/bespoke-code-ics.pdf ics-bots-bespoke-code This article introduces and discusses the role... This article introduces and discusses the role...
5 2013-09-01 Ecology and Society 18(3) Michele Romolini, Sydne Record, Rebecca Garvoi... The Next Generation of Scientists: Examining t... Romolini, Michele., Sydne Record, Rebecca. Gar... http://stuartgeiger.com/lter-network-level-sci... ecosoc-lter-students We examined how graduate students experienced ... In the pursuit to confront pressing environmen...
6 2013-08-03 Proceedings of WikiSym NaN R. Stuart Geiger, Aaron Halfaker When the Levee Breaks: Without Bots, What Happ... Geiger, R. Stuart and Halfaker, Aaron. (2013).... http://stuartgeiger.com/wikisym13-cluebot.pdf wikisym-levee-breaks-bots This paper examines what happened when one of ... In the first half of 2011, ClueBot NG – one of...
7 2013-02-23 Proceedings of CSCW NaN R. Stuart Geiger, Aaron Halfaker Using Edit Sessions to Measure Participation i... Geiger, R. Stuart and Halfaker, Aaron. (2013).... http://www.stuartgeiger.com/cscw-sessions.pdf cscw-edit-sessions This paper establishes a quantitative metric f... Many quantitative, log-based studies of partic...
8 2012-11-05 Information and Organization 23:1-14 David Ribes, Steve Jackson, R. Stuart Geiger, ... Artifacts that Organize: Delegation in the Dis... Ribes, David, Steve Jackson, R. Stuart Geiger,... http://www.stuartgeiger.com/artifacts-that-org... infoorg-artifacts-that-organize This paper studies the role of computational i... Increasingly, organizations are deploying auto...
9 2013-05-01 American Behavioral Scientist 57(5) Aaron Halfaker, R. Stuart Geiger, Jonathan Mor... The Rise and Decline of an Open Collaboration ... Halfaker, Aaron., R. Stuart Geiger, Jonathan M... http://www-users.cs.umn.edu/~halfak/publicatio... abs-rise-and-decline-wikipedia A mixed-method, multi-study analysis of editor... This paper presents evidence that several chan...
10 2012-06-05 Proceedings of ICWSM NaN R. Stuart Geiger, Aaron Halfaker, Maryana Pinc... Defense Mechanism or Socialization Tactic? Imp... Geiger, R. Stuart, Aaron Halfaker, Maryana Pin... http://stuartgeiger.com/defense-mechanism-icws... icwsm-socialization-wikipedia A descriptive study of Wikipedia's highly-auto... In this paper, we first illustrate and describ...
11 2012-08-29 Proceedings of WikiSym NaN Heather Ford, R. Stuart Geiger “Writing up rather than writing down”: Becomin... Ford, Heather and R. Stuart Geiger. (2012). “”... http://www.stuartgeiger.com/writing-up-wikisym... wikisym-wikipedia-literate We introduce and advocate a multi-faceted theo... We introduce and advocate a multi-faceted theo...
12 2012-05-02 Proceedings of CHI (alt.CHI) NaN R. Stuart Geiger, Yoon J. Jeong, Emily Manders Black-boxing the user: internet protocol over ... Geiger, R. Stuart, Yoon J. Jeong, and Emily Ma... http://stuartgeiger.com/ipoxp.pdf altchi-ipoxp We introduce IP over Xylophone Players (IPoXP)... We introduce IP over Xylophone Players (IPoXP)...
13 2011-10-05 Proceedings of WikiSym NaN R. Stuart Geiger and Heather Ford Participation in Wikipedia’s Article Deletion ... Geiger, R. Stuart and Heather Ford. (2011) “Pa... http://www.stuartgeiger.com/papers/article-del... wikisym-article-deletion This paper investigates Wikipedia's article de... We find that Wikipedia’s deletion process is h...
14 2011-11-01 Wikipedia: A Critical Point of View ed. G. Loving and N. Tkacz R. Stuart Geiger The Lives of Bots Geiger, R. Stuart. (2011). “The Lives of Bots.... http://www.stuartgeiger.com/papers/lives-of-bo... cpov-lives-of-bots I describe the complex social and technical en... I describe the complex social and technical en...
15 2011-01-03 Proceedings of HICSS NaN R. Stuart Geiger, David Ribes Trace Ethnography: Following Coordination thro... Geiger, R. Stuart and David Ribes (2011). “Tra... http://www.stuartgeiger.com/trace-ethnography-... hicss-trace-ethnography We detail the methodology of ‘trace ethnograph... We detail the methodology of ‘trace ethnograph...
16 2010-02-25 Proceedings of CSCW NaN R. Stuart Geiger, David Ribes The Work of Sustaining Order in Wikipedia: The... Geiger, R. Stuart and David Ribes (2010). “Th... http://www.stuartgeiger.com/papers/cscw-sustai... cscw-banning-vandal This paper traces out a heterogeneous network ... This paper traces out a heterogeneous network ...
17 2009-10-01 Gnovis NaN R. Stuart Geiger Does Habermas Understand the Internet? The Alg... Geiger, R. Stuart (2009). “Does Habermas Under... http://www.stuartgeiger.com/papers/gnovis-habe... gnovis-habermas-understand-internet Habermasians have been debating about the role... Habermasians have been debating about the role...
18 2009-10-27 Proceedings of Wikisym NaN R. Stuart Geiger The Social Roles of Bots and Assisted Editing ... Geiger, R. Stuart (2009). “The Social Roles of... http://www.stuartgeiger.com/papers/geiger-wiki... wikisym-social-roles-bots A short paper showing the recent explosive gro... A short paper showing the recent explosive gro...

In [3]:
html_escape_table = {
    "&": "&",
    '"': """,
    "'": "'",
    ">": ">",
    "<": "&lt;",
    }

def html_escape(text):
    """Produce entities within text."""
    return "".join(html_escape_table.get(c,c) for c in text)

In [4]:
import os
for row, item in articles.iterrows():
    md_filename = str(item.pub_date) + "-" + item.slug + ".md"
    html_filename = str(item.pub_date) + "-" + item.slug 
    year = item.pub_date[:4]
    md = "---\ntitle: \""   + item.title + '"\n'
    
    md += """collection: publication\npermalink: /publication/""" + html_filename
    md += "\nexcerpt: '<i>Published in " + item.venue + ", " + str(year) + "</i><br/>" + html_escape(item.summary) + "'"
    md += "\ndate: " + str(item.pub_date) 
    md += "\nvenue: '" + html_escape(item.venue) + "'"
    md += "\npaperurl: '" + item.url + "'"
    md += "\ncitation: '" + html_escape(item.citation) + "'"
    md += "\n---"
    md += "\n\n<a href='" + item.url + "'>Download PDF here</a>\n" 
    md += "\nAbstract: " + html_escape(item.description) + "\n"
    md += "\n Recommended citation: " + item.citation
    md_filename = os.path.basename(md_filename)
    with open(md_filename, 'w') as f:
        f.write(md)

In [5]:
!ls -lah *.md


-rw-r--r-- 1 tools.paws tools.paws 1.5K Sep 27 21:57 2009-10-01-gnovis-habermas-understand-internet.md
-rw-r--r-- 1 tools.paws tools.paws 1.3K Sep 27 21:57 2009-10-27-wikisym-social-roles-bots.md
-rw-r--r-- 1 tools.paws tools.paws 1.4K Sep 27 21:57 2010-02-25-cscw-banning-vandal.md
-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2011-01-03-hicss-trace-ethnography.md
-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2011-10-05-wikisym-article-deletion.md
-rw-r--r-- 1 tools.paws tools.paws 1.4K Sep 27 21:57 2011-11-01-cpov-lives-of-bots.md
-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2012-05-02-altchi-ipoxp.md
-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2012-06-05-icwsm-socialization-wikipedia.md
-rw-r--r-- 1 tools.paws tools.paws 1.8K Sep 27 21:57 2012-08-29-wikisym-wikipedia-literate.md
-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2012-11-05-infoorg-artifacts-that-organize.md
-rw-r--r-- 1 tools.paws tools.paws 1.8K Sep 27 21:57 2013-02-23-cscw-edit-sessions.md
-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2013-05-01-abs-rise-and-decline-wikipedia.md
-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2013-08-03-wikisym-levee-breaks-bots.md
-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2013-09-01-ecosoc-lter-students.md
-rw-r--r-- 1 tools.paws tools.paws 1.6K Sep 27 21:57 2014-01-03-ics-bots-bespoke-code.md
-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2014-05-01-chi-snuggle-wikipedia.md
-rw-r--r-- 1 tools.paws tools.paws 1.7K Sep 27 21:57 2014-09-10-jobem-old-against-new.md
-rw-r--r-- 1 tools.paws tools.paws 1.8K Sep 27 21:57 2014-11-02-hcomp-values-in-crowdsourcing.md
-rw-r--r-- 1 tools.paws tools.paws 1.9K Sep 27 21:57 2016-03-21-blockbots-ics.md

In [7]:
!head 2009-10-01-gnovis-habermas-understand-internet.md


---
title: "Does Habermas Understand the Internet? The Algorithmic Construction of the Blogo/Public Sphere"
collection: publication
permalink: /publication/2009-10-01-gnovis-habermas-understand-internet
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.'
date: 2009-10-01
venue: 'Gnovis'
paperurl: 'http://www.stuartgeiger.com/papers/gnovis-habermas-blogopublic-sphere.pdf'
citation: 'Geiger, R. Stuart (2009). “Does Habermas Understand the Internet? The Algorithmic Construction of the Blogo/Public Sphere.” Gnovis: A Journal of Communication, Culture, and Technology. 10(1).  http://www.stuartgeiger.com/papers/gnovis-habermas-blogopublic-sphere.pdf'
---

In [ ]: