- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在努力从 RSS 提要中阅读音频、视频新闻。我如何确定该 rss 是用于新闻阅读器还是用于音频或视频?
这是视频源:http://feeds.cbsnews.com/CBSNewsVideo
这是文本源:http://indiatoday.feedsportal.com/c/33614/f/589699/index.rss
打开这个,我们可以了解是视频还是文字。在解析这个 XML 文件时,我们如何知道?
编辑:http://feeds.cbsnews.com/CBSNewsVideo 的 Xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.cbsnews.com/~d/styles/itemcontent.css"?><rss xmlns:s="http://www.cbsnews.com" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<link>http://www.cbsnews.com</link>
<title>More from CBS News Video - CBS News</title>
<language>en-us</language>
<ttl>5</ttl>
<description>Read the latest CBS News Video headlines on CBS News, covering news stories, videos and pictures of world and US news, as well as news in politics, health, sports and business.</description>
<copyright>Your (optional) copyright message</copyright>
<pubDate>Fri, 07 Jun 2013 08:54:39 EDT</pubDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.cbsnews.com/CBSNewsVideo" /><feedburner:info uri="cbsnewsvideo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:copyright>Your (optional) copyright message</media:copyright><media:thumbnail url="http://www.myserver.com/podcastlogo.jpg" /><media:keywords>Type,in,keywords,separated,by,spaces,that,can,help,listeners,locate,your,podcast,when,searching,with,iTunes</media:keywords><image><link>http://www.cbsnews.com/</link><url>http://wwwimage.cbsnews.com/common/images/v2/logo_cbsnews_small.gif</url><title>CBSNews.com</title></image><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://odeo.com/listen/subscribe?feed=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://odeo.com/img/badge-channel-black.gif">Subscribe with ODEO</feedburner:feedFlare><feedburner:feedFlare href="http://www.podnova.com/add.srf?url=http%3A%2F%2Ffeeds.cbsnews.com%2FCBSNewsVideo" src="http://www.podnova.com/img_chicklet_podnova.gif">Subscribe with Podnova</feedburner:feedFlare><item>
<title>Video: Drowning: The real signs a swimmer is in danger</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/ZQzIjwZR3Xg/</link>
<description>CBS News' Don Dahler reports on drowning -- the second most common cause of accidental death in children aged 14 and younger -- and how to prevent it by knowing what drowning really looks like.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=ZQzIjwZR3Xg:Fa5H9AQULHc:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=ZQzIjwZR3Xg:Fa5H9AQULHc:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=ZQzIjwZR3Xg:Fa5H9AQULHc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=ZQzIjwZR3Xg:Fa5H9AQULHc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=ZQzIjwZR3Xg:Fa5H9AQULHc:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/ZQzIjwZR3Xg" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148435n</guid>
<pubDate>Fri, 07 Jun 2013 08:54:39 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148435n</feedburner:origLink></item>
<item>
<title>Video: Russian President Putin and wife announce divorce</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/aOQ7ONwOxT8/</link>
<description>After years of speculation, Russian President Vladimir Putin and his wife announced they are getting a divorce, less than two months shy of their 30th wedding anniversary. Norah O'Donnell reports.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=aOQ7ONwOxT8:m3EGbztX7-k:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=aOQ7ONwOxT8:m3EGbztX7-k:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=aOQ7ONwOxT8:m3EGbztX7-k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=aOQ7ONwOxT8:m3EGbztX7-k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=aOQ7ONwOxT8:m3EGbztX7-k:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/aOQ7ONwOxT8" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148430n</guid>
<pubDate>Fri, 07 Jun 2013 08:52:58 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148430n</feedburner:origLink></item>
<item>
<title>Video: Headlines: Defamation suit filed over "Bag Men" headline</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/sbd4yNXRaJk/</link>
<description>"CBS This Morning" takes a look at some of the day's headlines from around the globe.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=sbd4yNXRaJk:7kbI768YfDI:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=sbd4yNXRaJk:7kbI768YfDI:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=sbd4yNXRaJk:7kbI768YfDI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=sbd4yNXRaJk:7kbI768YfDI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=sbd4yNXRaJk:7kbI768YfDI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/sbd4yNXRaJk" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148434n</guid>
<pubDate>Fri, 07 Jun 2013 08:10:35 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148434n</feedburner:origLink></item>
<item>
<title>Video: Prince Philip back in the hospital for surgery</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/KkcbZxeHEc4/</link>
<description>In Britain, Queen Elizabeth II's 92-year-old husband Prince Philip is back in the hospital. He'll be undergoing surgery, and is expected to remain hospitalized for up to two weeks. Charlie D'Agata reports from London.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=KkcbZxeHEc4:EESGGAnvV80:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=KkcbZxeHEc4:EESGGAnvV80:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=KkcbZxeHEc4:EESGGAnvV80:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=KkcbZxeHEc4:EESGGAnvV80:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=KkcbZxeHEc4:EESGGAnvV80:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/KkcbZxeHEc4" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148433n</guid>
<pubDate>Fri, 07 Jun 2013 08:10:33 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148433n</feedburner:origLink></item>
<item>
<title>Video: Jobs report preview: Why Wall Street will be watching</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/OlFkxwyPgQY/</link>
<description>Wall Street investors will be watching the jobs report after a turbulent week in the markets. Anthony Mason takes a look at the importance of this report.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=OlFkxwyPgQY:GiiVhaE-SrA:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=OlFkxwyPgQY:GiiVhaE-SrA:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=OlFkxwyPgQY:GiiVhaE-SrA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=OlFkxwyPgQY:GiiVhaE-SrA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=OlFkxwyPgQY:GiiVhaE-SrA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/OlFkxwyPgQY" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148432n</guid>
<pubDate>Fri, 07 Jun 2013 08:10:31 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148432n</feedburner:origLink></item>
<item>
<title>Video: Cyber security may take center stage at U.S., China summit</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/sSonCH7od9s/</link>
<description>The relationship between the United States and China will be tested this weekend in California, as President Obama and China's new president, Xi Jinping, will discuss economic issues, North Korea and particularly, cyber security will come to the fore. Chip Reid reports.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=sSonCH7od9s:oPEMyGTRJyk:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=sSonCH7od9s:oPEMyGTRJyk:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=sSonCH7od9s:oPEMyGTRJyk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=sSonCH7od9s:oPEMyGTRJyk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=sSonCH7od9s:oPEMyGTRJyk:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/sSonCH7od9s" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148431n</guid>
<pubDate>Fri, 07 Jun 2013 08:10:29 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148431n</feedburner:origLink></item>
<item>
<title>Video: Tracking tropical storm Andrea</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/qAPkZQEXNK4/</link>
<description>Meteorologist Jeff Berardelli of CBS Miami station WFOR-TV reports the latest on the storm's movements and where it's expected to hit next.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=qAPkZQEXNK4:gPfH39D9Ccg:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=qAPkZQEXNK4:gPfH39D9Ccg:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=qAPkZQEXNK4:gPfH39D9Ccg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=qAPkZQEXNK4:gPfH39D9Ccg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=qAPkZQEXNK4:gPfH39D9Ccg:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/qAPkZQEXNK4" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148427n</guid>
<pubDate>Fri, 07 Jun 2013 07:53:16 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148427n</feedburner:origLink></item>
<item>
<title>Video: Tropical storm Andrea threatens East Coast</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/-fOcL8rqkR4/</link>
<description>The first named storm of the Atlantic hurricane season now threatens the entire East Coast. It has already flooded parts of Florida and at least eight tornadoes were reported as the storm hit the Gulf Coast. Justin Lock, of CBS affiliate WCSC, reports.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=-fOcL8rqkR4:oufe73J_G-M:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=-fOcL8rqkR4:oufe73J_G-M:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=-fOcL8rqkR4:oufe73J_G-M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=-fOcL8rqkR4:oufe73J_G-M:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=-fOcL8rqkR4:oufe73J_G-M:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/-fOcL8rqkR4" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148426n</guid>
<pubDate>Fri, 07 Jun 2013 07:53:17 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148426n</feedburner:origLink></item>
<item>
<title>Video: Miller on secret surveillance: "This is spying business"</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/vFqAAwERzZs/</link>
<description>CBS News senior correspondent John Miller, a former deputy director of national intelligence, discusses the federal secret surveillance program and its implications.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=vFqAAwERzZs:A885fr681bQ:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=vFqAAwERzZs:A885fr681bQ:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=vFqAAwERzZs:A885fr681bQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=vFqAAwERzZs:A885fr681bQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=vFqAAwERzZs:A885fr681bQ:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/vFqAAwERzZs" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148425n</guid>
<pubDate>Fri, 07 Jun 2013 07:38:15 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148425n</feedburner:origLink></item>
<item>
<title>Video: New details revealed about govt.'s secret surveillance</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/XTpjoUk292c/</link>
<description>A program called Prism, not only involves phone records of millions of U.S., but the internet as well. The Obama administration's top intelligence official says the program is legal and necessary. Major Garrett reports what has surfaced.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=XTpjoUk292c:mcI5gqhDPjY:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=XTpjoUk292c:mcI5gqhDPjY:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=XTpjoUk292c:mcI5gqhDPjY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=XTpjoUk292c:mcI5gqhDPjY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=XTpjoUk292c:mcI5gqhDPjY:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/XTpjoUk292c" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148424n</guid>
<pubDate>Fri, 07 Jun 2013 07:36:15 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148424n</feedburner:origLink></item>
<item>
<title>Video: Eye Opener: Tropical storm Andrea batters East Coast</title>
<link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/dq-HFJaMVzo/</link>
<description>Tropical storm Andrea is racing up the East Coast. Also, new information that the government is watching more than your phone calls. Plus, Julian Assange speaks out from political asylum. All that, and all that mattered, in today's "Eye Opener."<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=dq-HFJaMVzo:6LEtjxNyVmA:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=dq-HFJaMVzo:6LEtjxNyVmA:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=dq-HFJaMVzo:6LEtjxNyVmA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=dq-HFJaMVzo:6LEtjxNyVmA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=dq-HFJaMVzo:6LEtjxNyVmA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/dq-HFJaMVzo" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148423n</guid>
<pubDate>Fri, 07 Jun 2013 07:51:42 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148423n</feedburner:origLink></item>
<item>
<title>Video: Melinda Gates inspires grads to leave their mark with technology</title> <link>http://feeds.cbsnews.com/~r/CBSNewsVideo/~3/xXfT5uJJ3hg/</link>
<description>Melinda Gates and other famous faces made 2013 commencement speeches at universities across the country. They sought to inspire graduates to be good to everyone and follow their civic obligations.<div class="feedflare">
<a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=xXfT5uJJ3hg:v_JlVdQq0dA:w--LzT5DBIM"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=xXfT5uJJ3hg:v_JlVdQq0dA:w--LzT5DBIM" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=xXfT5uJJ3hg:v_JlVdQq0dA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.cbsnews.com/~ff/CBSNewsVideo?a=xXfT5uJJ3hg:v_JlVdQq0dA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CBSNewsVideo?i=xXfT5uJJ3hg:v_JlVdQq0dA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/CBSNewsVideo/~4/xXfT5uJJ3hg" height="1" width="1"/></description>
<guid isPermaLink="false">http://www.cbsnews.com/video/watch/?id=50148399n</guid>
<pubDate>Fri, 07 Jun 2013 08:35:59 EDT</pubDate>
<author>Your (optional) podcast author email address (Your (optional) podcast author name)</author><feedburner:origLink>http://www.cbsnews.com/video/watch/?id=50148399n</feedburner:origLink></item>
<media:credit role="author">Your (optional) podcast author name</media:credit><media:rating>nonadult</media:rating></channel>
</rss>
最佳答案
RSS 提要始终包含文本。此文本分为几个类别,如标题、描述、作者、出版日期、链接等。通常,描述文本包含全部或部分主要新闻,而链接文本包含阅读源站点新闻的 URL。对于 CBS 新闻,链接文本包含指向其站点中包含新闻视频的页面的链接。他们还可以将视频嵌入到描述文本的 HTML 中。
没有安全的方法来检查 RSS 提要是否包含视频,但您至少可以尝试两件事(我没想到):1.解析Description文本的HTML,看是否有嵌入的视频链接2. 下载并解析链接文本中链接的页面的HTML,查看是否有嵌入的视频链接
第二个选项适用于 CBS 新闻提要。但是,有多种方法可以将视频嵌入到 HTML 页面中,您需要让解析器查找所有这些方法。
关于Android如何从xml中识别音频/视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16931978/
我对此很陌生,我在这里的论坛上检查过答案,但我没有找到任何真正可以帮助我的答案。我正在尝试播放 res/raw 文件夹中的视频。到目前为止我已经设置了这段代码: MediaPlayer mp; @Ov
我可以播放一个视频剪辑,检测视频的结尾,然后创建一个表单,然后播放另一个视频剪辑。我的问题是,表单 react 不正确,我创建了带有提交按钮和两个单选按钮可供选择的表单。我希望让用户进行选择,验证响应
首先,我必须说我在web2py讨论组中看到过类似的内容,但我不太理解。 我使用 web2py 设置了一个数据库驱动的网站,其中的条目只是 HTML 文本。其中大多数将包含 img和/或video指向相
我正在尝试在视频 View 中播放 YouTube 视频。 我将 xml 布局如下: 代码是这样的: setContentView(R.layout.webview); VideoV
我正在开发一个需要嵌入其中的 youtube 视频播放器的 android 应用程序。我成功地从 API 获得了 RTSP 视频 URL,但是当我试图在我的 android 视频 View 中加载这个
我目前正在从事一个使用 YouTube API 的网络项目。 我完全不熟悉 API。所以每一行代码都需要付出很多努力。 使用以下代码,我可以成功检索播放列表中的项目: https://www.goog
是否可以仅使用视频 ID 和 key 使用 API V3 删除 youtube 视频?我不断收到有关“必需参数:部分”丢失的错误消息。我用服务器和浏览器 api 键试了一下这是我的代码: // $yo
所以我一直坚持这个大约一个小时左右,我就是无法让它工作。到目前为止,我一直在尝试从字符串中提取整个链接,但现在我觉得只获取视频 ID 可能更容易。 RegEx 需要从以下链接样式中获取 ID/URL,
var app = angular.module('speakout', []).config( function($sceDelegateProvider) {
我正在努力从 RSS 提要中阅读音频、视频新闻。我如何确定该 rss 是用于新闻阅读器还是用于音频或视频? 这是视频源:http://feeds.cbsnews.com/CBSNewsVideo 这是
利用python反转图片/视频 准备:一张图片/一段视频 python库:pillow,moviepy 安装库 ?
我希望在用户双击视频区域时让我的视频全屏显示,而不仅仅是在他们单击控件中的小图标时。有没有办法添加事件或其他东西来控制用户点击视频时发生的情况? 谢谢! 最佳答案 按照 Musa 的建议,附
关闭。这个问题需要更多 focused .它目前不接受答案。 想改进这个问题?更新问题,使其仅关注一个问题 editing this post . 7年前关闭。 Improve this questi
我有一个公司培训视频加载到本地服务器上。我正在使用 HTML5 的视频播放来观看这些视频。该服务器无法访问网络,但我已加载 apache 并且端口 8080 对同一网络上的所有机器开放。 这些文件位于
我想混合来自 video.mp4 的视频(时长 1 分钟)和来自 audio.mp3 的音频(10 分钟持续时间)到一个持续时间为 1 分钟的输出文件中。来自 audio.mp3 的音频应该是从 4
关闭。这个问题需要更多 focused .它目前不接受答案。 想改进这个问题?更新问题,使其仅关注一个问题 editing this post . 8年前关闭。 Improve this questi
我正在尝试使用 peer/getUserMedia 创建一个视频 session 网络应用程序。 目前,当我将唯一 ID 发送到视频 session 时,我能够听到/看到任何加入我的 session
考虑到一段时间内的观看次数,我正在评估一种针对半自动脚本的不同方法,该脚本将对视频元数据执行操作。 简而言之,只要视频达到指标中的某个阈值,就说观看次数,它将触发某些操作。 现在要执行此操作,我将不得
我正在通过iBooks创建专门为iPad创建动态ePub电子书的网站。 它需要支持youtube视频播放,所以当我知道视频的直接路径时,我正在使用html5 标记。 有没有一种使用html5 标签嵌入
我对Android不熟悉,我想浏览youtube.com并在Webview内从网站显示视频。当前,当我尝试执行此操作时,将出现设备的浏览器,并让我使用设备浏览器浏览该站点。如果Webview不具备这种
我是一名优秀的程序员,十分优秀!