Publishing to <%= community_name %> from RSS

<% if @user.feed_url.present? %> <%= form_for(@user) do |f| %> <%= f.hidden_field :feed_url, value: @user.feed_url %> <%= f.hidden_field :tab, value: @tab %>

Last Fetched:

<% end %> <% end %>

Posts will land in your dashboard as drafts, and then you can publish from there (or give <%= community_name %> admins permission to do so).

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.

To find out more about how drafts are created from your feed, read this guide.

Your feed will be fetched every time you submit this form and updates will be automatically fetched periodically thereafter. Contact <%= email_link %> if you encounter issues.

FYI: Medium RSS feed URLs are https://medium.com/feed/@your_username

By submitting your RSS Feed URL, you agree that you own and/or have permission to syndicate the associated content.

<%= form_for @user, html: { class: "grid gap-6" } do |f| %>
<%= f.label :feed_url, "RSS Feed URL", class: "crayons-field__label" %> <%= f.url_field :feed_url, placeholder: "https://yoursite.com/feed", class: "crayons-textfield" %>
<%= f.check_box :feed_mark_canonical, class: "crayons-checkbox" %> <%= f.label :feed_mark_canonical, "Mark the RSS source as canonical URL by default

If you check this box, the post will automatically mark the feed source as the canonical URL.

".html_safe, class: "crayons-field__label" %>
<%= f.check_box :feed_referential_link, class: "crayons-checkbox" %> <%= f.label :feed_referential_link, "Replace self-referential links with #{community_name}-specific links

\ If you check this box, the post will automatically change any URLs included in the post to refer to the version of that article on #{community_name} if available. \ This is primarily meant for folks migrating their entire blog onto #{community_name}.

".html_safe, class: "crayons-field__label" %>
<%= f.hidden_field :tab, value: @tab %> <% button_text = @user.feed_url.present? ? "Save Feed Settings" : "Submit Feed Settings" %>
<% end %>