Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ If you suspect a security issue, run `snyk test`. Transitive CVEs with no npm re
- Media cards live in `data/media.json`. Helpers stay in `data/media.ts`. `url` is optional. Use `sources` for syndications of the same story; the primary `source`/`url` should be the strongest public outlet. Clickable source tags open that outlet's URL.
- Hosted PDFs live in `public/papers/`. Listing and featured selection live in `lib/papers.ts` (`getJournalPapers` / `getOtherPapers`); detail pages at `/publications/[slug]` (slug = PDF filename without `.pdf`, URL-encoded in links via `getPaperDetailPath`). Citation metadata (title, authors, journal, DOI, abstract, `scholar_pub_id`) lives in `data/papers.json` keyed by PDF filename and is merged into API responses. Prefer author names like `Jodie L. Rummer`. Featured papers are the newest by year in the filename. Per-paper Crossref / Altmetric / Scholar metrics are fetched server-side in `lib/paper-metrics.ts` (daily revalidate, shared with `GET /api/papers/metrics`); `/publications` passes a metrics map into `PublicationsBrowser` / presentational `PaperMetrics`. Scholar profile header stats use `getScholarProfileMetrics` (daily cache). JSON-LD for publications lives in `lib/schema/publications.ts` (`CollectionPage` + `ItemList` on listing, `ScholarlyArticle` on detail). Machine-readable feeds: `GET /publications/feed.xml` (RSS), `public/llms.txt` documents APIs. Sister sites consume `GET /api/papers` and `GET /api/papers/featured` (daily revalidate; each paper includes `detailUrl`). Use plain `<a>` for static `/papers/*.pdf` and external DOI/Scholar URLs — not `next/link` (avoids RSC prefetch 404s on hover). After adding PDFs, run `pnpm run extract-paper-metadata` then `pnpm run enrich-papers-scholar` (Crossref + Scholar ID matching; preserves curated overrides). Featured journal covers live in `data/publication-covers.ts` (optional images under `public/images/covers/`).
- Team page sections are partitioned in `lib/team.ts` (PI, current members, collaborators, past/alumni). Collaborator map points live in `data/collaborator-locations.ts` (`maplibre-gl` flat mercator map on `/collaborators`, with a globe toggle). MapLibre GL JS v6 needs worker assets under `public/maplibre/` — `predev` / `prebuild` run `scripts/copy-maplibre-worker.mjs`. The regional collaborators directory on `/collaborators` is curated in `data/collaborators.json` (helpers in `data/collaborators.ts`); refresh affiliations / Scholar IDs with `pnpm run sync-collaborators-scholar` (add `-- --add` to append new Scholar coauthors).
- Mailbox catch-up for Google Alerts / digests / Isentia PDFs: follow [`MEDIA-ALERTS.md`](MEDIA-ALERTS.md).
- Mailbox catch-up for Google Alerts / digests / Isentia PDFs on `athletesofthereef@gmail.com`: follow [`MEDIA-ALERTS.md`](MEDIA-ALERTS.md). Primary Inbox subjects are `Google Alert - Daily Digest` (from `googlealerts-noreply@google.com`) and `Daily research watch` (from Alex Morgan / `athletesofthereef@gmail.com`); also process RummerLab media digests, Scholar alerts (media only), and Jodie/Luen forwards when present.
- Use `git mv` when moving files.
- Complete the change: no TODOs or placeholders. File a GitHub issue for follow-up work instead of leaving TODO comments or README notes.

Expand Down
4 changes: 3 additions & 1 deletion MEDIA-ALERTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ Process **Inbox** unless a thread is clearly related. Read **full bodies and att

| Source | How to find |
| --- | --- |
| Google Alerts | `from:googlealerts-noreply@google.com` OR `subject:"Google Alert"` |
| Google Alert Daily Digest | `from:googlealerts-noreply@google.com` AND `subject:"Google Alert - Daily Digest"` (main Inbox backlog; one message may bundle multiple alert queries — apply include/skip per linked story) |
| Google Alerts (other) | `from:googlealerts-noreply@google.com` OR `subject:"Google Alert"` (name-specific subjects such as `Google Alert - Dr Jodie Rummer`) |
| Daily research watch | `from:athletesofthereef@gmail.com` AND `subject:"Daily research watch"` (Alex Morgan automated scan; process Inbox copies for Jodie/lab media mentions — skip pure field-literature flags with no media angle) |
| RummerLab media digest | `subject:"RummerLab media digest"` (from the [media-alerts](https://github.com/RummerLab/media-alerts) Docker digest) |
| Scholar alerts | `from:scholaralerts-noreply@google.com` (only if about Jodie/lab media; still do not edit Scholar unless asked) |
| Jodie | `jodie.rummer@jcu.edu.au` and other addresses you find |
Expand Down
Loading