[15 min fix] Update Publishing from RSS guide with correct instructions (#13756)
* Update Publishing from RSS guide with correct instructions * Use colons, not arrows * Update app/views/pages/publishing_from_rss_guide.html.erb Co-authored-by: Suzanne Aitchison <suzanne@forem.com> Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
This commit is contained in:
parent
f7293c3544
commit
1901ac9573
3 changed files with 42 additions and 35 deletions
|
|
@ -1,27 +0,0 @@
|
|||
<div class="container article" id="editor-help-guide">
|
||||
<div class="title help-guide-title">
|
||||
<h1>Publishing from RSS Guide</h1>
|
||||
</div>
|
||||
<div class="body">
|
||||
<h2>Front Matter</h2>
|
||||
<p>Our RSS reader converts some tags from the RSS items to tags for the Jekyll front matter:</p>
|
||||
<ul>
|
||||
<li><code><title></code>: <strong>title</strong></li>
|
||||
<li><code><category></code>:
|
||||
<strong>tags</strong>, comma separated. Since only 4 tags can be used in a post on <%= community_name %>, only the first four tags will be used from the RSS item.
|
||||
</li>
|
||||
<li><code><link></code>:
|
||||
<strong>canonical_url</strong><br />Only if the "Mark the RSS source as canonical URL by default" option is enabled in the Publishing from RSS settings.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2>Article Content</h2>
|
||||
<p>The article content is prioritized in this order: <code><content></code>,
|
||||
<code><summary></code>, or
|
||||
<code><description></code>. The HTML will be converted to Markdown as the body of the <%= community_name %> post.</p>
|
||||
<p>If you're using a Medium RSS feed, Tweet links, YouTube, and Gist iframes are converted to Liquid tags.</p>
|
||||
<br />
|
||||
<br />
|
||||
<div class="blank-space"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,12 +1,46 @@
|
|||
<% title "Editor Guide" %>
|
||||
<% title "Editor Guide - Publishing from RSS or Atom" %>
|
||||
|
||||
<%= content_for :page_meta do %>
|
||||
<link rel="canonical" href="<%= app_url("/p/publishing_from_rss_guide") %>" />
|
||||
<meta name="description" content="dev.to | publishing from rss guideline">
|
||||
<link rel="canonical" href="<%= app_url(publishing_from_rss_guide_path) %>" />
|
||||
<meta name="description" content="<%= community_name %> | Publishing from RSS or Atom guidelines">
|
||||
<%= meta_keywords_default %>
|
||||
<% end %>
|
||||
|
||||
<header>
|
||||
<div class="blank-space"></div>
|
||||
</header>
|
||||
<%= render "publishing_from_rss_guide_text" %>
|
||||
<main class="container article" id="main-content">
|
||||
<div class="title help-guide-title">
|
||||
<h1>Publishing from RSS or Atom</h1>
|
||||
</div>
|
||||
|
||||
<div class="body">
|
||||
<h2>Front Matter</h2>
|
||||
|
||||
<p>Our feed reader converts some elements from the RSS or Atom feeds to tags for the editor's front matter:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<code><title></code>: <strong>title</strong>, the title of the post
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<code><category></code>: <strong>tags</strong>, only the first four <code><category></code> elements
|
||||
can be used in a post on <%= community_name %> per each item in the feed.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<code><link></code>: <strong>canonical_url</strong>, only used if the "Mark the RSS source as canonical URL by default"
|
||||
option is enabled in the <%= link_to "RSS Settings", user_settings_path(:extensions) %>.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2>Post Content</h2>
|
||||
|
||||
<p>
|
||||
The post content is prioritized in this order: <code><content></code>, <code><summary></code>, or
|
||||
<code><description></code>.
|
||||
</p>
|
||||
|
||||
<p>The HTML will be converted to Markdown as the body of the <%= community_name %> post.</p>
|
||||
|
||||
<p>If you're using Medium RSS feed all its tweet links, YouTube, and Gist iframes will be converted to Liquid tags.</p>
|
||||
<div class="blank-space"></div>
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<p>Formatting will typically look good, but you may have to make manual fixes. In the case of Medium, you may have to manually fix embeds.</p>
|
||||
<p>
|
||||
To find out more about how drafts are created from your feed, read this
|
||||
<a href="/p/publishing_from_rss_guide">guide</a>.
|
||||
<a href="<%= publishing_from_rss_guide_path %>">guide</a>.
|
||||
</p>
|
||||
<p>
|
||||
Your feed will be fetched every time you submit this form and updates will be automatically fetched periodically thereafter. Contact
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue