-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom parser for phoronix.com. #431
Conversation
🤖 Automated Parsing Preview 🤖Commit: Original Article | HTML Fixture | Parsed Content Preview Parsed JSON{
"title": "Steam's Linux Marketshare Ticks Up Ever So Slightly For May - Phoronix",
"author": null,
"date_published": null,
"dek": null,
"lead_image_url": null,
"content": "<div class=\"text\"><p>Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via <a href=\"http://twitter.com/MichaelLarabel\">Twitter</a> or contacted via <a href=\"http://www.michaellarabel.com/\">MichaelLarabel.com</a>.</p></div>",
"next_page_url": null,
"url": "http://example.com",
"domain": "example.com",
"word_count": 71,
"direction": "ltr",
"total_pages": 1,
"rendered_pages": 1
}
✅ All tests passed |
Looks like the @postlight-bot is showing the parse results before the pull request? I see this: {
"title": "Steam's Linux Marketshare Ticks Up Ever So Slightly For May",
"content": "<div><div class=\"content\">\n<div><img alt=\"VALVE -- \" src=\"https://www.phoronix.com/assets/categories/valve.jpg\" width=\"100\"></div>\nWith the start of a new month, Valve has published their software/hardware survey numbers for the month prior. For May 2019, the Steam Linux usage did tick-up slightly on a percentage basis.\r<br>\r<br>For last month, the percentage of Steam users running Linux (according to the controversial Steam Survey) rose to 0.84%, or a 0.02% increase over April. The number is largely in line with expectations of around 0.8% that it's been in that area recently and an increase over last year.\r<br>\r<br>On a percentage basis, the Linux gaming marketshare has tended to grow bit-by-bit since Valve introduced Steam Play last year for allowing many prominent Windows games to run on Linux thanks to their Wine-based Proton and DXVK for translating Direct3D to Vulkan. But there hasn't been any Linux exclusives, the return of Steam Machines, or any landmark reasons to cause a sudden shift of Windows gamers to switch over to Linux. As a result, it's just been either flat or tiny increases each month.\r<br>\r<br>Windows comes in at 95.9% for May's usage on Steam while macOS is at 3.26%.\r<br>\r<br>The monthly Steam survey data can be viewed at <a href=\"https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam?platform=linux\">SteamPowered.com</a>.</div></div>",
"author": "Michael Larabel",
"date_published": "2019-06-01T12:34:00.000Z",
"lead_image_url": "https://www.phoronix.com/assets/categories/valve.jpg",
"dek": null,
"next_page_url": null,
"url": "https://www.phoronix.com/scan.php?page=news_item&px=Steam-May-2019-Numbers",
"domain": "www.phoronix.com",
"excerpt": "With the start of a new month, Valve has published their software/hardware survey numbers for the month prior. For May 2019, the Steam Linux usage did tick-up slightly on a percentage basis. For last…",
"word_count": 190,
"direction": "ltr",
"total_pages": 1,
"rendered_pages": 1
} |
🤖 Automated Parsing Preview 🤖Commit: Original Article | HTML Fixture | Parsed Content Preview Parsed JSON{
"title": "Steam's Linux Marketshare Ticks Up Ever So Slightly For May - Phoronix",
"author": null,
"date_published": null,
"dek": null,
"lead_image_url": null,
"content": "<div class=\"text\"><p>Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via <a href=\"http://twitter.com/MichaelLarabel\">Twitter</a> or contacted via <a href=\"http://www.michaellarabel.com/\">MichaelLarabel.com</a>.</p></div>",
"next_page_url": null,
"url": "http://example.com",
"domain": "example.com",
"word_count": 71,
"direction": "ltr",
"total_pages": 1,
"rendered_pages": 1
}
✅ All tests passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This adds support for extracting articles from phoronix.com.
Thanks!