Add Publishing from RSS Guide (#1151)

* Added Publishing from RSS Guide and added a link to it on Settings -> Publishing from RSS.

* Resolved review.

* copy tweaks
This commit is contained in:
Móricz Gergő 2018-12-20 23:38:38 +01:00 committed by Mac Siri
parent 2bb48d27c4
commit 36f656c4e3
4 changed files with 39 additions and 2 deletions

View file

@ -0,0 +1,21 @@
<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</h1>
<p>Our RSS reader converts some tags from the RSS items to tags for the Jekyll front matter:</p>
<ul>
<li><code>&lt;title&gt;</code>: <strong>title</strong></li>
<li><code>&lt;category&gt;</code>: <strong>tags</strong>, comma separated. Since only 4 tags can be used in a post on dev.to, only the first four tags will be used from the RSS item.</li>
<li><code>&lt;link&gt;</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>&lt;content&gt;</code>, <code>&lt;summary&gt;</code>, or <code>&lt;description&gt;</code>. The HTML will be converted to Markdown as the body of the DEV 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>

View file

@ -0,0 +1,13 @@
<% title "Editor Guide" %>
<%= content_for :page_meta do %>
<link rel="canonical" href="https://dev.to/p/publishing_from_rss_guide"/>
<meta name="description" content="dev.to | publishing from rss guideline">
<meta name="keywords" content="software development,engineering,rails,javascript,ruby">
<% end %>
<header>
<div class="blank-space"></div>
</header>
<%= render "publishing_from_rss_guide_text" %>

View file

@ -5,6 +5,9 @@
<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>.
</p>
<p>
Your feed will be fetched every time you submit this form and updates will be automatically fetched periodically thereafter. Contact <a href="mailto:yo@dev.to">yo@dev.to</a> if you encounter issues.
</p>

View file

@ -227,7 +227,7 @@ Rails.application.routes.draw do
post "/fallback_activity_recorder" => "ga_events#create"
scope "p" do
pages_actions = %w[rly rlyweb welcome twitter_moniter editor_guide information
pages_actions = %w[rly rlyweb welcome twitter_moniter editor_guide publishing_from_rss_guide information
markdown_basics scholarships wall_of_patrons membership_form badges]
pages_actions.each do |action|
get action, action: action, controller: "pages"
@ -301,4 +301,4 @@ Rails.application.routes.draw do
root "stories#index"
end
# rubocop:enable Metrics/BlockLength
# rubocop:enable Metrics/BlockLength