Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PowerShell by max ( 16 years ago )
function pod(){
$base = 'http://www.rusnovosti.ru/rssfull/prog/22502/audio/'
$c = new-object System.Net.WebClient
$c.Encoding = [System.Text.Encoding]::UTF8
$html = $c.DownloadString($base)
$result = [xml]$html
$result.rss.SelectNodes('//item') |
select @{n='dateTime'; e= {[System.DateTime]::Parse($_.pubDate)}}, @{n='url'; e={ $_.enclosure.url}}
}
Revise this Paste