
Media Analysis Reimagined
In today's rapidly evolving media landscape, understanding how different platforms shape public discourse has become crucial for informed citizenship. Traditional legacy media outlets - newspapers, television networks, and established digital publications - operate under editorial standards developed over decades. Meanwhile, social media platforms like X provide real-time, unfiltered reactions from millions of users, creating a dynamic environment where news spreads instantly but with varying degrees of accuracy and emotional intensity. This AI-powered app monitors top global headlines and finds corresponding X posts, comparing how the same stories are covered, discussed, and received across these fundamentally different media environments. By examining sentiment patterns, emotional responses, and narrative framing, we can discover hidden patterns that influence how society processes information, forms opinions, and makes decisions. This comparative approach doesn't seek to determine which platform is "better," but rather to illuminate how each contributes to the complex tapestry of modern news consumption, helping readers develop media literacy skills essential for navigating our interconnected information age. Specifically, news stories are analyzed for overall sentiment (on a 0-1 scale where 0=very negative, 1=very positive) as well as the dominant emotion expressed, from both legacy sources and X posts. The data is then filtered for news items that are covered substantially differently and conveniently displayed in a table below (see the Latest Data section) for users to peruse, along with a commentary on the differences. The data automatically updates each day at 10pm CST (to capture a full day's worth of news stories), and is automatically posted here as well as on our X account, @h45hb4ng_data. Note that while only stories with a substantial difference in coverage are displayed here (in the latest data section), the full data for each article is in the database in case you'd like to refer to it later. See the source for further details.
Latest Data
Comparison of world news coverage between legacy media outlets and social media discourse on X. Data is automatically updated daily at 10pm to capture evolving narratives based on a full day's worth of news headlines.
| Timestamp | Article Title | Legacy Sentiment | X Sentiment | Legacy Emotion | X Emotion | Analysis |
|---|---|---|---|---|---|---|
| April 14, 2026 @ 3:51PM | Where to watch Liverpool vs. PSG Champions League live streams free from anywhere | 0.7 | 0.6 | Enjoyment | Excitement | The article's upbeat enjoyment-focused guide to watching Liverpool vs PSG matches the excitement and anticipation in many pre-match X posts, which heavily promote streaming options and hype the Champions League clash with emojis and videos. However, recent post-match reactions reveal widespread disappointment among Liverpool supporters following their elimination, resulting in a slightly lower average sentiment on X compared to the article's 0.7 positivity. Overall, X reactions are more polarized, blending promotional enthusiasm with fan frustration. |
| April 14, 2026 @ 5:50PM | The Iran war created a global natural gas shortage — a windfall for U.S. companies | 0.5 | 0.4 | Neutral | Anger | The NPR article adopts a neutral tone (sentiment 0.5), factually reporting on US-Iran tensions involving Trump, LNG supplies, the Strait of Hormuz, and Qatar without strong bias. In contrast, X posts exhibit a slightly negative average sentiment of 0.4, polarized between pro-US accounts celebrating strategic blockades and economic leverage against Iran, and anti-US posts gloating over alleged failures of the US Navy's efforts. This heightened emotionality on X, dominated by anger over geopolitical maneuvering and economic disruptions, amplifies the stakes far beyond the article's measured neutrality. |
| April 14, 2026 @ 4:01AM | The West is preparing for cheap drone attacks, but many businesses and civilians can only watch, not stop them | 0.35 | 0.7 | Fear | Hope | While the article conveys a fearful tone with a sentiment of 0.35, emphasizing Western businesses' inability to effectively counter drone threats due to detection limitations and legal hurdles, X posts exhibit a higher average sentiment of 0.70. The most common dominant emotion among X reactions is hope, as users highlight innovative Ukrainian and Western counter-drone technologies like acoustic detectors, interceptors, and distributed sensing systems.[[1]](https://x.com/i/status/2044183126755205552)[[2]](https://x.com/i/status/2041549813209338003)[[3]](https://x.com/i/status/2043947622596055180) This shift reflects a focus on proactive solutions and market opportunities rather than the article's emphasis on helplessness. |
| April 14, 2026 @ 4:48PM | US Treasury's Bessent says China has been unreliable partner by hoarding oil during war | 0.15 | 0.46 | Anger | Anger | The article conveys a notably negative tone with a sentiment of 0.15 dominated by anger towards China's dumping of US Treasuries amid escalating tariffs. X reactions exhibit a higher average sentiment of 0.46, reflecting a blend of frustration and concern over US debt vulnerabilities but tempered by optimism regarding alternatives like stablecoins as new Treasury buyers. While anger remains the most prevalent emotion in critical posts highlighting America's reliance on foreign buyers, proactive discussions introduce a more balanced and strategic perspective compared to the article's outright pessimism. |
| April 14, 2026 @ 2:37PM | WATCH: President Trump and Pope Leo in disagreement over war in Iran | 0.3 | 0.5 | Anger | Neutral | No recent X posts specifically discussing the ABC News video (https://abcnews.com/video/132028834/) or its topic were found despite extensive searches. Therefore, the average sentiment of X reactions is estimated as neutral at 0.5, with no dominant emotion identifiable. This absence of discussion contrasts with the article's somewhat negative tone (0.3) and anger emotion, suggesting the topic did not provoke widespread reaction on X. |
| April 14, 2026 @ 8:48PM | WATCH: Parrot explores the ocean in DIY submarine | 0.85 | 0.4 | Joy | Anger | The article's joyful and highly positive sentiment (0.85) contrasts sharply with X reactions to ABC News content, which average a low 0.40 sentiment dominated by anger, often criticizing ABC for irresponsible commentary, fear-mongering, or bias. While few posts directly reference the specific video, broader discussions reveal polarized negativity toward ABC's coverage. This suggests the platform amplifies dissent rather than echoing the article's upbeat tone. |
| April 14, 2026 @ 10:29AM | WATCH: Parrot explores the ocean in DIY submarine | 0.85 | 0.45 | Joy | Anger | The article's highly positive sentiment of 0.85 and joyful tone stand in stark contrast to the X posts, which average a more neutral sentiment of 0.45 and predominantly feature anger as the dominant emotion amid criticisms of ABC News and political divides. While some posts express joy or infectious positivity toward certain news moments, many reflect frustration, disgust, or skepticism toward media reporting. Overall, X reactions appear more polarized and critical compared to the celebratory nature of the article. |
| April 14, 2026 @ 5:46AM | WATCH: Congress returns from two-week recess as Iran war rages on | 0.3 | 0.25 | Fear | Anger | The article conveys a fearful tone with a sentiment of 0.3, focusing on potentially alarming content. In contrast, recent X posts about ABC News videos predominantly express anger and distrust towards the network, accusing it of manipulation, editing bias, and spreading fear, resulting in a lower average sentiment of 0.25. While the article evokes fear, X reactions amplify negativity through criticism of journalistic integrity rather than mirroring the same emotional focus. |
Archive
To access data for a previous date, please refer to our account on X, which automatically posts the current day's data at 10pm CST daily.
Source Code
This project is completely open source and free. It requires only PHP, MySQL, and API keys for xAI and NewsAPI. It is webserver agnostic, so you can use Apache, nginx, or whatever else will run PHP. The code that automatically posts the data to X also requires an API key from X and the free software packages wkhtmltopdf/wkhtmltoimage and ImageMagick (if you're running Ubuntu, sudo apt install wkhtmltopdf imagemagick is quick and easy).
Here is a quick rundown on the files:
- config.php - set your API keys here
- database.php - database functions to connect to your MySQL server, uses the MySQLi PHP extension
- get_news.php - gets today's global news headlines from legacy source via NewsAPI
- index.php - this file, which acts as the primary frontend
- main.php - responsible for invoking the functions defined in get_news.php, xai_article.php, and xai_x_posts.php. This is the file you want to execute in your crontab
- table.php - handles the latest data table, index.php calls this file as an include
- xai_article.php - passes a legacy news article to the xAI API to perform sentiment and emotion analysis
- xai_x_posts.php - searches X (via xAI API) for posts describing a particular news story. Finds the average sentiment and dominant emotion among these posts
- x_post.php - responsible for automatically posting the data to X. This should also be executed via cron slightly after main.php. Personally, I run them at 10:00 pm and 10:05 pm. Note that this requires an X API key in config.php as well as the TwitterOAuth package (easy install via composer)