Skip to content

Add lightweight publications CMS with rapid AI briefing feed#19

Open
Gabriel-Dalton wants to merge 1 commit intomainfrom
codex/develop-cms-for-publications-section
Open

Add lightweight publications CMS with rapid AI briefing feed#19
Gabriel-Dalton wants to merge 1 commit intomainfrom
codex/develop-cms-for-publications-section

Conversation

@Gabriel-Dalton
Copy link
Copy Markdown
Owner

Motivation

  • Provide a simple, CMS-like workflow so teams can publish fast desk briefings or full publications without editing HTML every time.
  • Surface a professional-looking, institutionally styled “AI news and policy updates” feed for timely items while preserving the existing pillar-based publications layout.

Description

  • Add a renderer js/publications-cms.js that populates pillar sections and a new news feed from a shared data file.
  • Extend js/publications-data.js to support type: 'publication' | 'news', add two example news records, implement getNewsBriefings(), and keep getPublications() filtered to non-news entries.
  • Convert publications.html to load the new scripts, add an editorial note block, a #newsFeed area for briefings, and dynamic containers for each pillar (#safetyPublications, #sustainabilityPublications, #ethicsPublications).
  • Add styling in css/styles.css for the editorial note and news-feed cards and document the two publishing modes in content/publications/README.md and README.md.

Testing

  • Ran node --check js/publications-data.js which reported no syntax errors.
  • Ran node --check js/publications-cms.js which reported no syntax errors.
  • Verified that the modified publications.html loads the new scripts and that the site structure is present according to the renderer's expected DOM IDs.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant