![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | RSS homepage Greetings; $a = ([xml](new-object net.webclient).downloadstring("http://blogs.msdn.com/powershell/rss.aspx")).rss.channel.item | format-table title,link,pubdate | convertto-html I use the following to create an html page to view my rss feeds. How do I make the link object into an html anchor that goes to the blog? select-object link | convertto-html link? |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | Re: RSS homepage Hi Braden, You can generate the anchor with a new calculated property. The problem is convertto-html renders the 'less-than' and 'greater-than' signs HTML Entity (< and > , so replace them and send the output toa file. $a = ([xml](new-object net.webclient).downloadstring("http://blogs.msdn.com/powershell/rss.aspx")).rss.channel.item $link = @{n="link";e={"<a href='$($_.link)'>$($_.title)</a>"}} $a | select $link,title,pubdate | convertto-html | % {$_.replace("<","<").replace(">",">")} | set-content .\temp\rss.html --- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #3 (permalink) | ||||||||||||||||||||||||
| Guest | Re: RSS homepage sweet while I've seen many cool scripts posted by a number of you most of them I have to look at with envy. I don't have MOM, SMS, SQL or any of the dozen or so services running at home but this I can use from the comfort of my notebook; I'm saving this in my repository second thought its probably good I don't them ![]() bob "Shay Levi" wrote:
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: RSS homepage Thanks bob! btw, the title coulmn is redundant as its available on the $link. --- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||
| Guest | Re: RSS homepage Thanks for the script, Shay! "Braden C. Roberson-Mailloux" <bray@xxxxxx> wrote in message news:O7utEQYtIHA.3968@xxxxxx
| ||||||||||||
My System Specs![]() | |||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: IE7 tabs not showing homepage | Robert Aldwinckle | Vista security | 6 | 01-16-2008 12:18 PM |
| HomePage Tabs >Why is it limited to 8 tabs ??? | Vista General | 3 | 11-06-2007 07:45 PM | |
| Internet Explorer doesnt remember my homepage in Vista | Morne | Vista General | 0 | 08-29-2007 01:30 PM |