Page 2 of 2

Re: Pbs.org, c-span.org and ted.org - RSS Feeds

Posted: Sat Jan 29, 2011 4:29 pm
by tech.whiz
Eugene. Here is something I think we can work with, RSS feed from TED and PBS as examples. If we can make this work, I can volunteer to add all the RSS feeds from these websites and share it with everybody.

http://feeds.feedburner.com/TedtalksHD

http://www.pbs.org/newshour/rss/science.xml

I am able to add both these RSS to the respective folders of PBS and TED under podcasts. On my Samsung LN46C630 HDTV, I am able to even browse the folder and look at the video names, but when I play I get an error message "File Format Not Supported".

Will appreciate your help in resolving this issue.

Re: Pbs.org, c-span.org and ted.org - RSS Feeds

Posted: Sat Jan 29, 2011 6:13 pm
by Eugene
tech.whiz wrote:Eugene. Here is something I think we can work with, RSS feed from TED and PBS as examples. If we can make this work, I can volunteer to add all the RSS feeds from these websites and share it with everybody.

http://feeds.feedburner.com/TedtalksHD
Select the folder "Podcasts" - right click - Add Podcast - Link: http://feeds.feedburner.com/TedtalksHD
"The additional properties reading script RSS" - On - "Edit script"
Language: PascalScript
Expression:

Code: Select all

begin
  PodcastItem.Properties[mpiThumbnail] := PodcastXmlItem.Find('media:thumbnail').Attributes['url']
end.
Ok

Maybe: Transcoding profile: Movies (primary)
tech.whiz wrote: http://www.pbs.org/newshour/rss/science.xml

I am able to add both these RSS to the respective folders of PBS and TED under podcasts. On my Samsung LN46C630 HDTV, I am able to even browse the folder and look at the video names, but when I play I get an error message "File Format Not Supported".

Will appreciate your help in resolving this issue.
Select the folder PBS - right click - "Edit title" - "Script for the links to the resource" - "Edit script" -

Find

Code: Select all

else if WmsRegExMatch('DetectFlashDecision \('#39'.*?'#39', '#39'(.*?)'#39, sVideoPage, sVideoID) then begin
Replace on

Code: Select all

else if WmsRegExMatch('DetectFlashDecision.*?\('#39'.*?'#39', '#39'(.*?)'#39, sVideoPage, sVideoID) then begin
In my opinion, many pages without video

Re: Pbs.org, c-span.org and ted.org

Posted: Sat Jan 29, 2011 7:26 pm
by tech.whiz
Thanks Eugene. TED is now working for me, thank you for your quick help.

For PBS, I am still getting the same error.

I was looking at the script you sent and noticed something which might be causing some problem and thought should check with you.

function YoutubeLink(const aVideoID: string): string;
var
bRtmp, bUsePriority: Boolean;
i, j, iPriority, iMinPriority, iHeight: Integer;
sMediaFormats, sVideoFmtURLMap, sVideoFormat, sVideoInfo,
sSelectedVideoInfo, sWebPage: string;
begin
Result := '';
sWebPage := WmsDownloadURL('http://www.youtube.com/watch?v=' + aVideoID + '&feature=youtube_gdata');

This bold part uses a YouTube URL, do you think that might be causing some problem, as the videos will be on PBS not on YouTube?

Re: Pbs.org, c-span.org and ted.org

Posted: Sun Jan 30, 2011 1:38 pm
by Eugene
tech.whiz wrote:Thanks Eugene. TED is now working for me, thank you for your quick help.

For PBS, I am still getting the same error.

I was looking at the script you sent and noticed something which might be causing some problem and thought should check with you.

function YoutubeLink(const aVideoID: string): string;
var
bRtmp, bUsePriority: Boolean;
i, j, iPriority, iMinPriority, iHeight: Integer;
sMediaFormats, sVideoFmtURLMap, sVideoFormat, sVideoInfo,
sSelectedVideoInfo, sWebPage: string;
begin
Result := '';
sWebPage := WmsDownloadURL('http://www.youtube.com/watch?v=' + aVideoID + '&feature=youtube_gdata');

This bold part uses a YouTube URL, do you think that might be causing some problem, as the videos will be on PBS not on YouTube?
In this feed few pages with video, pages that work - with video on Youtube (original or copy - I don't know)

Re: Pbs.org, c-span.org and ted.org

Posted: Sun Jan 30, 2011 9:01 pm
by Zeusx
Podcast list from Ted is working great! Thanks guys!