Skip to content

About

Frankenberg Lab at Caltech

Resources

Stars

1 star

Watchers

3 watching

Forks

Repository files navigation

RSFraLab.github.io

The Lab Website built using Quarto: https://rsfralab.github.io/

Publications sync (ORCID)

This site can generate new publication entries directly from ORCID and Crossref.

Sync new publications

Install the repository's Python dependencies:

python -m pip install -r requirements.txt

The weekly ORCID Sync action adds previously unseen DOIs from ORCID and Crossref without rewriting existing citations or publication pages. To preview it on GitHub, choose Actions → ORCID Sync → Run workflow and leave Preview changes without committing or publishing checked.

To run the same publication update locally:

python scripts/orcid_sync.py --orcid YOUR-ORCID-ID --no-qmd
python scripts/parsePubs.py --include-preprints --preserve-existing

Pass --dry-run to the first command to inspect candidate records without appending to the bibliography. Do not use --full on the site's curated bibliography: that option rebuilds it from ORCID.

Preprints

By default, preprints are excluded when generating QMDs from the BibTeX file. To include them:

python scripts/parsePubs.py --bib publications/publications.bib --out-dir publications --include-preprints

Preprints are written to publications/preprints and shown on preprints.qmd.

PDF links

If you want a PDF link to appear for a paper, place a PDF at:

publications/pdfs/<generated-filename>.pdf

The listing template will show a “PDF” link when materials is set. You can also manually set materials in any publication QMD front matter to an external URL.

External PDF hosting (recommended for large files)

Use a URL template so new entries get a PDF link automatically:

python scripts/orcid_sync.py --orcid YOUR-ORCID-ID --materials-template "https://your-server.org/papers/{slug}.pdf"

Template variables:

  • {slug} = generated filename without .qmd
  • {doi} = DOI

Auto-discover and download PDFs (OA only)

If you want to auto-find open-access PDFs, use Unpaywall (requires email):

python scripts/orcid_sync.py --orcid YOUR-ORCID-ID --unpaywall-email you@caltech.edu --download-pdfs

This downloads OA PDFs into publications/pdfs and sets materials to that local path.

About

Frankenberg Lab at Caltech

Resources

Stars

1 star

Watchers

3 watching

Forks

Used by

Contributors

Languages