Как настроить RSS-канал с сайтом Jekyll? - PullRequest
1 голос
/ 03 февраля 2020

Я нахожусь в процессе настройки блога с GitHub Pages и jekyll на linux. Я использую включенную тему «минимумы», которая включает ссылку «Подписаться v ie 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, поэтому я предполагаю, что он автоматически сгенерирован и скрыт плагином. Репо можно найти здесь и связанный с ним веб-сайт здесь Любая помощь приветствуется. Спасибо!

1 Ответ

0 голосов
/ 07 февраля 2020

Хотя это выглядит немного не так, но работает правильно.

Если вы добавите ссылку на этот файл в программу чтения RSS, то этот файл XML периодически читается для создания канала.

...