RFC Repository of programming RFC's with ability to direct-link sections or even lines?

家住魔仙堡 提交于 2019-12-11 06:06:20

问题


Forgive me if this is the wrong place to ask this, I feel like the question is slightly off-topic even though it is also about programming.

I am inputting todo-tasks for my WebDAV-project into my issue tracker, as I read through the relevant RFC's, and it would be nice to be able to add a link in my issue text directly to the relevant text, instead of just a link to the RFC file with a section number in the issue text, and then I have to use the find function to find it.

For instance, a link like this:

  • http://ieft.org/rfc2518.txt#1000 <-- line 1000
  • http://ieft.org/rfc2518.txt#9.8.3 <-- section 9.8.3

Neither of these two works, since they just post the full text files, so my question is this: Does anyone know of hosted versions of the RFC documents that contains such links?


回答1:


First, a better solution would to be use a richer language for expressing links to the text-only version. It exists! RFC 5147: URI Fragment Identifiers for the text/plain Media Type. For instance:

  • http://www.ietf.org/rfc/rfc2518.txt#line=1000

It has a (very limited) implementation and a (better?) one in the browser Amaya.

For the HTML (unofficial) versions, there is the possibiity you request at the excellent tools.ietf.org. For instance:

  • http://tools.ietf.org/html/rfc2518#section-9.8


来源:https://stackoverflow.com/questions/2819935/rfc-repository-of-programming-rfcs-with-ability-to-direct-link-sections-or-even

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!