CSV-Based Content Management
CSV-Based Content Management
This directory contains tools for managing your academic website content using CSV files instead of TSV files.
Files
CSV Data Files
publications.csv
- Your publications datatalks.csv
- Your talks and presentations data
CSV Template Files
publications_template.csv
- Template for adding new publicationstalks_template.csv
- Template for adding new talks
Scripts
csv_publications.py
- Generate publication markdown files from CSVcsv_talks.py
- Generate talk markdown files from CSVadd_content.py
- Interactive tool to add new content
How to Use
1. Add New Publications
Option A: Edit CSV directly
- Open
publications.csv
in Excel, Google Sheets, or any CSV editor - Add a new row with your publication data
- Run:
python csv_publications.py
Option B: Use interactive tool
- Run:
python add_content.py
- Choose option 1 (Add Publication)
- Follow the prompts
- Run:
python csv_publications.py
2. Add New Talks
Option A: Edit CSV directly
- Open
talks.csv
in Excel, Google Sheets, or any CSV editor - Add a new row with your talk data
- Run:
python csv_talks.py
Option B: Use interactive tool
- Run:
python add_content.py
- Choose option 2 (Add Talk)
- Follow the prompts
- Run:
python csv_talks.py
3. Generate All Content
To regenerate all markdown files from your CSV data:
python csv_publications.py
python csv_talks.py
CSV Format
Publications CSV Columns
pub_date
- Publication date (YYYY-MM-DD)title
- Publication titlevenue
- Journal/Conference nameexcerpt
- Brief description (optional)citation
- Full citationurl_slug
- URL-friendly identifier (auto-generated if empty)paper_url
- Link to paper (optional)slides_url
- Link to slides (optional)category
- manuscripts/conferences/books (auto-detected if empty)
Talks CSV Columns
title
- Talk titletype
- Talk/Poster/Invited Talk/Tutorialurl_slug
- URL-friendly identifier (auto-generated if empty)venue
- Institution/Conference namedate
- Talk date (YYYY-MM-DD)location
- City, State/Countrytalk_url
- Link to talk info/slides (optional)description
- Talk description (optional)
Benefits of CSV Format
✅ Easy to edit in Excel, Google Sheets, or any spreadsheet application ✅ Widely supported by all data analysis tools ✅ Better handling of special characters and commas in text ✅ Visual editing - see all your content in a table format ✅ Sorting and filtering capabilities in spreadsheet applications ✅ Version control friendly - easier to track changes in Git
Migration from TSV
Your original TSV files have been converted to CSV format:
publications.tsv
→publications.csv
talks.tsv
→talks.csv
The TSV files are kept for backup, but you should use the CSV files going forward.