我想为我的网站提供一些RSS feed.是否值得提供Atom提要?或Atom是更常见的饲料?有赢家吗?
顺便说一句,这与编程有关,因为我需要编写我们将提供的feed(或使用一些开源代码等).
到目前为止,如果我只需要花时间支持Atom,看起来就像窥视Atom应该是要走的路?其他人都同意这些想法(并希望通过一些统计数据支持?)
虽然我在网上寻找一些RSS架构细节,但我正在阅读RSS Wiki条目,他们说
截至2007年1月[更新],来自www.syndic8.com的跟踪数据表明当前使用的RSS的三个主要版本是0.91,1.0和2.0.其中,RSS 0.91占全球RSS使用量的13%,RSS 2.0占67%,而RSS 1.0占17%.[22] 但是,这些数字不包括竞争对手网络订阅源格式Atom的使用.截至2008年8月[更新],syndic8.com网站的总报价为546,069,其中86,496是Atom的一些方言,438,102是RSS的一些方言.[23]
这表明RSS是Atom的主要格式.
所以我可能自己也回答了这个问题.
据我所知,Atom 1.0和Rss 2.0都不支持多位作者.我想要的只是仔细检查你们是否有一个或多或少的标准方式包括多个作者,除非这样:
<author>Auhtor A., Author B.</author>
Run Code Online (Sandbox Code Playgroud) 我正在使用Visual Studio Private Gallery向我的公司发布内部VSIX.我的VSIX出现在Visual Studio 2012中"扩展和更新"的"在线"部分,我可以从那里安装它:

但是,一旦安装完毕,我无法弄清楚如何更新我的扩展程序,使其显示在同一对话框的"更新"部分中,也无法弄清楚如何让Visual Studio通知我有可用的更新.

我尝试了以下各种组合:
updated标记内的entry标记更改为当前日期和时间updated标记内的feed标记更改为当前日期和时间published标记内的entry标记更改为当前日期和时间我的期望是1,2和3的组合应足以表明有更新,但无济于事.本指南似乎证实了我的期望:
- 已发布 - 添加扩展的日期/时间.
- 更新 - 上次更新扩展程序的日期/时间.
我也同时尝试了所有4个,也无济于事.
我从Apache实例服务于库,我已经确认它正在为atom.xml设置正确的Last-Modified标头.
是否有一些Visual Studio检查更新的时间间隔?打开"扩展和更新"的"更新"部分是否会强制Visual Studio检查?
这是我的atom.xml的内容:
<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text">Visual Studio Extension Gallery</title>
<id>uuid:CDC295B0-7885-4B59-9BDF-F059A9F4B338;id=1</id>
<updated>2013-12-11T19:00:00Z</updated>
<entry>
<id>MyVSIX..b242c6de-d0a6-4ba1-9672-b866e36607d3</id>
<title type="text">MyVSIX</title>
<summary type="text">MyVSIX is a nifty extension that does things.</summary>
<published>2013-12-11T19:00:00Z</published>
<updated>2013-12-11T19:00:00Z</updated>
<author>
<name>daxelrod</name>
</author>
<content type="application/octet-stream" src="vsix/MyVSIX.vsix" />
<Vsix
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010" …Run Code Online (Sandbox Code Playgroud) visual-studio vsix visual-studio-extensions visual-studio-2012 atom-feed
我正在尝试在我的RSS阅读器中添加对stackoverflow提要的支持,但SelectNodes和SelectSingleNode没有任何效果.这可能与我还不了解的ATOM和xml命名空间有关.
我已经通过从feed标签中删除所有属性来实现它,但这是一个黑客,我想正确地做到这一点.那么,你如何使用带有原子馈送的SelectNodes?
这是一个饲料片段.
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:thr="http://purl.org/syndication/thread/1.0">
<title type="html">StackOverflow.com - Questions tagged: c</title>
<link rel="self" href="http://stackoverflow.com/feeds/tag/c" type="application/atom+xml" />
<subtitle>Check out the latest from StackOverflow.com</subtitle>
<updated>2008-08-24T12:25:30Z</updated>
<id>http://stackoverflow.com/feeds/tag/c</id>
<creativeCommons:license>http://www.creativecommons.org/licenses/by-nc/2.5/rdf</creativeCommons:license>
<entry>
<id>http://stackoverflow.com/questions/22901/what-is-the-best-way-to-communicate-with-a-sql-server</id>
<title type="html">What is the best way to communicate with a SQL server?</title>
<category scheme="http://stackoverflow.com/feeds/tag/c/tags" term="c" /><category scheme="http://stackoverflow.com/feeds/tag/c/tags" term="c++" /><category scheme="http://stackoverflow.com/feeds/tag/c/tags" term="sql" /><category scheme="http://stackoverflow.com/feeds/tag/c/tags" term="mysql" /><category scheme="http://stackoverflow.com/feeds/tag/c/tags" term="database" />
<author><name>Ed</name></author>
<link rel="alternate" href="http://stackoverflow.com/questions/22901/what-is-the-best-way-to-communicate-with-a-sql-server" />
<published>2008-08-22T05:09:04Z</published>
<updated>2008-08-23T04:52:39Z</updated>
<summary type="html"><p>I am going to …Run Code Online (Sandbox Code Playgroud) Doxygen配置:
DOT_PATH = ../../../../Applications/Contents/MacOS/Graphviz
HAVE_DOT = YES
SHORT_NAMES = YES
Run Code Online (Sandbox Code Playgroud)
从日志控制台,第一行它会发出警告:
警告:无法在../../../../Applications/Contents/MacOS/Graphviz找到点工具
我尝试了各种组合,但警告并没有消失,虽然它确实生成了图像.
使用9个并行线程生成点图...
运行图形为1/68
sh:dot:命令未找到运行dot的问题:退出代码= 127,command ='dot',arguments ='"/ Users/salilk/Documents/project/DoxygenDocs/html/a00033.dot"-Tpng -o"/ Users/salilk/Documents/project/DoxygenDocs/HTML/a00033.png""
在html目录中已生成.dot文件,但没有.png.
现在,如果我从终端执行相同的命令,则生成.png文件并显示在其.html文件中.
控制台的另一个错误是:
错误:打开地图文件/ Users/salilk/Documents/A2O Collaborate/DoxygenDocs/html/a00032.map以包含在文档中的问题!如果在上次运行失败后安装了Graphviz/dot,请尝试删除输出目录并重新运行doxygen.
这与上述问题有关吗?
我之前在Windows机器上使用过Doxygen并且没有这些错误,我们是否需要针对Mac进行任何特定的配置?
我正在尝试在docker exec中执行两个命令.具体来说,我必须在特定目录中运行命令.我试过这个,但是没有用:
docker exec [id] -c 'cd /var/www/project && composer install'
Run Code Online (Sandbox Code Playgroud)
-c未检测到参数.我也试过这个:
docker exec [id] cd /var/www/project && composer install
Run Code Online (Sandbox Code Playgroud)
但该命令composer install在docker exec命令后执行.我该怎么做?
以下几页讨论了原子如何在Clojure中工作.它并没有充分说明Clojure和其他lisp方言中原子之间的差异.
Common Lisp中的原子和Clojure中的原子之间的主要区别是什么?(CL中存在的Clojure中的atom定义缺少什么?)
检测Feed更新时间的最佳方法是什么?假设我有一个应用程序每15分钟轮询一次Feed.如何查看是否添加了新内容?对于RSS以及Atom提要.
我已经删除.*了Ignored Names..现在所有文件都显示在侧栏中(.env文件除外).
为什么只隐藏这个文件?我怎样才能看到它?