【问题标题】:How to set up RSS feed with a Jekyll site?如何使用 Jekyll 站点设置 RSS 提要?
【发布时间】:2020-05-19 11:50:37
【问题描述】:

我正在用 GitHub Pages 和 jekyll 在 linux 上建立一个博客。我正在使用包含的“minima”主题,其中包括页面底部的“订阅 vie RSS”链接。当我单击此链接时,我收到一条消息: This XML file does not appear to have any style information associated with it. The document tree is shown below. 和它下面的一大堆 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 上找到该 repo 任何帮助,我们将不胜感激。谢谢!

【问题讨论】:

    标签: github rss jekyll github-pages


    【解决方案1】:

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

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

    【讨论】:

    • 它看起来很奇怪,因为它是Atom feed,而不是 RSS 提要(尽管 Minima 将其称为 RSS)。不过,似乎大多数提要阅读器都使用 RSS 或 Atom 格式。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-13
    • 2013-02-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多