Good!
Good!
Great pop song!
Then to add in line feeds:
$Text -replace ‘xxx’,"rnrn" https://t.co/KoeBTW3BbK
Or…
[string]$Text = $Obj | select @{E={'[' + $.text + ‘](’ + $.xmlurl + ‘) - a podcast I listen to [RSS link](’ + $_.xmlurl + ‘)’ + ‘xxx’ }} | out-string -width 4096
I’m sure there was a better way of doing this….a Powershell equivalent of grep -c
select-string temp $(get-childitem -File) | group-object filename | select count, name
Shortlist
Queenie - Candice Carty-Williams Big Girl, Small Town - Michelle Gallen The Blessed Girl - Angela Makholwa The Flatshare - Beth O’Leary Reasons to Be Cheerful - N Stibbe The Bookish Life of Nina Hill - Abbi Waxman Frankissstein - J Winterson
RT @LissaKEvans: I’ve just been asked by the @kidslitfest to choose a song that’s been getting me through lockdown, and this is the one to…
To the consternation of fashion journalists AROUND THE WORLD, I am today contemplating wearing long trousers
Turning the object into basic markdown….
$Obj = select-xml -xml $opml -xpath “//body” | select -ExpandProperty Node | select -ExpandProperty Outline | select text, xmlurl
OPML is the file you get when you export your podcast subscriptions
My file is here, in case anyone’s interested.
I’m going to turn it into a blog post at some stage, so it will be easier to read. Hopefully
$Obj | select @{E={'[' + $.text + ‘](’ + $.xmlurl + ‘) - a podcast I listen to [RSS link](’ + $_.xmlurl + ‘)'}}
Sharp-eyed viewers may notice that xmlurl and htmlurl are similar
select-xml -xml $opml -xpath “//body” | select -ExpandProperty Node | select -ExpandProperty Outline | select text, xmlurl, htmlurl | select text, @{E = {$.xmlurl -replace $.htmlurl,‘Potato’}; L=‘UrlPotato’}
Turning podcast OPML into a Powershell object
[xml]$opml = get-content C:\temp\Podcasts.opml
select-xml -xml $opml -xpath “//body” | select -ExpandProperty Node | select -ExpandProperty Outline
“Last year, Bauer bought up a raft of over fifty local radio stations.
That raised concerns about what their intentions might be.”
I’m afraid @Ofcom aren’t making this easy….you have to download a form, then fill it in, then email it, but if you want to help @SaveSpireFM then you need to do so by 5pm today
Who would think a list of numbers, in the replies to Danny’s tweet, would make me feel so nostalgic?
171 and 185…..
I think I’ve got something in my eye.
Danny Baker @prodnose George what south London bus would you say you have been on most? The 53, the 177 or the 47?
Sending my absolute best to @AlokSharma_RDG
RT @MaidenWatford: I cant wait for pubs to reopen, l’ve been locked in the dog & duck for 10 weeks.
An “air bridge” between the UK and Portugal sounds very exciting….like some giant, gravity-defying flume ride
RT @rafaelbehr: Johnson - officially surprised that leader of the official opposition is opposing him.