1// Static JSON data files (pre-processed from CSV sources) 2// Run `node data/export-archive-data.js` to regenerate from CSV files 3export const DATA_CONFIG = { 4 // Split data loading for optimized performance 5 // Core data: lightweight records for card display (~8MB, loads first) 6 archive_core: './data/archive-core.json', 7 8 // Details: full summaries, quotes, concepts, tags (~11MB, loads on demand) 9 archive_details: './data/archive-details.json', 10 11 // Entities: for the entity browser and record connections (~1MB, loads on demand) 12 archive_entities: './data/archive-entities.json', 13 14 // Full data file (backward compatible, for fallback) 15 archive_json: './data/archive-data.json', 16 17 // Prebuilt analytics aggregates (~1KB): powers the default Analytics 18 // dashboard view without loading SQLite. Regenerated by export-archive-data.js. 19 archive_analytics: './data/archive-analytics.json', 20 21 // Prebuilt MiniSearch full-text index (~1MB, article records only): loaded 22 // lazily on first search to add body/author recall over the card-only 23 // substring blob (#276). Regenerated by export-archive-data.js. 24 search_index: './data/search-index.json', 25 26 // Social-post body index: kept separate from the article index so both 27 // remain lazy resources and browse-only visits download neither (#669). 28 // Regenerated by export-archive-data.js. 29 social_search_index: './data/social-search-index.json' 30}; 31 32// Branded in-archive report form (#509). `endpoint` is the public Apps Script 33// web-app /exec URL that files the GitHub issue on the reader's behalf (see 34// automation/apps-script/Code.gs doPost). It is a public URL, not a secret. 35// Left empty until the web app is deployed: while empty, the report modal 36// degrades to the existing GitHub new-issue deep link, so nothing breaks before 37// launch. Set this to the /exec URL to turn the branded submit on. 38export const REPORT_CONFIG = { 39 endpoint: 'https://script.google.com/macros/s/AKfycbylsBFcpmqT6WE6Hl_KNOQG61x83nYjBmDgtDwBbiyqdmN60_TFKJhabm9BhgwD1RgwdA/exec' 40}; 41 42export const ITEMS_PER_PAGE = 24; 43 44export const CONTENT_TYPE_OPTIONS = [ 45 { label: 'All', value: null }, 46 { label: 'Articles', value: 'article' }, 47 { label: 'Twitter/X', value: 'twitter' }, 48 { label: 'Bluesky', value: 'bluesky' }, 49]; 50 51export const COLORS = [ 52 { bg: '#e0f2fe', text: '#075985', border: '#bae6fd' }, // Sky 53 { bg: '#f0fdf4', text: '#166534', border: '#bbf7d0' }, // Green 54 { bg: '#fffbeb', text: '#92400e', border: '#fde68a' }, // Amber 55 { bg: '#fdf2f8', text: '#9d174d', border: '#fbcfe8' }, // Pink 56 { bg: '#f5f3ff', text: '#5b21b6', border: '#ddd6fe' }, // Violet 57 { bg: '#fff7ed', text: '#9a3412', border: '#ffedd5' } // Orange 58]; 59 60// Shared entity type configuration (used by EntityBrowser, RecordModal) 61export const ENTITY_TYPE_CONFIG = { 62 Person: { color: '#075985', bg: '#e0f2fe', label: 'People' }, 63 Organization: { color: '#166534', bg: '#f0fdf4', label: 'Organizations' }, 64 Concept: { color: '#92400e', bg: '#fffbeb', label: 'Concepts' }, 65 Work: { color: '#9d174d', bg: '#fdf2f8', label: 'Works' }, 66 Event: { color: '#5b21b6', bg: '#f5f3ff', label: 'Events' }, 67 Location: { color: '#9a3412', bg: '#fff7ed', label: 'Locations' } 68}; 69 70export { ERAS } from '../data/eras.js?v=3.8.36'; 71 72export const FEATURED_WORKS = [ 73 { 74 id: 'feat-dissertation', 75 title: 'The Impossible Press (1986)', 76 description: 'Rosen\'s PhD dissertation exploring the decline of the "public" as a social group and the rise of the mass audience. It contrasts the democratic ideal of a "universal town meeting" with the realities of modern communication.', 77 image: 'https://images.unsplash.com/photo-1585829365295-ab7cd400c167?auto=format&fit=crop&q=80&w=800', 78 link: 'https://pressthink.org/j/rosen-archive/dissertation/reader/', 79 type: 'PhD Dissertation' 80 }, 81 { 82 id: 'feat-1', 83 title: 'The View from Nowhere', 84 description: 'A seminal critique of the claim to objectivity in journalism, arguing that the "view from nowhere" is a bid for trust that actually disconnects journalists from the public.', 85 image: 'https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&q=80&w=800', 86 link: 'https://pressthink.org/2010/11/the-view-from-nowhere-questions-and-answers/', 87 type: 'Key Concept' 88 }, 89 { 90 id: 'feat-2', 91 title: 'What Are Journalists For?', 92 description: 'Rosen\'s influential book exploring the Public Journalism movement of the 1990s, arguing for a press that helps communities solve their own problems.', 93 image: 'https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?auto=format&fit=crop&q=80&w=800', 94 link: 'https://yalebooks.yale.edu/book/9780300089073/what-are-journalists-for/', 95 type: 'Book' 96 }, 97 { 98 id: 'feat-3', 99 title: 'PressThink', 100 description: 'The long-running blog where Rosen has chronicled the decline of the legacy press and the rise of the web.', 101 image: 'https://images.unsplash.com/photo-1432821596592-e2c18b78144f?auto=format&fit=crop&q=80&w=800', 102 link: 'https://pressthink.org/', 103 type: 'Blog' 104 }, 105 { 106 id: 'feat-4', 107 title: 'The Church of the Savvy', 108 description: 'A critique of political journalism that focuses on strategy, optics, and "who\'s winning" rather than the substance of policy.', 109 image: 'https://images.unsplash.com/photo-1438032005730-c779502df39b?auto=format&fit=crop&q=80&w=800', 110 link: 'https://pressthink.org/2010/06/clowns-to-the-left-of-me-jokers-to-the-right-on-the-actual-ideology-of-the-american-press/', 111 type: 'Key Concept' 112 }, 113 { 114 id: 'feat-5', 115 title: 'Audience Atomization', 116 description: 'The theory that the broadcast era treated the audience as disconnected individuals, which the internet disrupted.', 117 image: 'https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80&w=800', 118 link: 'https://pressthink.org/2009/01/12/audience-atomization-overcome-why-the-internet-weakens-the-authority-of-the-press/', 119 type: 'Key Concept' 120 }, 121 { 122 id: 'feat-6', 123 title: 'Public Journalism: A Case for Public Scholarship (1995)', 124 description: 'An early argument for academics to engage with practitioners and the public, not just other scholars. Rosen makes the case that journalism reform requires intellectual work done in the open.', 125 image: 'https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&q=80&w=800', 126 link: 'https://berks.psu.edu/sites/berks/files/campus/rosen.pdf', 127 type: 'Essay' 128 }, 129 { 130 id: 'feat-7', 131 title: 'The Master Narrative in Journalism (2003)', 132 description: 'An anatomy of the story the press tells about itself: that professional journalists are the heroes holding powerful people accountable. Rosen argues this self-image prevents journalists from seeing their own structural problems.', 133 image: 'https://images.unsplash.com/photo-1457369804613-52c61a468e7d?auto=format&fit=crop&q=80&w=800', 134 link: 'http://archive.pressthink.org/2003/09/08/basics_master.html', 135 type: 'Blog Post' 136 }, 137 { 138 id: 'feat-8', 139 title: 'The Press Is a Player (2004)', 140 description: 'A challenge to the notion that the press merely observes. Rosen argues that journalism is an active participant in political events, not a neutral mirror reflecting them.', 141 image: 'https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&q=80&w=800', 142 link: 'http://archive.pressthink.org/2004/01/23/press_player_p.html', 143 type: 'Blog Post' 144 }, 145 { 146 id: 'feat-9',
147 title: 'Bloggers vs. Journalists Is Over (2005)', 148 description: 'An early declaration that the debate between traditional journalists and bloggers missed the point. The real shift was that the audience now had publishing tools, changing journalism permanently.', 149 image: 'https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&q=80&w=800', 150 link: 'http://archive.pressthink.org/2005/01/21/berk_essy_p.html', 151 type: 'Blog Post' 152 }, 153 { 154 id: 'feat-10', 155 title: 'The Production of Innocence (2005)', 156 description: 'On how the press maintains its claim to neutrality by producing "innocence" â the appearance of having no stake in the outcome. Rosen traces this to the professional attitude he critiqued in the dissertation.', 157 image: 'https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&q=80&w=800', 158 link: 'http://archive.pressthink.org/2005/07/02/sprm_crt_p.html', 159 type: 'Blog Post' 160 }, 161 { 162 id: 'feat-11', 163 title: 'The People Formerly Known as the Audience (2006)', 164 description: 'One of Rosen\'s most widely read pieces. A manifesto written from the perspective of the audience, declaring that people once treated as passive consumers of news are now active participants.', 165 image: 'https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&q=80&w=800', 166 link: 'http://archive.pressthink.org/2006/06/27/ppl_frmr_p.html', 167 type: 'Blog Post' 168 }, 169 { 170 id: 'feat-12', 171 title: 'What I Learned from Assignment Zero (2007)', 172 description: 'A candid post-mortem on Assignment Zero, Rosen\'s experiment in "crowdsourced" journalism. The project partially failed, and Rosen explains why â a rare example of a public intellectual analyzing his own mistakes in real time.', 173 image: 'https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&q=80&w=800', 174 link: 'http://archive.pressthink.org/2007/10/09/what_i_learned_p.html', 175 type: 'Blog Post' 176 }, 177 { 178 id: 'feat-13', 179 title: 'The Beast Without a Brain (2008)', 180 description: 'A critique of horse-race election coverage. Rosen argues that campaign journalism organized around who\'s winning and who\'s losing serves the needs of journalists, not citizens.', 181 image: 'https://images.unsplash.com/photo-1540910419892-4a36d2c3266c?auto=format&fit=crop&q=80&w=800', 182 link: 'http://archive.pressthink.org/2008/01/20/the_campaign_pr_p.html', 183 type: 'Blog Post' 184 }, 185 { 186 id: 'feat-14', 187 title: 'The Quest for Innocence and the Loss of Reality (2010)', 188 description: 'A deepening of the "production of innocence" argument. Rosen shows how the press\'s insistence on appearing neutral eventually costs it the ability to describe reality accurately.', 189 image: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80&w=800', 190 link: 'http://archive.pressthink.org/2010/02/21/innocence_p.html', 191 type: 'Blog Post' 192 }, 193 { 194 id: 'feat-15', 195 title: 'The Citizens\' Agenda in Election Coverage (2011)', 196 description: 'A proposal for election coverage that starts with what citizens want to know, not what campaigns want to talk about. Rosen and Amanda Michel outline a practical alternative to horse-race journalism.', 197 image: 'https://images.unsplash.com/photo-1494172961521-33799ddd43a5?auto=format&fit=crop&q=80&w=800', 198 link: 'https://www.theguardian.com/commentisfree/cifamerica/2011/dec/08/citizens-agenda-election-coverage', 199 type: 'Essay' 200 }, 201 { 202 id: 'feat-16', 203 title: 'Asymmetry Fries the Circuits (2016)', 204 description: 'An argument that the American press is structurally unable to cover two political parties that are not equally committed to democratic norms. The assumption of symmetry becomes a form of distortion.', 205 image: 'https://images.unsplash.com/photo-1551817958-d9d86fb29431?auto=format&fit=crop&q=80&w=800', 206 link: 'https://pressthink.org/2016/09/asymmetry-between-the-major-parties-fries-the-circuits-of-the-mainstream-press/', 207 type: 'Blog Post' 208 }, 209 { 210 id: 'feat-17', 211 title: 'Winter Is Coming (2016)', 212 description: 'Written shortly after the 2016 election, a warning about what Trump\'s presidency would mean for the press. Rosen argues that the normal rules of political journalism had been suspended and journalists needed to recognize that.', 213 image: 'https://images.unsplash.com/photo-1516912481808-3406841bd33c?auto=format&fit=crop&q=80&w=800', 214 link: 'https://pressthink.org/2016/12/winter-coming-prospects-american-press-trump/', 215 type: 'Blog Post' 216 }, 217 { 218 id: 'feat-18', 219 title: 'America\'s Press and the Asymmetric War for Truth (2020)', 220 description: 'A major essay in the New York Review of Books
220synthesizing years of argument about political asymmetry, truth-telling, and the press\'s failure to adapt to a political environment designed to overwhelm it.', 221 image: 'https://images.unsplash.com/photo-1585829365295-ab7cd400c167?auto=format&fit=crop&q=80&w=800', 222 link: 'https://www.nybooks.com/online/2020/11/01/americas-press-and-the-asymmetric-war-for-truth/', 223 type: 'Essay' 224 }, 225 { 226 id: 'feat-19', 227 title: 'Interview on the Ezra Klein Show (2021)', 228 description: 'A long-form conversation where Rosen explains his core ideas to a wide audience: the view from nowhere, audience atomization, asymmetry, and the structural crisis in American journalism.', 229 image: 'https://images.unsplash.com/photo-1478737270239-2f02b77fc618?auto=format&fit=crop&q=80&w=800', 230 link: 'https://www.nytimes.com/2021/11/12/podcasts/transcript-ezra-klein-show-jay-rosen.html', 231 type: 'Interview' 232 }, 233 { 234 id: 'feat-20', 235 title: 'Trump, Truth, and "Freedom from Fact" (2025)', 236 description: 'One of Rosen\'s most recent public talks, examining how the relationship between politics and truth has deteriorated further. The concept of "freedom from fact" describes a political movement that treats factual accountability as a constraint to be escaped.', 237 image: 'https://images.unsplash.com/photo-1585829365295-ab7cd400c167?auto=format&fit=crop&q=80&w=800', 238 link: 'https://www.bylinesupplement.com/p/trump-truth-and-freedom-from-fact', 239 type: 'Talk' 240 } 241];
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.