mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-22 20:51:17 +01:00
Update list-news.ps1
This commit is contained in:
parent
c9380578ed
commit
fbb39f4b50
@ -23,7 +23,7 @@ try {
|
||||
[xml]$Content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content
|
||||
[int]$Count = 1
|
||||
foreach ($Item in $Content.rss.channel.item) {
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "→ $($Item.title)" $Speed
|
||||
& "$PSScriptRoot/write-typewriter.ps1" "❇️ $($Item.title)" $Speed
|
||||
if ($Count++ -eq $MaxLines) { break }
|
||||
}
|
||||
$Source = $Content.rss.channel.title
|
||||
|
Loading…
Reference in New Issue
Block a user