diff --git a/Scripts/list-headlines.ps1 b/Scripts/list-headlines.ps1 index 8b54d96d..07f8dea6 100755 --- a/Scripts/list-headlines.ps1 +++ b/Scripts/list-headlines.ps1 @@ -23,7 +23,7 @@ try { [xml]$Content = (Invoke-WebRequest -uri $RSS_URL -useBasicParsing).Content [int]$Count = 0 foreach ($item in $Content.rss.channel.item) { - "❇ $($item.title)" + "❇️ $($item.title)" $Count++ if ($Count -eq $MaxCount) { break } } diff --git a/Scripts/list-news.ps1 b/Scripts/list-news.ps1 index 08194eff..db3012b1 100755 --- a/Scripts/list-news.ps1 +++ b/Scripts/list-news.ps1 @@ -30,13 +30,6 @@ try { } $Source = $Content.rss.channel.title $Date = $Content.rss.channel.pubDate - $Date = $Date -Replace "Mon, ","" - $Date = $Date -Replace "Tue, ","" - $Date = $Date -Replace "Wed, ","" - $Date = $Date -Replace "Thu, ","" - $Date = $Date -Replace "Fri, ","" - $Date = $Date -Replace "Sat, ","" - $Date = $Date -Replace "Sun, ","" "(by $Source as of $Date)" exit 0 # success } catch {