C#学习教程:构建简单的RSS阅读器,检索内容分享


构建简单的RSS阅读器,检索内容

我正在尝试使用SyndicationFeed类创建一个简单的RSS阅读器。

有一些标准标签,如</code> , <code></code> , <code></code> ……它们没有问题。 </p> <p> 但是还有其他一些标签。 例如,在由WordPress创建的此Feed中 ,有<code></code>标记。 我认为其他网站的内容部分可能还有其他标签。 对? </p> <p> 我想知道,如何找到每个post的主要内容,有没有标准? 我应该寻找哪些标签? </p> <p> (例如,一个站点可能使用<code></code>但是其他一些只使用<code></code>或者有人使用另一个标准…我不知道如何检索post的<strong>主要</strong>内容) </p> <p> PS:我正在使用此代码测试我的简单RSS阅读器: </p> <pre> <code> var reader = XmlReader.Create("http://feed.2barnamenevis.com/2barnamenevis"); var feed = SyndicationFeed.Load(reader); string s = ""; foreach (SyndicationItem i in feed.Items) { s += i.Title.Text + "<br />" + i.Summary.Text + "<br />" + i.PublishDate.ToString() + "<br />"; foreach (SyndicationElementExtension extension in i.ElementExtensions) { XElement ele = extension.GetObject(); s += ele.Name + " :: " + ele.Value + "<br />"; } s += "<hr />"; } return s;</code> </pre> </p> <p> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p> <div> <div> <p> 根据我们在评论中的讨论,我可能建议与第三方供应商合作,而不是从头开始构建它 – Argotic和RSS.NET看起来都很有希望。 </p> </p></div> <div> <p> 我找到了Argotic Syndication Framework(感谢JoeEnos)。 </p> <p> Argotic有许多扩展,可用于处理非标准的元素。 </p> <p> 例如,您可以使用<code>Argotic.Extensions.Core.SiteSummaryContentSyndicationExtension</code>来检索<code><content:encoded></content:encoded></code> 。 你可以在这里看到一个例子。 (如果该示例为内容返回<code>null</code> ,则应该只使用<code>MyRssItem.Description</code> ) </p> <p> 其他一些有用的扩展是<code>WellFormedWebCommentsSyndicationExtension</code> (用于检索注释feed url)和<code>SiteSummarySlashSyndicationExtension</code> (用于检索注释计数)。 </p> </p></div> <div> <p> 取决于你想要支持的内容。 内容元素不是RSS2.0的一部分,而是属于Atom(rss 4287)。 </p> <p> 阅读RSS2.0规范http://cyber.law.harvard.edu/rss/rss.html#hrelementsOfLtitemgt阅读Atom规范http://tools.ietf.org/html/rfc4287 </p> <p>上述就是C#学习教程:构建简单的RSS阅读器,检索内容分享的全部内容,如果对大家有所用处且需要了解更多关于C#学习教程,希望大家多多关注—猴子技术宅(www.ssfiction.com) </p></div> <div> <div></div> <div></div> </p></div> </p></div> <div class="entry-copyright"><p>本文来自网络收集,不代表猴子技术宅立场,如涉及侵权请点击右边联系管理员删除。</p> <p>如若转载,请注明出处:https://www.ssfiction.com/ckf/1031734.html</p></div> </div> <div class="entry-footer"> <div class="entry-tag"></div> <div class="entry-action"> <div class="btn-zan" data-id="1031734"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up-fill"></use></svg></i> 赞 <span class="entry-action-num">(0)</span></div> </div> <div class="entry-bar"> <div class="entry-bar-inner clearfix"> <div class="author pull-left"> <a data-user="12" target="_blank" href="https://www.ssfiction.com/user/12" class="avatar j-user-card"> <img alt='小游戏开发' src='//cravatar.cn/avatar/e821b33e467de24c57f275b04e02acd8?s=60&d=monsterid&r=g' srcset='//cravatar.cn/avatar/e821b33e467de24c57f275b04e02acd8?s=120&d=monsterid&r=g 2x' class='avatar avatar-60 photo' height='60' width='60' /><span class="author-name">小游戏开发</span> </a> </div> <div class="info pull-right"> <div class="info-item meta"> <a class="meta-item j-heart" href="javascript:;" data-id="1031734"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-star"></use></svg></i> <span class="data">0</span></a> <a class="meta-item" href="#comments"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i> <span class="data">0</span></a> </div> <div class="info-item share"> <a class="meta-item mobile j-mobile-share" href="javascript:;" data-id="1031734" data-qrcode="https://www.ssfiction.com/ckf/1031734.html"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> 生成海报</a> <a class="meta-item wechat" data-share="wechat" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-wechat"></use></svg></i> </a> <a class="meta-item weibo" data-share="weibo" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-weibo"></use></svg></i> </a> <a class="meta-item qq" data-share="qq" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qq"></use></svg></i> </a> <a class="meta-item douban" data-share="douban" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-douban"></use></svg></i> </a> <a class="meta-item facebook" data-share="facebook" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-facebook"></use></svg></i> </a> <a class="meta-item twitter" data-share="twitter" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-twitter"></use></svg></i> </a> <a class="meta-item linkedin" data-share="linkedin" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-linkedin"></use></svg></i> </a> <a class="meta-item qzone" data-share="qzone" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qzone"></use></svg></i> </a> </div> <div class="info-item act"> <a href="javascript:;" id="j-reading"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-article"></use></svg></i></a> </div> </div> </div> </div> <div class="entry-page"> <div class="entry-page-prev entry-page-nobg j-lazy" style="background-image: url(https://www.ssfiction.com/wp-content/themes/justnews/themer/assets/images/lazy.png);" data-original=""> <a href="https://www.ssfiction.com/ckf/1031845.html" title="C#学习教程:如何设置Outlook文件夹的自定义图标?分享" rel="prev"> <span>C#学习教程:如何设置Outlook文件夹的自定义图标?分享</span> </a> <div class="entry-page-info"> <span class="pull-left"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-left-double"></use></svg></i> 上一篇</span> <span class="pull-right">1天前</span> </div> </div> <div class="entry-page-next entry-page-nobg j-lazy" style="background-image: url(https://www.ssfiction.com/wp-content/themes/justnews/themer/assets/images/lazy.png);" data-original=""> <a href="https://www.ssfiction.com/ckf/1031735.html" title="C#学习教程:Word ApplicationClass问题分享" rel="next"> <span>C#学习教程:Word ApplicationClass问题分享</span> </a> <div class="entry-page-info"> <span class="pull-right">下一篇 <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-right-double"></use></svg></i></span> <span class="pull-left">1天前</span> </div> </div> </div> <div class="wpcom_ad_wrap ad_single_2"><div class="_eh30dk90sk"></div> <script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6643256", container: "_eh30dk90sk", async: true }); </script> <!-- 多条广告如下脚本只需引入一次 --> <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" > </script></div> <h3 class="entry-related-title">精彩推荐</h3><ul class="entry-related cols-3 post-loop post-loop-list"><li class="item"> <span class="date pull-right">2021年11月13日</span> <a href="https://www.ssfiction.com/adkf/939986.html" target="_blank" rel="bookmark"> android开发分享android开机自启动app示例分享 </a> </li><li class="item"> <span class="date pull-right">2021年11月1日</span> <a href="https://www.ssfiction.com/gamegn/919835.html" target="_blank" rel="bookmark"> 梦幻模拟战时间曲面的追猎通关攻略游戏攻略分享 </a> </li><li class="item"> <span class="date pull-right">2022年1月4日</span> <a href="https://www.ssfiction.com/ckf/1019340.html" target="_blank" rel="bookmark"> C#学习教程:如何在C#中将JSON对象序列化或反序列化到某个深度?分享 </a> </li><li class="item"> <span class="date pull-right">2021年11月1日</span> <a href="https://www.ssfiction.com/wpcms/913617.html" target="_blank" rel="bookmark"> wordpress利用键盘左右键实现上下翻页的方法分享! </a> </li><li class="item"> <span class="date pull-right">2021年12月30日</span> <a href="https://www.ssfiction.com/ckf/1015434.html" target="_blank" rel="bookmark"> C#学习教程:在Session_end事件上重定向到另一个页面分享 </a> </li><li class="item"> <span class="date pull-right">2021年10月15日</span> <a href="https://www.ssfiction.com/bgsoft/wordstudy/862232.html" target="_blank" rel="bookmark"> word技术学习文档:怎么样修改Word2003输入的默认字号和字体 </a> </li><li class="item"> <span class="date pull-right">2021年7月29日</span> <a href="https://www.ssfiction.com/mzdq/gxyxmz/677786.html" target="_blank" rel="bookmark"> 大话西游霸气个性点的游戏名字分享 </a> </li><li class="item"> <span class="date pull-right">2021年12月29日</span> <a href="https://www.ssfiction.com/ckf/1008738.html" target="_blank" rel="bookmark"> C#学习教程:使用UnitofWork Pattern的Rhino Mock Entity Framework无法正常工作分享 </a> </li><li class="item"> <span class="date pull-right">2021年10月9日</span> <a href="https://www.ssfiction.com/gamegn/842489.html" target="_blank" rel="bookmark"> 剑与远征金瓜子是什么 怎么获得游戏攻略分享 </a> </li><li class="item"> <span class="date pull-right">2020年4月24日</span> <a href="https://www.ssfiction.com/wbfwq/92474.html" target="_blank" rel="bookmark"> Apache服务器故障排除攻略分享 </a> </li><li class="item"> <span class="date pull-right">2020年11月17日</span> <a href="https://www.ssfiction.com/mzdq/htmz/498085.html" target="_blank" rel="bookmark"> 冒险岛好听的女名字分享 </a> </li><li class="item"> <span class="date pull-right">2020年4月20日</span> <a href="https://www.ssfiction.com/win7xt/40611.html" target="_blank" rel="bookmark"> 猴:windows7 32位系统安装好为什么提示文件缺失问题 </a> </li></ul> </div> <div id="comments" class="entry-comments"> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">发表评论 <small><a rel="nofollow" id="cancel-comment-reply-link" href="/ckf/1031734.html#respond" style="display:none;"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></a></small></h3><form action="https://www.ssfiction.com/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate><p class="comment-notes"><span id="email-notes">邮箱地址不会被公开。</span> 必填项已用<span class="required">*</span>标注</p><div class="comment-form-comment"><textarea id="comment" name="comment" class="required" rows="4" placeholder="写下你的评论…"></textarea><div class="comment-form-smile j-smilies" data-target="#comment"><i class="wpcom-icon wi smile-icon"><svg aria-hidden="true"><use xlink:href="#wi-emotion"></use></svg></i></div></div><div class="comment-form-author"><label for="author"><span class="required">*</span>昵称:</label><input id="author" name="author" type="text" value="" size="30" class="required"></div> <div class="comment-form-email"><label for="email"><span class="required">*</span>邮箱:</label><input id="email" name="email" type="text" value="" class="required"></div> <div class="comment-form-url"><label for="url">网址:</label><input id="url" name="url" type="text" value="" size="30"></div> <div class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"> 记住昵称、邮箱和网址,下次评论免输入</div> <div class="form-submit"><button name="submit" type="submit" id="submit" class="btn btn-primary btn-xs submit">提交</button> <input type='hidden' name='comment_post_ID' value='1031734' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </div></form> </div><!-- #respond --> </div><!-- .comments-area --> </div> </article> </main> <aside class="sidebar"> <div id="search-85" class="widget widget_search"><h3 class="widget-title"><span>热门搜索</span></h3><form class="search-form" action="https://www.ssfiction.com" method="get" role="search"> <input type="text" class="keyword" name="s" placeholder="输入关键词搜索..." value=""> <button type="submit" class="submit"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-search"></use></svg></i></button> </form></div><div id="wpcom-image-ad-83" class="widget widget_image_ad"> <a href="https://www.aliyun.com/activity/daily/bestoffer?userCode=u8qde0ej" target="_blank" rel="nofollow"> <img class="j-lazy" src="https://www.ssfiction.com/wp-content/themes/justnews/themer/assets/images/lazy.png" data-original="https://www.ssfiction.com/wp-content/uploads/2019/10/houxuewang.jpg" alt="爆款阿里云服务器"> </a> </div><div id="wpcom-lastest-news-85" class="widget widget_lastest_news"><h3 class="widget-title"><span>热门C#教程文章</span></h3> <ul> <li><a href="https://www.ssfiction.com/ckf/959422.html" title="C#学习教程:将两个xml文件合并为一个的最快方法是什么分享">C#学习教程:将两个xml文件合并为一个的最快方法是什么分享</a></li> <li><a href="https://www.ssfiction.com/ckf/987727.html" title="C#学习教程:使用C#Regular表达式替换XML元素内容分享">C#学习教程:使用C#Regular表达式替换XML元素内容分享</a></li> <li><a href="https://www.ssfiction.com/ckf/957396.html" title="C#学习教程:有效删除c#中的重复xml元素分享">C#学习教程:有效删除c#中的重复xml元素分享</a></li> <li><a href="https://www.ssfiction.com/ckf/903525.html" title="C#学习教程:C#+无unsafe的非托管大数组示例详解(large unmanaged array in c# without ‘unsafe’ keyword)分享">C#学习教程:C#+无unsafe的非托管大数组示例详解(large unmanaged array in c# without ‘unsafe’ keyword)分享</a></li> <li><a href="https://www.ssfiction.com/ckf/908526.html" title="C#学习教程:C# 封装分享">C#学习教程:C# 封装分享</a></li> <li><a href="https://www.ssfiction.com/ckf/903526.html" title="C#学习教程:C#基础知识之Partial的使用分享">C#学习教程:C#基础知识之Partial的使用分享</a></li> <li><a href="https://www.ssfiction.com/ckf/908527.html" title="C#学习教程:C# 循环分享">C#学习教程:C# 循环分享</a></li> <li><a href="https://www.ssfiction.com/ckf/903527.html" title="C#学习教程:深入分析C#中的异步和多线程分享">C#学习教程:深入分析C#中的异步和多线程分享</a></li> <li><a href="https://www.ssfiction.com/ckf/908529.html" title="C#学习教程:C# 判断分享">C#学习教程:C# 判断分享</a></li> <li><a href="https://www.ssfiction.com/ckf/908531.html" title="C#学习教程:C# 运算符分享">C#学习教程:C# 运算符分享</a></li> </ul> </div><div id="tag_cloud-84" class="widget widget_tag_cloud"><h3 class="widget-title"><span>热门C#教程标签</span></h3><div class="tagcloud"><a href="https://www.ssfiction.com/tag/c" class="tag-cloud-link tag-link-1503 tag-link-position-1" style="font-size: 22pt;" aria-label="C (49,514个项目)">C</a> <a href="https://www.ssfiction.com/tag/cod" class="tag-cloud-link tag-link-2078 tag-link-position-2" style="font-size: 11.230769230769pt;" aria-label="COD (9,681个项目)">COD</a> <a href="https://www.ssfiction.com/tag/cs" class="tag-cloud-link tag-link-356 tag-link-position-3" style="font-size: 14.153846153846pt;" aria-label="cs (15,247个项目)">cs</a> <a href="https://www.ssfiction.com/tag/ea" class="tag-cloud-link tag-link-1721 tag-link-position-4" style="font-size: 15.846153846154pt;" aria-label="EA (19,419个项目)">EA</a> <a href="https://www.ssfiction.com/tag/h" class="tag-cloud-link tag-link-2093 tag-link-position-5" style="font-size: 20.153846153846pt;" aria-label="h (37,546个项目)">h</a> <a href="https://www.ssfiction.com/tag/html" class="tag-cloud-link tag-link-725 tag-link-position-6" style="font-size: 14.769230769231pt;" aria-label="html (16,707个项目)">html</a> <a href="https://www.ssfiction.com/tag/http" class="tag-cloud-link tag-link-1836 tag-link-position-7" style="font-size: 19.076923076923pt;" aria-label="http (31,658个项目)">http</a> <a href="https://www.ssfiction.com/tag/ie" class="tag-cloud-link tag-link-753 tag-link-position-8" style="font-size: 15.230769230769pt;" aria-label="IE (17,861个项目)">IE</a> <a href="https://www.ssfiction.com/tag/ign" class="tag-cloud-link tag-link-501 tag-link-position-9" style="font-size: 20.923076923077pt;" aria-label="ign (41,528个项目)">ign</a> <a href="https://www.ssfiction.com/tag/javascript" class="tag-cloud-link tag-link-735 tag-link-position-10" style="font-size: 9.3846153846154pt;" aria-label="javascript (7,328个项目)">javascript</a> <a href="https://www.ssfiction.com/tag/jquery" class="tag-cloud-link tag-link-803 tag-link-position-11" style="font-size: 8.7692307692308pt;" aria-label="jquery (6,835个项目)">jquery</a> <a href="https://www.ssfiction.com/tag/js" class="tag-cloud-link tag-link-804 tag-link-position-12" style="font-size: 11.076923076923pt;" aria-label="js (9,483个项目)">js</a> <a href="https://www.ssfiction.com/tag/linux" class="tag-cloud-link tag-link-475 tag-link-position-13" style="font-size: 8.6153846153846pt;" aria-label="linux (6,585个项目)">linux</a> <a href="https://www.ssfiction.com/tag/ns" class="tag-cloud-link tag-link-446 tag-link-position-14" style="font-size: 19.692307692308pt;" aria-label="ns (34,872个项目)">ns</a> <a href="https://www.ssfiction.com/tag/og" class="tag-cloud-link tag-link-1714 tag-link-position-15" style="font-size: 10.461538461538pt;" aria-label="OG (8,628个项目)">OG</a> <a href="https://www.ssfiction.com/tag/ow" class="tag-cloud-link tag-link-2802 tag-link-position-16" style="font-size: 11.230769230769pt;" aria-label="OW (9,787个项目)">OW</a> <a href="https://www.ssfiction.com/tag/php" class="tag-cloud-link tag-link-801 tag-link-position-17" style="font-size: 11.692307692308pt;" aria-label="php (10,565个项目)">php</a> <a href="https://www.ssfiction.com/tag/ps" class="tag-cloud-link tag-link-452 tag-link-position-18" style="font-size: 21.846153846154pt;" aria-label="ps (48,116个项目)">ps</a> <a href="https://www.ssfiction.com/tag/se" class="tag-cloud-link tag-link-2207 tag-link-position-19" style="font-size: 14.923076923077pt;" aria-label="SE (16,935个项目)">SE</a> <a href="https://www.ssfiction.com/tag/select" class="tag-cloud-link tag-link-805 tag-link-position-20" style="font-size: 11.538461538462pt;" aria-label="select (10,350个项目)">select</a> <a href="https://www.ssfiction.com/tag/web" class="tag-cloud-link tag-link-808 tag-link-position-21" style="font-size: 9.2307692307692pt;" aria-label="web (7,221个项目)">web</a> <a href="https://www.ssfiction.com/tag/%e5%a3%81%e7%ba%b8" class="tag-cloud-link tag-link-3775 tag-link-position-22" style="font-size: 8.1538461538462pt;" aria-label="壁纸 (6,151个项目)">壁纸</a> <a href="https://www.ssfiction.com/tag/gong-ju" class="tag-cloud-link tag-link-50 tag-link-position-23" style="font-size: 11.846153846154pt;" aria-label="工具 (10,650个项目)">工具</a> <a href="https://www.ssfiction.com/tag/sou-suo" class="tag-cloud-link tag-link-58 tag-link-position-24" style="font-size: 9.5384615384615pt;" aria-label="搜索 (7,531个项目)">搜索</a> <a href="https://www.ssfiction.com/tag/shu-ju" class="tag-cloud-link tag-link-59 tag-link-position-25" style="font-size: 17.538461538462pt;" aria-label="数据 (25,188个项目)">数据</a> <a href="https://www.ssfiction.com/tag/shu-ju-ku" class="tag-cloud-link tag-link-1206 tag-link-position-26" style="font-size: 8pt;" aria-label="数据库 (5,965个项目)">数据库</a> <a href="https://www.ssfiction.com/tag/ce-shi" class="tag-cloud-link tag-link-239 tag-link-position-27" style="font-size: 11.230769230769pt;" aria-label="测试 (9,734个项目)">测试</a> <a href="https://www.ssfiction.com/tag/%e6%b8%b8%e6%88%8f%e5%90%8d%e5%ad%97" class="tag-cloud-link tag-link-3817 tag-link-position-28" style="font-size: 11.692307692308pt;" aria-label="游戏名字 (10,462个项目)">游戏名字</a> <a href="https://www.ssfiction.com/tag/xi-tong" class="tag-cloud-link tag-link-555 tag-link-position-29" style="font-size: 17.846153846154pt;" aria-label="系统 (26,264个项目)">系统</a> <a href="https://www.ssfiction.com/tag/she-ji" class="tag-cloud-link tag-link-93 tag-link-position-30" style="font-size: 10pt;" aria-label="设计 (8,070个项目)">设计</a></div> </div> </aside> </div> </div> <footer class="footer"> <div class="container"> <div class="clearfix"> <div class="footer-col footer-col-logo"> <img src="https://www.ssfiction.com/wp-content/uploads/2020/04/2020040218393057.png" alt="猴子技术宅"> </div> <div class="footer-col footer-col-copy"> <ul class="footer-nav hidden-xs"><li id="menu-item-457669" class="menu-item menu-item-457669"><a href="https://www.ssfiction.com/category/games">游戏快讯</a></li> <li id="menu-item-457629" class="menu-item menu-item-457629"><a href="https://www.ssfiction.com/category/mzdq">游戏名字大全</a></li> <li id="menu-item-457628" class="menu-item menu-item-457628"><a href="https://www.ssfiction.com/category/dmkt/gametu">游戏美图</a></li> <li id="menu-item-8193" class="menu-item menu-item-8193"><a href="https://www.ssfiction.com/abouts">关于猴子技术宅</a></li> <li id="menu-item-8190" class="menu-item menu-item-8190"><a href="https://www.ssfiction.com/tags">热门游戏标签</a></li> <li id="menu-item-8191" class="menu-item menu-item-8191"><a href="https://www.ssfiction.com/sitemap.html">网站地图</a></li> <li id="menu-item-8192" class="menu-item menu-item-8192"><a href="https://www.ssfiction.com/sitemap.xml">引擎蜘蛛地图</a></li> </ul> <div class="copyright"> <p>Copyright © 2021 SSFICTION 版权所有 <a href="https://beian.miit.gov.cn" rel="nofollow">蜀ICP备19030938号-2</a> Powered by <a href="http://www.ssfiction.com">猴子技术宅</a></p> </div> </div> <div class="footer-col footer-col-sns"> <div class="footer-sns"> </div> </div> </div> </div> </footer> <div class="action action-style-0 action-color-0 action-pos-0" style="bottom:20%;"> <div class="action-item j-share"> <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> </div> <div class="action-item gotop j-top"> <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-arrow-up-2"></use></svg></i> </div> </div> <script type='text/javascript'> /* <![CDATA[ */ var _wpcom_js = {"webp":"","ajaxurl":"https:\/\/www.ssfiction.com\/wp-admin\/admin-ajax.php","theme_url":"https:\/\/www.ssfiction.com\/wp-content\/themes\/justnews","slide_speed":"5000","lightbox":"1","post_id":"1031734","user_card_height":"356","poster":{"notice":"\u8bf7\u957f\u6309\u4fdd\u5b58\u56fe\u7247\uff0c\u5c06\u5185\u5bb9\u5206\u4eab\u7ed9\u66f4\u591a\u597d\u53cb","generating":"\u6b63\u5728\u751f\u6210\u6d77\u62a5\u56fe\u7247...","failed":"\u6d77\u62a5\u56fe\u7247\u751f\u6210\u5931\u8d25"},"video_height":"482","fixed_sidebar":"1","js_lang":{"page_loaded":"\u5df2\u7ecf\u5230\u5e95\u4e86","no_content":"\u6682\u65e0\u5185\u5bb9","load_failed":"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","login_desc":"\u60a8\u8fd8\u672a\u767b\u5f55\uff0c\u8bf7\u767b\u5f55\u540e\u518d\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\uff01","login_title":"\u8bf7\u767b\u5f55","login_btn":"\u767b\u5f55","reg_btn":"\u6ce8\u518c","copy_done":"\u590d\u5236\u6210\u529f\uff01","copy_fail":"\u6d4f\u89c8\u5668\u6682\u4e0d\u652f\u6301\u62f7\u8d1d\u529f\u80fd"},"login_url":"https:\/\/www.ssfiction.com\/login","register_url":"https:\/\/www.ssfiction.com\/register","errors":{"require":"\u4e0d\u80fd\u4e3a\u7a7a","email":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u5b50\u90ae\u7bb1","pls_enter":"\u8bf7\u8f93\u5165","password":"\u5bc6\u7801\u5fc5\u987b\u4e3a6~32\u4e2a\u5b57\u7b26","passcheck":"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u4e00\u81f4","phone":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\u7801","terms":"\u8bf7\u9605\u8bfb\u5e76\u540c\u610f\u6761\u6b3e","sms_code":"\u9a8c\u8bc1\u7801\u9519\u8bef","captcha_verify":"\u8bf7\u70b9\u51fb\u6309\u94ae\u8fdb\u884c\u9a8c\u8bc1","captcha_fail":"\u70b9\u51fb\u9a8c\u8bc1\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5","nonce":"\u968f\u673a\u6570\u6821\u9a8c\u5931\u8d25","req_error":"\u8bf7\u6c42\u5931\u8d25"},"follow_btn":"<i class=\"wpcom-icon wi\"><svg aria-hidden=\"true\"><use xlink:href=\"#wi-add\"><\/use><\/svg><\/i>\u5173\u6ce8","followed_btn":"\u5df2\u5173\u6ce8","user_card":"1"}; /* ]]> */ </script> <script type='text/javascript' src='https://www.ssfiction.com/wp-content/themes/justnews/js/main.js?ver=6.7.1'></script> <script type='text/javascript' src='https://www.ssfiction.com/wp-includes/js/comment-reply.min.js?ver=5.3.11'></script> <script type='text/javascript'> /* <![CDATA[ */ var QAPress_js = {"ajaxurl":"https:\/\/www.ssfiction.com\/wp-admin\/admin-ajax.php","ajaxloading":"https:\/\/www.ssfiction.com\/wp-content\/plugins\/qapress\/images\/loading.gif","max_upload_size":"2097152","compress_img_size":"0","lang":{"delete":"\u5220\u9664","nocomment":"\u6682\u65e0\u56de\u590d","nocomment2":"\u6682\u65e0\u8bc4\u8bba","addcomment":"\u6211\u6765\u56de\u590d","submit":"\u53d1\u5e03","loading":"\u6b63\u5728\u52a0\u8f7d...","error1":"\u53c2\u6570\u9519\u8bef\uff0c\u8bf7\u91cd\u8bd5","error2":"\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","confirm":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u5e76\u5c06\u540c\u65f6\u5220\u9664\u5f53\u524d\u56de\u590d\u7684\u8bc4\u8bba\u4fe1\u606f\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","confirm2":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","confirm3":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u5e76\u5c06\u540c\u65f6\u5220\u9664\u5f53\u524d\u95ee\u9898\u7684\u56de\u590d\u8bc4\u8bba\u4fe1\u606f\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","deleting":"\u6b63\u5728\u5220\u9664...","success":"\u64cd\u4f5c\u6210\u529f\uff01","denied":"\u65e0\u64cd\u4f5c\u6743\u9650\uff01","error3":"\u64cd\u4f5c\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","empty":"\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a","submitting":"\u6b63\u5728\u63d0\u4ea4...","success2":"\u63d0\u4ea4\u6210\u529f\uff01","ncomment":"0\u6761\u8bc4\u8bba","login":"\u62b1\u6b49\uff0c\u60a8\u9700\u8981\u767b\u5f55\u624d\u80fd\u8fdb\u884c\u56de\u590d","error4":"\u63d0\u4ea4\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","need_title":"\u8bf7\u8f93\u5165\u6807\u9898","need_cat":"\u8bf7\u9009\u62e9\u5206\u7c7b","need_content":"\u8bf7\u8f93\u5165\u5185\u5bb9","success3":"\u66f4\u65b0\u6210\u529f\uff01","success4":"\u53d1\u5e03\u6210\u529f\uff01","need_all":"\u6807\u9898\u3001\u5206\u7c7b\u548c\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a","length":"\u5185\u5bb9\u957f\u5ea6\u4e0d\u80fd\u5c11\u4e8e10\u4e2a\u5b57\u7b26","load_done":"\u56de\u590d\u5df2\u7ecf\u5168\u90e8\u52a0\u8f7d","load_fail":"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","load_more":"\u70b9\u51fb\u52a0\u8f7d\u66f4\u591a","approve":"\u786e\u5b9a\u8981\u5c06\u5f53\u524d\u95ee\u9898\u8bbe\u7f6e\u4e3a\u5ba1\u6838\u901a\u8fc7\u5417\uff1f","end":"\u5df2\u7ecf\u5230\u5e95\u4e86","upload_fail":"\u56fe\u7247\u4e0a\u4f20\u51fa\u9519\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","file_types":"\u4ec5\u652f\u6301\u4e0a\u4f20jpg\u3001png\u3001gif\u683c\u5f0f\u7684\u56fe\u7247\u6587\u4ef6","file_size":"\u56fe\u7247\u5927\u5c0f\u4e0d\u80fd\u8d85\u8fc72M","uploading":"\u6b63\u5728\u4e0a\u4f20...","upload":"\u63d2\u5165\u56fe\u7247"}}; /* ]]> */ </script> <script type='text/javascript' src='https://www.ssfiction.com/wp-content/plugins/qapress/js/scripts.min.js?ver=4.2.1'></script> <script type='text/javascript' src='https://www.ssfiction.com/wp-content/themes/justnews/js/wp-embed.js?ver=6.7.1'></script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?f491af2842d280c1ba9134b31637f11a"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script type="application/ld+json"> { "@context": { "@context": { "images": { "@id": "http://schema.org/image", "@type": "@id", "@container": "@list" }, "title": "http://schema.org/headline", "description": "http://schema.org/description", "pubDate": "http://schema.org/DateTime" } }, "@id": "https://www.ssfiction.com/ckf/1031734.html", "title": "C#学习教程:构建简单的RSS阅读器,检索内容分享", "images": [], "description": "构建简单的RSS阅读器,检索内容 我正在尝试使用SyndicationFeed类创建一个简单的RSS阅读器。 有一些标准标签,如 , , ……它们没有问题。...", "pubDate": "2022-01-14T04:21:13", "upDate": "2022-01-14T04:21:13" } </script> <script>(function ($) {$(document).ready(function () {setup_share(1);})})(jQuery);</script> </body> </html><!-- Cache Enabler by KeyCDN @ Sat, 15 Jan 2022 15:09:28 GMT (https-index.html.gz) -->