亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Golang rss xml 解析 <atom10:link 覆蓋 <link>

Golang rss xml 解析 <atom10:link 覆蓋 <link>

Go
慕無忌1623718 2021-08-10 15:32:46
下面的 Go 代碼<link>如果在<atom10:link ...>tag之后返回tag 值,否則返回空。<link>如果標簽值出現在之前,我如何獲取它<atom10:link...>?或者,我如何獲得兩者?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.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">  <channel>    <title>The Javascript</title>    <link>http://javascript.com</link>    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/the-javascript-show" />    <pubDate>Fri, 01 Mar 2013 23:16:58 GMT</pubDate>    <language>en-us</language>    <itunes:subtitle>News and discussion about the latest in Javascript.</itunes:subtitle>    <itunes:keywords>javascript,java,news,jquery,prototype,mootools,scriptaculous</itunes:keywords>    <itunes:explicit>no</itunes:explicit>    <media:keywords>javascript,java,news,jquery,prototype,mootools,scriptaculous</media:keywords>    <media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology/Tech News</media:category>    <itunes:category text="Technology">      <itunes:category text="Tech News" />    </itunes:category>
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 308 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號