github - 如何使用 Jekyll 网站设置 RSS 提要?

标签 github rss jekyll github-pages

我正在 Linux 上使用 GitHub Pages 和 jekyll 建立一个博客。我正在使用附带的“minima”主题,其中包括页面底部的“订阅 vie RSS”链接。当我点击此链接时,我收到一条消息: 此 XML 文件似乎没有任何与之关联的样式信息。文档树如下所示。 下面显示了大量 xml。我不太确定 RSS 提要是如何工作的,但我很确定它不应该这样工作。我的xml文件如下:

<feed>
<generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator>
<link href="https://gaetgu.github.io/feed.xml" rel="self" type="application/atom+xml"/>
<link href="https://gaetgu.github.io/" rel="alternate" type="text/html"/>
<updated>2020-02-03T16:52:33+00:00</updated>
<id>https://gaetgu.github.io/feed.xml</id>
<title type="html">Gaetgu</title>
<subtitle>Copyright© 2020 Gabriel Gutiérrez</subtitle>
<entry>
<title type="html">site launched</title>
<link href="https://gaetgu.github.io/blog/site-launched" rel="alternate" type="text/html" title="site launched"/>
<published>2020-01-28T00:00:00+00:00</published>
<updated>2020-01-28T00:00:00+00:00</updated>
<id>https://gaetgu.github.io/blog/site-launched</id>
<content type="html" xml:base="https://gaetgu.github.io/blog/site-launched">
<h2 id="hello-world-this-is-the-first-post-of-the-gaetgu-ae-website">Hello, World! This is the first post of the Gaetgu AE website!!!</h2> <p>This blog will contain AE content etc.</p>
</content>
<author>
<name>Gaetgu</name>
</author>
<summary type="html">
Hello, World! This is the first post of the Gaetgu AE website!!!
</summary>
</entry>
<entry>
<title type="html">TVC on Model Rockets</title>
<link href="https://gaetgu.github.io/blog/model-rockets" rel="alternate" type="text/html" title="TVC on Model Rockets"/>
<published>2020-01-28T00:00:00+00:00</published>
<updated>2020-01-28T00:00:00+00:00</updated>
<id>https://gaetgu.github.io/blog/model-rockets</id>
<content type="html" xml:base="https://gaetgu.github.io/blog/model-rockets">
<h3 id="thrust-vectoring-control">Thrust Vectoring Control</h3> <p>TVC is an acronymn for <strong>T</strong>hrust <strong>V</strong>ectoring <strong>C</strong>ontrol. TVC works by gimballing the motor in the base of a model rocket, changing the angle of thrust and therefore changing the velocity.</p> <p><img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/En_Gimbaled_thrust_diagram.svg" alt="TVC Diagram" /></p> <p>This is done actively, changing the course of the rocket and stabilizing it from outside factors such as wind. This concept is what allows SpaceX to land their rockets.</p> <p><img src="https://upload.wikimedia.org/wikipedia/commons/6/6e/Gimbaled_thrust_animation.gif" alt="TVC Animation" /></p> <p>Up until fairly recently, the idea of equipping a model rocket with TVC seemed an out-of-reach concept. Once the 3d printer was made affordable and small, people were suddenly able to create their own parts, without having to have access to a machine shop or spend insane amounts of money to get it custom-built and shipped to your location. The PLA used to print parts is also lighter than acrylic and metal, while still being fairly strong, allowing its use in flight vehicles. As for as I know, there is currently only one company, BPS, who is selling a kit to create your own TVC system, though you could create your own gimbal with a personal 3d printer. The main downside to trying to DUY instead of buying a kit is that you also have to create your own flight computer.</p> <h3 id="building-a-tvc-equipped-rocket-through-kit">Building a TVC-equipped Rocket (through kit)</h3> <p>The kit sold by BPS currently costs $349, and is out of stock until sometime spring 2020. The motor gimbal and avionics mount fit inside a 74mm airframe. The airframes can be bought <a href="https://www.apogeerockets.com/Building_Supplies/Body_Tubes/ Low_Power_Tubes/74mm_x_18_Body_Tube_Thin_Wall_3_tube">here</a>. You must use a MicroSD card to program the main avionics, which can be bought <a href="https://rads.stackoverflow.com/amzn/click/com/B004ZIENBA" rel="nofollow noreferrer">here</a>. And you must buy either a rechargeable LiPo battery or a 9-volt, the LiPos can be found <a href="https://rads.stackoverflow.com/amzn/click/com/B01N32628C" rel="nofollow noreferrer">here</a>. And finally, you must buy motor tubes to fit the motor into the housing, you can buy two of <a href="https://www.apogeerockets.com/Building_Supplies/Body_Tubes/Low_Power_Tubes/ 29mm_x_13_Body_Tube_Holds_FG_Engines">these</a>. A beginner rocket, the Electron, can be built along with BPS’s YouTube™ series, as seen below.</p> <p><a href="https://www.youtube.com/playlist?list=PLyV774-3p835n5XZFz4JMvF-Griy_uOdV"><img src="https://i.ytimg.com/vi/1BQkMYj6Kps/hqdefault.jpg?sqp=-oaymwEXCNACELwBSFryq4qpAwkIARUAAIhCGAE=&amp;rs=AOn4CLCZ49T8hDn5S7x3LKA17FYI2S4r3g" alt="Build TVC Series" /></a></p>
</content>
<author>
<name>Gaetgu</name>
</author>
<summary type="html">Thrust Vectoring Control</summary>
</entry>
</feed>

我正在使用 jekyll-feed 插件。该内容实际上在我的 github 存储库中找不到,因此我假设它是由插件自动生成并隐藏的。可以找到该存储库 here及其附属网站 here任何帮助表示赞赏。谢谢!

最佳答案

虽然看起来有点不对劲,但它工作正常。

您可以在 RSS 阅读器中添加指向该文件的链接,然后定期读取该 XML 文件以构建提要。

关于github - 如何使用 Jekyll 网站设置 RSS 提要?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60044045/

相关文章:

git - 恢复对 git 的最后操作?

git - 如何将新问题附加到 github 上的现有 pull 请求?

git - 你如何从历史 github 提交中删除或更改你的 git user.name?

git clone 总是以 "Failed sending HTTP request"失败

blackberry - 如何解析 RSS 提要并将其显示为黑莓应用程序中的链接?

c# - XML 解析 : Reading CDATA

ruby - Jekyll 错误 "Liquid Exception: undefined method ` 编码为 nil :NilClass in _layouts/post. html"

git - Github 页面的下载按钮

google-analytics - 如何检查 Google Analytics 是否正常工作?

jquery - 向动态内容添加 jQuery 垂直滚动条