Fetching Publications from Google Scholar

This guide explains how to automatically fetch your publications from Google Scholar and display them on your website.

Setup

  1. Install required Python packages:
    pip install -r requirements.txt
    
  2. Update the script with your information:
    • Open fetch_publications.py
    • Update YOUR_NAME variable to match how your name appears in publications (line 13)
    • The SCHOLAR_ID is already set to your Google Scholar ID

Usage

Run the script to fetch publications:

python fetch_publications.py

The script will:

Manual Editing

After running the script, you can manually edit _data/publications.yml to:

Troubleshooting

Rate Limiting: Google Scholar may rate-limit requests. If you get errors:

Missing Data: Some publications may have incomplete information:

Author Highlighting: If your name isn’t being highlighted:

YAML Structure

Each publication entry looks like:

- title: "Paper Title"
  authors: "Author One, <strong>Your Name</strong>, Author Two"
  venue: "Conference/Journal Name"
  year: 2024
  type: "conference"  # or "journal", "preprint"
  links:
    pdf: "https://..."
    arxiv: "https://..."
    doi: "https://..."
    code: "https://..."

Updating Your Site

After updating the publications file:

  1. Commit and push to GitHub
  2. GitHub Pages will automatically rebuild your site
  3. Your publications will appear on the /publications/ page