mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-16 23:51:18 +02:00
Updated list-news.ps1 and watch-news.ps1
This commit is contained in:
@ -31,7 +31,7 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$
|
||||
foreach($item in $items) {
|
||||
$pubDate = $item.pubDate
|
||||
if ($pubDate -le $latestTimestamp) { continue }
|
||||
$title = $item.title
|
||||
$title = $item.title -replace "â","'"
|
||||
$time = $pubDate.Substring(11, 5)
|
||||
Write-Host "$time $title$icon"
|
||||
Start-Sleep -milliseconds 500
|
||||
|
Reference in New Issue
Block a user