Updated news.ps1

This commit is contained in:
Markus Fleschutz 2020-12-25 10:49:45 +00:00
parent 9f027b60c5
commit e8e57b8308

View File

@ -14,11 +14,11 @@ try {
[xml]$FileContent = (Invoke-WebRequest -Uri $RSS_URL).Content
write-output ""
write-output "+++ " $FileContent.rss.channel.title " +++"
write-output "+++ $($FileContent.rss.channel.title) +++"
write-output ""
foreach ($item in $FileContent.rss.channel.item) {
write-output "*" $item.title
write-output "* $($item.title)"
}
exit 0
} catch {