A platform for community discussion. Free, open, simple.
DEV: Move discourse-rss-polling to core (#33570)
Jarek Radoszc9fc940c1ffd
diff --git a/.github/labeler.yml b/.github/labeler.ymlindex 70772bb4694..ec5c08d4873 100644--- a/.github/labeler.yml+++ b/.github/labeler.yml@@ -66,6 +66,10 @@ discourse-graphviz:- changed-files:- any-glob-to-any-file: plugins/discourse-graphviz/**/*+discourse-rss-polling:+ - changed-files:+ - any-glob-to-any-file: plugins/discourse-rss-polling/**/*+footnote:- changed-files:- any-glob-to-any-file: plugins/footnote/**/*diff --git a/.gitignore b/.gitignoreindex a90fe21812f..d05e13b29aa 100644--- a/.gitignore+++ b/.gitignore@@ -59,6 +59,7 @@!/plugins/discourse-zendesk-plugin!/plugins/discourse-patreon!/plugins/discourse-graphviz+!/plugins/discourse-rss-polling/plugins/*/auto_generated/spec/fixtures/plugins/my_plugin/auto_generateddiff --git a/plugins/discourse-rss-polling/README.md b/plugins/discourse-rss-polling/README.mdnew file mode 100644index 00000000000..7c5dbe7ecc5--- /dev/null+++ b/plugins/discourse-rss-polling/README.md@@ -0,0 +1,9 @@+# Discourse RSS Polling [](https://travis-ci.org/discourse/discourse-rss-polling)++Import RSS feeds from different sources into your Discourse.++## Install++Add `git clone https://github.com/discourse/discourse-rss-polling.git` to the plugin section in your `app.yml` file. Please refer to [Install Plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) for installation instructions.++Documentation can be found at [Configure the Discourse RSS Polling Plugin.](https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387)diff --git a/plugins/discourse-rss-polling/app/controllers/discourse_rss_polling/feed_settings_controller.rb b/plugins/discourse-rss-polling/app/controllers/discourse_rss_polling/feed_settings_controller.rbnew file mode 100644index 00000000000..0d746f14843--- /dev/null+++ b/plugins/discourse-rss-polling/app/controllers/discourse_rss_polling/feed_settings_controller.rb@@ -0,0 +1,52 @@+# frozen_string_literal: true++module DiscourseRssPolling+ class FeedSettingsController < Admin::AdminController+ requires_plugin "discourse-rss-polling"++ def show+ render json: FeedSettingFinder.all+ end++ def update+ feed = params[:feed_setting]++ if feed+ rss_feed = RssFeed.find_by_id(feed["id"]) || RssFeed.new++ rss_feed.assign_attributes(+ url: feed["feed_url"],+ author: feed["author_username"],+ category_id: feed["discourse_category_id"],+ tags: feed["discourse_tags"]&.join(","),+ category_filter: feed["feed_category_filter"],+ )+ if rss_feed.save+ render json: { success: true }+ else+ render json: { success: false, errors: rss_feed.errors.full_messages }, status: 422+ end+ else+ render json: { success: false, error: "Invalid feed data" }, status: 400+ end+ end++ def destroy+ feed = params[:feed_setting]+ rss_feed = RssFeed.find_by_id(feed["id"])++ if rss_feed+ rss_feed.destroy!+ render json: { success: true }+ else+ render json: { success: false, error: "Feed not found" }, status: 404+ end+ end++ private++ def feed_setting_params+ params.require(:feed_settings)+ end+ end+enddiff --git a/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/fix_topic_embed_authors.rb b/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/fix_topic_embed_authors.rbnew file mode 100644index 00000000000..16fc7f04065--- /dev/null+++ b/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/fix_topic_embed_authors.rb@@ -0,0 +1,27 @@+# frozen_string_literal: true++module Jobs+ module DiscourseRssPolling+ class FixTopicEmbedAuthors < ::Jobs::Base+ sidekiq_options queue: "low"++ def mismatched_topic_embeds+ TopicEmbed.joins(post: :topic).where("posts.user_id != topics.user_id")+ end++ def execute(args)+ mismatched_topic_embeds.find_each do |topic_embed|+ post = topic_embed.post++ PostOwnerChanger.new(+ post_ids: [post.id],+ topic_id: post.topic_id,+ new_owner: post.user,+ acting_user: Discourse.system_user,+ skip_revision: true,+ ).change_owner!+ end+ end+ end+ end+enddiff --git a/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/poll_all_feeds.rb b/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/poll_all_feeds.rbnew file mode 100644index 00000000000..646bd59f74b--- /dev/null+++ b/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/poll_all_feeds.rb@@ -0,0 +1,32 @@+# frozen_string_literal: true++module Jobs+ module DiscourseRssPolling+ class PollAllFeeds < ::Jobs::Scheduled+ every 5.minutes++ def execute(args)+ return unless SiteSetting.rss_polling_enabled++ poll_all_feeds if not_polled_recently?+ end++ private++ def poll_all_feeds+ ::DiscourseRssPolling::FeedSettingFinder.all.each(&:poll)+ end++ REDIS_KEY = "rss-polling-feeds-polled"++ def not_polled_recently?+ Discourse.redis.set(+ REDIS_KEY,+ 1,+ ex: SiteSetting.rss_polling_frequency.minutes - 10.seconds,+ nx: true,+ )+ end+ end+ end+enddiff --git a/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/poll_feed.rb b/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/poll_feed.rbnew file mode 100644index 00000000000..b7fba3507d6--- /dev/null+++ b/plugins/discourse-rss-polling/app/jobs/jobs/discourse_rss_polling/poll_feed.rb@@ -0,0 +1,148 @@+# frozen_string_literal: true++require "rss"++module Jobs+ module DiscourseRssPolling+ class PollFeed < ::Jobs::Base+ def execute(args)+ return unless SiteSetting.rss_polling_enabled++ return unless @author = User.find_by_username(args[:author_username])++ @discourse_category_id = args[:discourse_category_id]+ return if @discourse_category_id.present? && !Category.exists?(@discourse_category_id)++ @feed_url = args[:feed_url]+ @discourse_tags = args[:discourse_tags]+ @feed_category_filter = args[:feed_category_filter]++ poll_feed if not_polled_recently?+ end++ private++ attr_reader :feed_url, :author, :discourse_category_id, :discourse_tags, :feed_category_filter++ def feed_key+ "rss-polling-feed-polled:#{Digest::SHA1.hexdigest(feed_url)}"+ end++ def not_polled_recently?+ Discourse.redis.set(+ feed_key,+ 1,+ ex: SiteSetting.rss_polling_frequency.minutes - 10.seconds,+ nx: true,+ )+ end++ def poll_feed+ topics_polled_from_feed.each do |feed_item|+ next if !feed_item.content.present?+ next if !feed_item.title.present?++ if (+ feed_category_filter.present? &&+ feed_item.categories.none? { |c| c.include?(feed_category_filter) }+ )+ next+ end++ cook_method = feed_item.is_youtube? ? Post.cook_methods[:regular] : nil++ updated_tags = discourse_tags+ if !SiteSetting.rss_polling_update_tags+ url = TopicEmbed.normalize_url(feed_item.url)+ embed = TopicEmbed.topic_embed_by_url(url)+ topic_exists = embed.present?+ updated_tags = nil if topic_exists+ end++ post =+ TopicEmbed.import(+ author,+ feed_item.url,+ feed_item.title,+ CGI.unescapeHTML(feed_item.content),+ category_id: discourse_category_id,+ tags: updated_tags,+ cook_method: cook_method,+ )+ if post && (post.created_at == post.updated_at) # new post+ if SiteSetting.rss_polling_use_pubdate+ begin+ post_time = feed_item.pubdate+ post.created_at = post_time+ post.save!+ post.topic.created_at = post_time+ post.topic.bumped_at = post_time+ post.topic.last_posted_at = post_time+ post.topic.save!+ rescue StandardError+ Rails.logger.error("Invalid pubDate for topic #{post.topic.id} #{post_time}")+ end+ end++ set_image_as_thumbnail(post, feed_item.image_link) if feed_item.image_link+ end+ end+ end++ def set_image_as_thumbnail(post, image_link)+ begin+ final_destination = FinalDestination.new(image_link)+ image_final_url = final_destination.resolve+ image_data = Excon.new(image_final_url.to_s).request(method: :get, expects: 200).body+ tmp = Tempfile.new("downloaded_image")+ tmp.binmode+ tmp.write(image_data)+ tmp.rewind+ source_filename = File.basename(URI.parse(image_final_url).path)+ upload = UploadCreator.new(tmp, source_filename).create_for(post.user.id)+ UploadReference.ensure_exist!(upload_ids: [upload.id], target: post)+ post.raw = "<img src=\"#{upload.url}\"><br/><br/>#{post.raw}"+ post.save!+ post.rebake!+ rescue => e+ Rails.logger.error(+ "RSS Polling: Unable to download and save #{image_link} for post ##{post.id} #{e.message}",+ )+ ensure+ begin+ tmp.close+ rescue StandardError+ nil+ end+ begin+ tmp.unlink+ rescue StandardError+ nil+ end+ end+ end++ def topics_polled_from_feed+ raw_feed = fetch_raw_feed+ return [] if raw_feed.blank?++ parsed_feed = RSS::Parser.parse(raw_feed, false)+ return [] if parsed_feed.blank?++ parsed_feed.items.map { |item| ::DiscourseRssPolling::FeedItem.new(item) }+ rescue RSS::NotWellFormedError, RSS::InvalidRSSError+ []+ end++ def fetch_raw_feed+ final_destination = FinalDestination.new(@feed_url)+ feed_final_url = final_destination.resolve+ return nil unless final_destination.status == :resolved++ Excon.new(feed_final_url.to_s).request(method: :get, expects: 200).body+ rescue Excon::Error::HTTPStatus+ nil+ end+ end+ end+enddiff --git a/plugins/discourse-rss-polling/app/models/discourse_rss_polling/feed_item.rb b/plugins/discourse-rss-polling/app/models/discourse_rss_polling/feed_item.rbnew file mode 100644index 00000000000..9ac96f01ec7--- /dev/null+++ b/plugins/discourse-rss-polling/app/models/discourse_rss_polling/feed_item.rb@@ -0,0 +1,59 @@+# frozen_string_literal: true++require_dependency "feed_item_accessor"++module DiscourseRssPolling+ class FeedItem+ def initialize(rss_item, accessor = ::FeedItemAccessor)+ @accessor = accessor.new(rss_item)+ end++ def url+ url?(@accessor.link) ? @accessor.link : @accessor.element_content(:id)+ end++ def content+ content = nil++ CONTENT_ELEMENT_TAG_NAMES.each do |tag_name|+ break if content = @accessor.element_content(tag_name)+ end++ return url if is_youtube?++ content&.force_encoding("UTF-8")&.scrub+ end++ def title+ unclean_title = @accessor.element_content(:title)&.force_encoding("UTF-8")&.scrub+ unclean_title =+ TextCleaner.clean_title(TextSentinel.title_sentinel(unclean_title).text).presence+ CGI.unescapeHTML(unclean_title) if unclean_title+ end++ def categories+ @accessor.element_content(:categories).map { |c| c.content }+ end++ def image_link+ @accessor.element_content(:itunes_image)&.href+ end++ def is_youtube?+ url&.starts_with?("https://www.youtube.com/watch")+ end++ def pubdate+ @accessor.element_content(:pubDate) || @accessor.element_content(:published)+ end++ private++ # The tag name's relative order implies its priority.+ CONTENT_ELEMENT_TAG_NAMES = %i[content_encoded content description summary]++ def url?(link)+ link.present? && link =~ %r{^https?\://}+ end+ end+enddiff --git a/plugins/discourse-rss-polling/app/models/discourse_rss_polling/feed_setting.rb b/plugins/discourse-rss-polling/app/models/discourse_rss_polling/feed_setting.rbnew file mode 100644index 00000000000..cc462a54eb1--- /dev/null+++ b/plugins/discourse-rss-polling/app/models/discourse_rss_polling/feed_setting.rb@@ -0,0 +1,53 @@+# frozen_string_literal: true++module DiscourseRssPolling+ class FeedSetting+ include ActiveModel::Serialization++ attr_accessor(+ :id,+ :feed_url,+ :author_username,+ :discourse_category_id,+ :discourse_tags,+ :feed_category_filter,+ )++ def initialize(+ id: nil,+ feed_url:,+ author_username:,+ discourse_category_id:,+ discourse_tags:,+ feed_category_filter:+ )+ @id = id+ @feed_url = feed_url+ @author_username = author_username+ @discourse_category_id = discourse_category_id+ @discourse_tags = discourse_tags+ @feed_category_filter = feed_category_filter+ end++ def poll(inline: false)+ if inline+ Jobs::DiscourseRssPolling::PollFeed.new.execute(+ feed_url: feed_url,+ author_username: author_username,+ discourse_category_id: discourse_category_id,+ discourse_tags: discourse_tags,+ feed_category_filter: feed_category_filter,+ )+ else+ Jobs.enqueue(+ "DiscourseRssPolling::PollFeed",+ feed_url: feed_url,+ author_username: author_username,+ discourse_category_id: discourse_category_id,+ discourse_tags: discourse_tags,+ feed_category_filter: feed_category_filter,+ )+ end+ end+ end+enddiff --git a/plugins/discourse-rss-polling/app/models/discourse_rss_polling/rss_feed.rb b/plugins/discourse-rss-polling/app/models/discourse_rss_polling/rss_feed.rbnew file mode 100644index 00000000000..ff5b6e96f92--- /dev/null+++ b/plugins/discourse-rss-polling/app/models/discourse_rss_polling/rss_feed.rb@@ -0,0 +1,21 @@+# frozen_string_literal: true++module DiscourseRssPolling+ class RssFeed < ActiveRecord::Base+ validates :url, presence: true+ end+end++# == Schema Information+#+# Table name: discourse_rss_polling_rss_feeds+#+# id :bigint not null, primary key+# url :string not null+# category_filter :string+# author :string+# category_id :integer+# tags :string+# created_at :datetime not null+# updated_at :datetime not null+#diff --git a/plugins/discourse-rss-polling/app/services/discourse_rss_polling/feed_setting_finder.rb b/plugins/discourse-rss-polling/app/services/discourse_rss_polling/feed_setting_finder.rbnew file mode 100644index 00000000000..682a3c7b3d7--- /dev/null+++ b/plugins/discourse-rss-polling/app/services/discourse_rss_polling/feed_setting_finder.rb@@ -0,0 +1,49 @@+# frozen_string_literal: true++module DiscourseRssPolling+ class FeedSettingFinder+ def self.by_embed_url(embed_url)+ host = URI.parse(embed_url).host.sub(/^www\./, "")+ feed = RssFeed.where("url LIKE ?", "%#{host}%").first+ return nil if !feed+ FeedSetting.new(+ id: feed.id,+ feed_url: feed.url,+ author_username: feed.author,+ discourse_category_id: feed.category_id,+ discourse_tags: feed.tags.nil? ? nil : feed.tags.split(","),+ feed_category_filter: feed.category_filter,+ )+ end++ def self.all+ new.all+ end++ def initialize+ @condition = Proc.new { |*| true }+ end++ def where(&block)+ @condition = block+ self+ end++ def all+ RssFeed.all.map do |feed|+ FeedSetting.new(+ id: feed.id,+ feed_url: feed.url,+ author_username: feed.author,+ discourse_category_id: feed.category_id,+ discourse_tags: feed.tags.nil? ? nil : feed.tags.split(","),+ feed_category_filter: feed.category_filter,+ )+ end+ end++ def take+ all&.first+ end+ end+enddiff --git a/plugins/discourse-rss-polling/assets/javascripts/admin/models/rss-polling-feed-settings.js b/plugins/discourse-rss-polling/assets/javascripts/admin/models/rss-polling-feed-settings.jsnew file mode 100644index 00000000000..e9bae5d8e17--- /dev/null+++ b/plugins/discourse-rss-polling/assets/javascripts/admin/models/rss-polling-feed-settings.js@@ -0,0 +1,25 @@+import { ajax } from "discourse/lib/ajax";++export default {+ show() {+ return ajax("/admin/plugins/rss_polling/feed_settings.json");+ },++ updateFeed(feedSetting) {+ return ajax("/admin/plugins/rss_polling/feed_settings", {+ type: "PUT",+ contentType: "application/json",+ processData: false,+ data: JSON.stringify({ feed_setting: feedSetting }),+ });+ },++ deleteFeed(feedSetting) {+ return ajax("/admin/plugins/rss_polling/feed_settings", {+ type: "DELETE",+ contentType: "application/json",+ processData: false,+ data: JSON.stringify({ feed_setting: feedSetting }),+ });+ },+};diff --git a/plugins/discourse-rss-polling/assets/javascripts/discourse/controllers/admin-plugins-rss-polling.js b/plugins/discourse-rss-polling/assets/javascripts/discourse/controllers/admin-plugins-rss-polling.jsnew file mode 100644index 00000000000..c1c35585d6f--- /dev/null+++ b/plugins/discourse-rss-polling/assets/javascripts/discourse/controllers/admin-plugins-rss-polling.js@@ -0,0 +1,107 @@+import Controller from "@ember/controller";+import { action, set } from "@ember/object";+import { alias } from "@ember/object/computed";+import { service } from "@ember/service";+import { isBlank } from "@ember/utils";+import { observes } from "@ember-decorators/object";+import { popupAjaxError } from "discourse/lib/ajax-error";+import discourseComputed from "discourse/lib/decorators";+import { i18n } from "discourse-i18n";+import RssPollingFeedSettings from "../../admin/models/rss-polling-feed-settings";++export default class AdminPluginsRssPollingController extends Controller {+ @service dialog;++ @alias("model") feedSettings;++ saving = false;+ valid = false;+ disabled = true;++ @discourseComputed("valid", "saving")+ unsavable(valid, saving) {+ return !valid || saving;+ }++ // TODO: extract feed setting into its own component && more validation+ @observes("feedSettings.@each.{feed_url,author_username}")+ validate() {+ let overallValidity = true;++ this.get("feedSettings").forEach((feedSetting) => {+ const localValidity =+ !isBlank(feedSetting.feed_url) && !isBlank(feedSetting.author_username);+ set(feedSetting, "valid", localValidity);+ overallValidity = overallValidity && localValidity;+ });++ this.set("valid", overallValidity);+ }++ @action+ create() {+ let newSetting = {+ feed_url: null,+ author_username: null,+ discourse_category_id: null,+ discourse_tags: null,+ feed_category_filter: null,+ disabled: false,+ editing: true,+ };++ this.get("feedSettings").addObject(newSetting);+ }++ @action+ destroyFeedSetting(setting) {+ this.dialog.deleteConfirm({+ message: i18n("admin.rss_polling.destroy_feed.confirm"),+ didConfirm: async () => {+ try {+ await RssPollingFeedSettings.deleteFeed(setting);+ this.get("feedSettings").removeObject(setting);+ } catch (error) {+ popupAjaxError(error);+ } finally {+ this.set("saving", false);+ }+ },+ });+ }++ @action+ editFeedSetting(setting) {+ set(setting, "disabled", false);+ set(setting, "editing", true);+ }++ @action+ cancelEdit(setting) {+ if (!setting.id) {+ this.get("feedSettings").removeObject(setting);+ }+ set(setting, "disabled", true);+ set(setting, "editing", false);+ }++ @action+ async updateFeedSetting(setting) {+ this.set("saving", true);++ try {+ await RssPollingFeedSettings.updateFeed(setting);+ } catch (error) {+ popupAjaxError(error);+ } finally {+ this.set("saving", false);+ set(setting, "disabled", true);+ set(setting, "editing", false);+ }+ }++ @action+ updateAuthorUsername(setting, selected) {+ set(setting, "author_username", selected.firstObject);+ }+}diff --git a/plugins/discourse-rss-polling/assets/javascripts/discourse/routes/admin-plugins-rss-polling.js b/plugins/discourse-rss-polling/assets/javascripts/discourse/routes/admin-plugins-rss-polling.jsnew file mode 100644index 00000000000..f6a31e163de--- /dev/null+++ b/plugins/discourse-rss-polling/assets/javascripts/discourse/routes/admin-plugins-rss-polling.js@@ -0,0 +1,19 @@+import DiscourseRoute from "discourse/routes/discourse";+import RssPollingFeedSettings from "../../admin/models/rss-polling-feed-settings";++export default class AdminPluginsRssPolling extends DiscourseRoute {+ model() {+ return RssPollingFeedSettings.show().then((result) => result.feed_settings);+ }++ setupController(controller, model) {+ model.forEach((setting) => {+ setting.disabled = true;+ setting.editing = false;+ });++ controller.setProperties({+ model,+ });+ }+}diff --git a/plugins/discourse-rss-polling/assets/javascripts/discourse/rss-polling-route-map.js b/plugins/discourse-rss-polling/assets/javascripts/discourse/rss-polling-route-map.jsnew file mode 100644index 00000000000..99e1eae9517--- /dev/null+++ b/plugins/discourse-rss-polling/assets/javascripts/discourse/rss-polling-route-map.js@@ -0,0 +1,7 @@+export default {+ resource: "admin.adminPlugins",+ path: "/plugins",+ map() {+ this.route("rss_polling");+ },+};diff --git a/plugins/discourse-rss-polling/assets/javascripts/discourse/templates/admin/plugins-rss-polling.gjs b/plugins/discourse-rss-polling/assets/javascripts/discourse/templates/admin/plugins-rss-polling.gjsnew file mode 100644index 00000000000..1ffab793b6b--- /dev/null+++ b/plugins/discourse-rss-polling/assets/javascripts/discourse/templates/admin/plugins-rss-polling.gjs@@ -0,0 +1,133 @@+import { Input } from "@ember/component";+import { fn, hash } from "@ember/helper";+import RouteTemplate from "ember-route-template";+import DButton from "discourse/components/d-button";+import { i18n } from "discourse-i18n";+import CategoryChooser from "select-kit/components/category-chooser";+import EmailGroupUserChooser from "select-kit/components/email-group-user-chooser";+import TagChooser from "select-kit/components/tag-chooser";++export default RouteTemplate(+ <template>+ <div class="rss-polling-feed-settings">+ <table>+ <thead>+ <tr>+ <th colspan="2">{{i18n "admin.rss_polling.feed"}}</th>+ <th colspan="3">{{i18n "admin.rss_polling.discourse"}}</th>+ <th rowspan="2" colspan="2">+ <DButton+ @action={{@controller.create}}+ @icon="plus"+ @disabled={{@controller.saving}}+ class="btn-primary wide-button add-rss-polling-feed"+ />+ </th>+ </tr>+ <tr>+ <th>{{i18n "admin.rss_polling.feed_url"}}</th>+ <th>{{i18n "admin.rss_polling.feed_category_filter"}}</th>+ <th>{{i18n "admin.rss_polling.author"}}</th>+ <th>{{i18n "admin.rss_polling.discourse_category"}}</th>+ <th>{{i18n "admin.rss_polling.discourse_tags"}}</th>+ </tr>+ </thead>++ <tbody>+ {{#each @controller.model as |setting|}}+ <tr>+ <td>+ <Input+ @value={{setting.feed_url}}+ placeholder="https://blog.example.com/feed"+ disabled={{setting.disabled}}+ class="rss-polling-feed-url"+ />+ </td>+ <td>+ <Input+ @value={{setting.feed_category_filter}}+ placeholder="updates"+ disabled={{setting.disabled}}+ class="rss-polling-feed-updates"+ />+ </td>+ <td>+ <EmailGroupUserChooser+ @value={{setting.author_username}}+ @onChange={{fn @controller.updateAuthorUsername setting}}+ @options={{hash disabled=setting.disabled maximum=1}}+ class="rss-polling-feed-user"+ />+ </td>+ <td>+ <CategoryChooser+ @value={{setting.discourse_category_id}}+ @onChange={{fn (mut setting.discourse_category_id)}}+ @options={{hash disabled=setting.disabled}}+ class="small rss-polling-feed-category"+ />+ </td>+ <td>+ <TagChooser+ @tags={{setting.discourse_tags}}+ @allowCreate={{false}}+ @everyTag={{true}}+ @unlimitedTagCount={{true}}+ @onChange={{fn (mut setting.discourse_tags)}}+ @options={{hash disabled=setting.disabled}}+ class="small rss-polling-feed-tag"+ />+ </td>+ <td>+ {{#if setting.editing}}+ <DButton+ @icon="floppy-disk"+ @action={{fn @controller.updateFeedSetting setting}}+ @disabled={{@controller.unsavable}}+ class="btn-primary save-rss-polling-feed"+ />+ <DButton+ @icon="xmark"+ @action={{fn @controller.cancelEdit setting}}+ @disabled={{@controller.saving}}+ />+ {{else}}+ <DButton+ @icon="pencil"+ @action={{fn @controller.editFeedSetting setting}}+ @disabled={{@controller.saving}}+ />+ <DButton+ @icon="trash-can"+ @action={{fn @controller.destroyFeedSetting setting}}+ @disabled={{@controller.saving}}+ />+ {{/if}}+ </td>+ </tr>+ {{/each}}+ </tbody>++ <tfoot>+ <tr>+ <td></td>+ <td></td>+ <td></td>+ <td></td>+ <td></td>+ <td></td>+ </tr>+ </tfoot>+ </table>++ <p>+ <a+ href="https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387"+ >+ {{i18n "admin.rss_polling.documentation"}}+ </a>+ </p>+ </div>+ </template>+);diff --git a/plugins/discourse-rss-polling/assets/stylesheets/rss-polling.scss b/plugins/discourse-rss-polling/assets/stylesheets/rss-polling.scssnew file mode 100644index 00000000000..94c150ba9cf--- /dev/null+++ b/plugins/discourse-rss-polling/assets/stylesheets/rss-polling.scss@@ -0,0 +1,35 @@+.rss-polling-feed-settings {+ table {+ tr {+ td {+ position: relative;++ &:first-child input {+ max-width: 200px;+ }++ &:nth-child(2) input {+ max-width: 100px;+ }++ .user-chooser,+ .category-chooser {+ max-width: 150px;+ }++ input {+ margin-bottom: 0;+ }++ .select-kit.multi-select {+ width: 120px;+ }+ }+ }++ .wide-button {+ width: 100%;+ text-align: center;+ }+ }+}diff --git a/plugins/discourse-rss-polling/config/locales/client.ar.yml b/plugins/discourse-rss-polling/config/locales/client.ar.ymlnew file mode 100644index 00000000000..f2a8a4998e3--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ar.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ar:diff --git a/plugins/discourse-rss-polling/config/locales/client.be.yml b/plugins/discourse-rss-polling/config/locales/client.be.ymlnew file mode 100644index 00000000000..2ea77a0d350--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.be.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++be:diff --git a/plugins/discourse-rss-polling/config/locales/client.bg.yml b/plugins/discourse-rss-polling/config/locales/client.bg.ymlnew file mode 100644index 00000000000..52333529d3c--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.bg.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++bg:diff --git a/plugins/discourse-rss-polling/config/locales/client.bs_BA.yml b/plugins/discourse-rss-polling/config/locales/client.bs_BA.ymlnew file mode 100644index 00000000000..828a7e65af8--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.bs_BA.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++bs_BA:diff --git a/plugins/discourse-rss-polling/config/locales/client.ca.yml b/plugins/discourse-rss-polling/config/locales/client.ca.ymlnew file mode 100644index 00000000000..ec737bc1a5b--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ca.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ca:diff --git a/plugins/discourse-rss-polling/config/locales/client.cs.yml b/plugins/discourse-rss-polling/config/locales/client.cs.ymlnew file mode 100644index 00000000000..041b2f0bd05--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.cs.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++cs:diff --git a/plugins/discourse-rss-polling/config/locales/client.da.yml b/plugins/discourse-rss-polling/config/locales/client.da.ymlnew file mode 100644index 00000000000..f39c727c594--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.da.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++da:diff --git a/plugins/discourse-rss-polling/config/locales/client.de.yml b/plugins/discourse-rss-polling/config/locales/client.de.ymlnew file mode 100644index 00000000000..0a2e07fe3c8--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.de.yml@@ -0,0 +1,27 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++de:+ admin_js:+ admin:+ site_settings:+ categories:+ discourse_rss_polling: "Discourse-RSS-Abfrage"+ js:+ rss_polling:+ title: RSS-Abfrage+ admin:+ rss_polling:+ feed: Feed-Einstellungen+ discourse: Discourse Einstellungen+ author: Autor+ feed_url: URL+ discourse_category: Kategorie+ discourse_tags: Schlagwörter+ feed_category_filter: Kategoriefilter+ documentation: Dokumentation zur Konfiguration von RSS-Abfrage+ destroy_feed:+ confirm: "Bist du sicher, dass du diesen Feed löschen möchtest?"diff --git a/plugins/discourse-rss-polling/config/locales/client.el.yml b/plugins/discourse-rss-polling/config/locales/client.el.ymlnew file mode 100644index 00000000000..d872d0ecc40--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.el.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++el:diff --git a/plugins/discourse-rss-polling/config/locales/client.en.yml b/plugins/discourse-rss-polling/config/locales/client.en.ymlnew file mode 100644index 00000000000..f3eec28a502--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.en.yml@@ -0,0 +1,22 @@+en:+ admin_js:+ admin:+ site_settings:+ categories:+ discourse_rss_polling: "Discourse RSS Polling"+ js:+ rss_polling:+ title: RSS Polling++ admin:+ rss_polling:+ feed: Feed Settings+ discourse: Discourse Settings+ author: Author+ feed_url: URL+ discourse_category: Category+ discourse_tags: Tags+ feed_category_filter: Category Filter+ documentation: RSS Polling configuration documentation+ destroy_feed:+ confirm: "Are you sure you want to delete this feed?"diff --git a/plugins/discourse-rss-polling/config/locales/client.en_GB.yml b/plugins/discourse-rss-polling/config/locales/client.en_GB.ymlnew file mode 100644index 00000000000..2d4fa180ec7--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.en_GB.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++en_GB:diff --git a/plugins/discourse-rss-polling/config/locales/client.es.yml b/plugins/discourse-rss-polling/config/locales/client.es.ymlnew file mode 100644index 00000000000..904a13aadbf--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.es.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++es:diff --git a/plugins/discourse-rss-polling/config/locales/client.et.yml b/plugins/discourse-rss-polling/config/locales/client.et.ymlnew file mode 100644index 00000000000..0ea0b6d554b--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.et.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++et:diff --git a/plugins/discourse-rss-polling/config/locales/client.fa_IR.yml b/plugins/discourse-rss-polling/config/locales/client.fa_IR.ymlnew file mode 100644index 00000000000..56512089fb5--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.fa_IR.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++fa_IR:diff --git a/plugins/discourse-rss-polling/config/locales/client.fi.yml b/plugins/discourse-rss-polling/config/locales/client.fi.ymlnew file mode 100644index 00000000000..27ca34bd105--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.fi.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++fi:diff --git a/plugins/discourse-rss-polling/config/locales/client.fr.yml b/plugins/discourse-rss-polling/config/locales/client.fr.ymlnew file mode 100644index 00000000000..a7902821505--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.fr.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++fr:diff --git a/plugins/discourse-rss-polling/config/locales/client.gl.yml b/plugins/discourse-rss-polling/config/locales/client.gl.ymlnew file mode 100644index 00000000000..fb911ce1635--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.gl.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++gl:diff --git a/plugins/discourse-rss-polling/config/locales/client.he.yml b/plugins/discourse-rss-polling/config/locales/client.he.ymlnew file mode 100644index 00000000000..2c4f86a28e5--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.he.yml@@ -0,0 +1,27 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++he:+ admin_js:+ admin:+ site_settings:+ categories:+ discourse_rss_polling: "משיכת RSS ב־Discourse"+ js:+ rss_polling:+ title: משיכת RSS+ admin:+ rss_polling:+ feed: הגדרות ערוץ+ discourse: הגדרות Discourse+ author: מחבר/ת+ feed_url: כתובת+ discourse_category: קטגוריה+ discourse_tags: תגיות+ feed_category_filter: מסנן קטגוריה+ documentation: תיעוד הגדרות משיכת RSS+ destroy_feed:+ confirm: "למחוק את הערוץ הזה?"diff --git a/plugins/discourse-rss-polling/config/locales/client.hr.yml b/plugins/discourse-rss-polling/config/locales/client.hr.ymlnew file mode 100644index 00000000000..93343ce6e19--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.hr.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++hr:diff --git a/plugins/discourse-rss-polling/config/locales/client.hu.yml b/plugins/discourse-rss-polling/config/locales/client.hu.ymlnew file mode 100644index 00000000000..76b6e9d8bcb--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.hu.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++hu:diff --git a/plugins/discourse-rss-polling/config/locales/client.hy.yml b/plugins/discourse-rss-polling/config/locales/client.hy.ymlnew file mode 100644index 00000000000..cb18f64d356--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.hy.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++hy:diff --git a/plugins/discourse-rss-polling/config/locales/client.id.yml b/plugins/discourse-rss-polling/config/locales/client.id.ymlnew file mode 100644index 00000000000..596e36b2e13--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.id.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++id:diff --git a/plugins/discourse-rss-polling/config/locales/client.it.yml b/plugins/discourse-rss-polling/config/locales/client.it.ymlnew file mode 100644index 00000000000..edb05454ecb--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.it.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++it:diff --git a/plugins/discourse-rss-polling/config/locales/client.ja.yml b/plugins/discourse-rss-polling/config/locales/client.ja.ymlnew file mode 100644index 00000000000..38bed0508c2--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ja.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ja:diff --git a/plugins/discourse-rss-polling/config/locales/client.ko.yml b/plugins/discourse-rss-polling/config/locales/client.ko.ymlnew file mode 100644index 00000000000..18dd77fd3ec--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ko.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ko:diff --git a/plugins/discourse-rss-polling/config/locales/client.lt.yml b/plugins/discourse-rss-polling/config/locales/client.lt.ymlnew file mode 100644index 00000000000..16bb19758dc--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.lt.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++lt:diff --git a/plugins/discourse-rss-polling/config/locales/client.lv.yml b/plugins/discourse-rss-polling/config/locales/client.lv.ymlnew file mode 100644index 00000000000..59e0ef6f4ed--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.lv.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++lv:diff --git a/plugins/discourse-rss-polling/config/locales/client.nb_NO.yml b/plugins/discourse-rss-polling/config/locales/client.nb_NO.ymlnew file mode 100644index 00000000000..2e2224d1472--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.nb_NO.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++nb_NO:diff --git a/plugins/discourse-rss-polling/config/locales/client.nl.yml b/plugins/discourse-rss-polling/config/locales/client.nl.ymlnew file mode 100644index 00000000000..2096bfe4865--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.nl.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++nl:diff --git a/plugins/discourse-rss-polling/config/locales/client.pl_PL.yml b/plugins/discourse-rss-polling/config/locales/client.pl_PL.ymlnew file mode 100644index 00000000000..582598a5e69--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.pl_PL.yml@@ -0,0 +1,27 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++pl_PL:+ admin_js:+ admin:+ site_settings:+ categories:+ discourse_rss_polling: "Pobieranie RSS w Discourse"+ js:+ rss_polling:+ title: Pobieranie RSS+ admin:+ rss_polling:+ feed: Ustawienia kanału+ discourse: Ustawienia Discourse+ author: Autor+ feed_url: URL+ discourse_category: Kategoria+ discourse_tags: Tagi+ feed_category_filter: Filtr kategorii+ documentation: Dokumentacja konfiguracji pobierania RSS+ destroy_feed:+ confirm: "Czy na pewno chcesz usunąć ten kanał?"diff --git a/plugins/discourse-rss-polling/config/locales/client.pt.yml b/plugins/discourse-rss-polling/config/locales/client.pt.ymlnew file mode 100644index 00000000000..298ba523c1d--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.pt.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++pt:diff --git a/plugins/discourse-rss-polling/config/locales/client.pt_BR.yml b/plugins/discourse-rss-polling/config/locales/client.pt_BR.ymlnew file mode 100644index 00000000000..5e7b84ce1ba--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.pt_BR.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++pt_BR:diff --git a/plugins/discourse-rss-polling/config/locales/client.ro.yml b/plugins/discourse-rss-polling/config/locales/client.ro.ymlnew file mode 100644index 00000000000..f4fe779f330--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ro.yml@@ -0,0 +1,27 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ro:+ admin_js:+ admin:+ site_settings:+ categories:+ discourse_rss_polling: "Interogare RSS Discourse"+ js:+ rss_polling:+ title: Interogare RSS+ admin:+ rss_polling:+ feed: Setări flux+ discourse: Setări Discourse+ author: Autor+ feed_url: URL+ discourse_category: Categorie+ discourse_tags: Etichete+ feed_category_filter: Filtru de categorie+ documentation: Documentație de configurare a interogării RSS+ destroy_feed:+ confirm: "Sigur vrei să ștergi acest flux?"diff --git a/plugins/discourse-rss-polling/config/locales/client.ru.yml b/plugins/discourse-rss-polling/config/locales/client.ru.ymlnew file mode 100644index 00000000000..842c8dc003b--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ru.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ru:diff --git a/plugins/discourse-rss-polling/config/locales/client.sk.yml b/plugins/discourse-rss-polling/config/locales/client.sk.ymlnew file mode 100644index 00000000000..6f815624081--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.sk.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sk:diff --git a/plugins/discourse-rss-polling/config/locales/client.sl.yml b/plugins/discourse-rss-polling/config/locales/client.sl.ymlnew file mode 100644index 00000000000..23489a48b1f--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.sl.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sl:diff --git a/plugins/discourse-rss-polling/config/locales/client.sq.yml b/plugins/discourse-rss-polling/config/locales/client.sq.ymlnew file mode 100644index 00000000000..7f051b7a7cf--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.sq.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sq:diff --git a/plugins/discourse-rss-polling/config/locales/client.sr.yml b/plugins/discourse-rss-polling/config/locales/client.sr.ymlnew file mode 100644index 00000000000..88d63d6ae1a--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.sr.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sr:diff --git a/plugins/discourse-rss-polling/config/locales/client.sv.yml b/plugins/discourse-rss-polling/config/locales/client.sv.ymlnew file mode 100644index 00000000000..b165aa293c0--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.sv.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sv:diff --git a/plugins/discourse-rss-polling/config/locales/client.sw.yml b/plugins/discourse-rss-polling/config/locales/client.sw.ymlnew file mode 100644index 00000000000..0d7cdd075bf--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.sw.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sw:diff --git a/plugins/discourse-rss-polling/config/locales/client.te.yml b/plugins/discourse-rss-polling/config/locales/client.te.ymlnew file mode 100644index 00000000000..03967bdbb07--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.te.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++te:diff --git a/plugins/discourse-rss-polling/config/locales/client.th.yml b/plugins/discourse-rss-polling/config/locales/client.th.ymlnew file mode 100644index 00000000000..7de85ff91c4--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.th.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++th:diff --git a/plugins/discourse-rss-polling/config/locales/client.tr_TR.yml b/plugins/discourse-rss-polling/config/locales/client.tr_TR.ymlnew file mode 100644index 00000000000..3e1142a83a0--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.tr_TR.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++tr_TR:diff --git a/plugins/discourse-rss-polling/config/locales/client.ug.yml b/plugins/discourse-rss-polling/config/locales/client.ug.ymlnew file mode 100644index 00000000000..a6bf0185ae2--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ug.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ug:diff --git a/plugins/discourse-rss-polling/config/locales/client.uk.yml b/plugins/discourse-rss-polling/config/locales/client.uk.ymlnew file mode 100644index 00000000000..f1390545d1d--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.uk.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++uk:diff --git a/plugins/discourse-rss-polling/config/locales/client.ur.yml b/plugins/discourse-rss-polling/config/locales/client.ur.ymlnew file mode 100644index 00000000000..b4a9c21ee2f--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.ur.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ur:diff --git a/plugins/discourse-rss-polling/config/locales/client.vi.yml b/plugins/discourse-rss-polling/config/locales/client.vi.ymlnew file mode 100644index 00000000000..f629dcf5329--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.vi.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++vi:diff --git a/plugins/discourse-rss-polling/config/locales/client.zh_CN.yml b/plugins/discourse-rss-polling/config/locales/client.zh_CN.ymlnew file mode 100644index 00000000000..265939b6ce4--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.zh_CN.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++zh_CN:diff --git a/plugins/discourse-rss-polling/config/locales/client.zh_TW.yml b/plugins/discourse-rss-polling/config/locales/client.zh_TW.ymlnew file mode 100644index 00000000000..7e15fab0018--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/client.zh_TW.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++zh_TW:diff --git a/plugins/discourse-rss-polling/config/locales/server.ar.yml b/plugins/discourse-rss-polling/config/locales/server.ar.ymlnew file mode 100644index 00000000000..f2a8a4998e3--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ar.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ar:diff --git a/plugins/discourse-rss-polling/config/locales/server.be.yml b/plugins/discourse-rss-polling/config/locales/server.be.ymlnew file mode 100644index 00000000000..2ea77a0d350--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.be.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++be:diff --git a/plugins/discourse-rss-polling/config/locales/server.bg.yml b/plugins/discourse-rss-polling/config/locales/server.bg.ymlnew file mode 100644index 00000000000..52333529d3c--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.bg.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++bg:diff --git a/plugins/discourse-rss-polling/config/locales/server.bs_BA.yml b/plugins/discourse-rss-polling/config/locales/server.bs_BA.ymlnew file mode 100644index 00000000000..828a7e65af8--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.bs_BA.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++bs_BA:diff --git a/plugins/discourse-rss-polling/config/locales/server.ca.yml b/plugins/discourse-rss-polling/config/locales/server.ca.ymlnew file mode 100644index 00000000000..99b4a507eea--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ca.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ca:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Freqüència del mostratge del canal (en minuts)"diff --git a/plugins/discourse-rss-polling/config/locales/server.cs.yml b/plugins/discourse-rss-polling/config/locales/server.cs.ymlnew file mode 100644index 00000000000..92f41fa6272--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.cs.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++cs:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Frekvece feed pollingu (v minutách)"diff --git a/plugins/discourse-rss-polling/config/locales/server.da.yml b/plugins/discourse-rss-polling/config/locales/server.da.ymlnew file mode 100644index 00000000000..199011757d1--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.da.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++da:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Frekvens af 'feed polling' (i minutter)"diff --git a/plugins/discourse-rss-polling/config/locales/server.de.yml b/plugins/discourse-rss-polling/config/locales/server.de.ymlnew file mode 100644index 00000000000..2a5ebfee60c--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.de.yml@@ -0,0 +1,12 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++de:+ site_settings:+ rss_polling_enabled: "[RSS-Abfrage] Importieren von eingebetteten Beiträgen aus mehreren RSS-Feeds ermöglichen"+ rss_polling_frequency: "[RSS Abfrage] Häufigkeit der Feed-Abfrage (in Minuten)"+ rss_polling_use_pubdate: "[RSS-Abfrage] Setze das Erstellungsdatum des Themas auf das im RSS-Feed gefundene Veröffentlichungsdatum"+ rss_polling_update_tags: "[RSS Abfrage] Aktualisiere Schlagwörter des Themas, wenn es aktualisiert wird. Wenn du diese Option deaktivierst, werden die ursprünglichen Schlagwörter übernommen, aber weitere Änderungen nicht mehr vorgenommen."diff --git a/plugins/discourse-rss-polling/config/locales/server.el.yml b/plugins/discourse-rss-polling/config/locales/server.el.ymlnew file mode 100644index 00000000000..353ff123686--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.el.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++el:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Συχνότητα του feed polling (σε λεπτά)"diff --git a/plugins/discourse-rss-polling/config/locales/server.en.yml b/plugins/discourse-rss-polling/config/locales/server.en.ymlnew file mode 100644index 00000000000..ae33efcd5ad--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.en.yml@@ -0,0 +1,6 @@+en:+ site_settings:+ rss_polling_enabled: "[RSS Polling] Enable importing embed posts from multiple RSS feeds"+ rss_polling_frequency: "[RSS Polling] Feed polling frequency, in minutes"+ rss_polling_use_pubdate: "[RSS Polling] Set topic creation date to the pubDate found in the RSS feed"+ rss_polling_update_tags: "[RSS Polling] Update topic tags when a topic is updated. Disabling this pulls initial tags but disables further tag changes."diff --git a/plugins/discourse-rss-polling/config/locales/server.en_GB.yml b/plugins/discourse-rss-polling/config/locales/server.en_GB.ymlnew file mode 100644index 00000000000..2d4fa180ec7--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.en_GB.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++en_GB:diff --git a/plugins/discourse-rss-polling/config/locales/server.es.yml b/plugins/discourse-rss-polling/config/locales/server.es.ymlnew file mode 100644index 00000000000..6070df0a3d5--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.es.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++es:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Frecuencia del feed de la encuesta (en minutos)"diff --git a/plugins/discourse-rss-polling/config/locales/server.et.yml b/plugins/discourse-rss-polling/config/locales/server.et.ymlnew file mode 100644index 00000000000..0ea0b6d554b--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.et.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++et:diff --git a/plugins/discourse-rss-polling/config/locales/server.fa_IR.yml b/plugins/discourse-rss-polling/config/locales/server.fa_IR.ymlnew file mode 100644index 00000000000..fadb01c4d1d--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.fa_IR.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++fa_IR:+ site_settings:+ rss_polling_frequency: "[RSS Polling] تعداد دفعات رای گیری خوراک (به دقیقه)"diff --git a/plugins/discourse-rss-polling/config/locales/server.fi.yml b/plugins/discourse-rss-polling/config/locales/server.fi.ymlnew file mode 100644index 00000000000..914b593d149--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.fi.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++fi:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Syötteen kyselyn taajuus (minuutteina)"diff --git a/plugins/discourse-rss-polling/config/locales/server.fr.yml b/plugins/discourse-rss-polling/config/locales/server.fr.ymlnew file mode 100644index 00000000000..b15bfbf2360--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.fr.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++fr:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Fréquence de rafraichissement du flux (en minutes)"diff --git a/plugins/discourse-rss-polling/config/locales/server.gl.yml b/plugins/discourse-rss-polling/config/locales/server.gl.ymlnew file mode 100644index 00000000000..fb911ce1635--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.gl.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++gl:diff --git a/plugins/discourse-rss-polling/config/locales/server.he.yml b/plugins/discourse-rss-polling/config/locales/server.he.ymlnew file mode 100644index 00000000000..238954dc137--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.he.yml@@ -0,0 +1,12 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++he:+ site_settings:+ rss_polling_enabled: "[משיכת RSS] הפעלת ייבוא והטמעת פוסטים ממגוון ערוצי RSS"+ rss_polling_frequency: "[משיכת RSS] תדירות משיכת ערוץ, בדקות"+ rss_polling_use_pubdate: "[משיכת RSS] להגדיר תאריך יצירת נושאים ל־pubDate (תאריך פרסום) שנמצא בערוץ ה־RSS"+ rss_polling_update_tags: "[משיכת RSS] לעדכן תגיות נושאים כאשר נושא מתעדכן. השבתת האפשרות הזאת מושכת תגיות ראשוניות אבל משביתה שינויים נוספים בתגיות."diff --git a/plugins/discourse-rss-polling/config/locales/server.hr.yml b/plugins/discourse-rss-polling/config/locales/server.hr.ymlnew file mode 100644index 00000000000..93343ce6e19--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.hr.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++hr:diff --git a/plugins/discourse-rss-polling/config/locales/server.hu.yml b/plugins/discourse-rss-polling/config/locales/server.hu.ymlnew file mode 100644index 00000000000..76b6e9d8bcb--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.hu.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++hu:diff --git a/plugins/discourse-rss-polling/config/locales/server.hy.yml b/plugins/discourse-rss-polling/config/locales/server.hy.ymlnew file mode 100644index 00000000000..9ce9e8d6eb8--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.hy.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++hy:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Լրահոսի հարցման հաճախականությունը (րոպեներով)"diff --git a/plugins/discourse-rss-polling/config/locales/server.id.yml b/plugins/discourse-rss-polling/config/locales/server.id.ymlnew file mode 100644index 00000000000..596e36b2e13--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.id.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++id:diff --git a/plugins/discourse-rss-polling/config/locales/server.it.yml b/plugins/discourse-rss-polling/config/locales/server.it.ymlnew file mode 100644index 00000000000..0134da22aa2--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.it.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++it:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Frequenza del feed polling (in minuti)"diff --git a/plugins/discourse-rss-polling/config/locales/server.ja.yml b/plugins/discourse-rss-polling/config/locales/server.ja.ymlnew file mode 100644index 00000000000..ac2abedb8de--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ja.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ja:+ site_settings:+ rss_polling_frequency: "[RSS Polling] フィードの更新間隔 (分)"diff --git a/plugins/discourse-rss-polling/config/locales/server.ko.yml b/plugins/discourse-rss-polling/config/locales/server.ko.ymlnew file mode 100644index 00000000000..bc6b4faa756--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ko.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ko:+ site_settings:+ rss_polling_frequency: "[RSS Polling] 피드 폴링 빈도(분당)"diff --git a/plugins/discourse-rss-polling/config/locales/server.lt.yml b/plugins/discourse-rss-polling/config/locales/server.lt.ymlnew file mode 100644index 00000000000..16bb19758dc--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.lt.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++lt:diff --git a/plugins/discourse-rss-polling/config/locales/server.lv.yml b/plugins/discourse-rss-polling/config/locales/server.lv.ymlnew file mode 100644index 00000000000..07a7c40c7e3--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.lv.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++lv:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Aptauju biežums (minūtēs)"diff --git a/plugins/discourse-rss-polling/config/locales/server.nb_NO.yml b/plugins/discourse-rss-polling/config/locales/server.nb_NO.ymlnew file mode 100644index 00000000000..6fab4040717--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.nb_NO.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++nb_NO:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Frekvens for strømspørring (i minutter)"diff --git a/plugins/discourse-rss-polling/config/locales/server.nl.yml b/plugins/discourse-rss-polling/config/locales/server.nl.ymlnew file mode 100644index 00000000000..455144bbaa0--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.nl.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++nl:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Hoe vaak feed verversen (in minuten)"diff --git a/plugins/discourse-rss-polling/config/locales/server.pl_PL.yml b/plugins/discourse-rss-polling/config/locales/server.pl_PL.ymlnew file mode 100644index 00000000000..fbb58bbd70b--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.pl_PL.yml@@ -0,0 +1,12 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++pl_PL:+ site_settings:+ rss_polling_enabled: "[Ankieta RSS] Włącz importowanie osadzonych postów z wielu kanałów RSS"+ rss_polling_frequency: "[RSS Polling] Częstotliwość aktualizacji strony (w minutach)"+ rss_polling_use_pubdate: "[RSS Polling] Ustaw datę utworzenia tematu na pubDate znalezioną w kanale RSS."+ rss_polling_update_tags: "[RSS Polling] Aktualizuj tagi tematów, gdy temat jest aktualizowany. Wyłączenie tej opcji pobiera początkowe tagi, ale wyłącza dalsze zmiany tagów."diff --git a/plugins/discourse-rss-polling/config/locales/server.pt.yml b/plugins/discourse-rss-polling/config/locales/server.pt.ymlnew file mode 100644index 00000000000..298ba523c1d--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.pt.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++pt:diff --git a/plugins/discourse-rss-polling/config/locales/server.pt_BR.yml b/plugins/discourse-rss-polling/config/locales/server.pt_BR.ymlnew file mode 100644index 00000000000..c4a8f6b6319--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.pt_BR.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++pt_BR:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Frequência de pesquisa de feeds (em minutos)"diff --git a/plugins/discourse-rss-polling/config/locales/server.ro.yml b/plugins/discourse-rss-polling/config/locales/server.ro.ymlnew file mode 100644index 00000000000..da6918b271d--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ro.yml@@ -0,0 +1,12 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ro:+ site_settings:+ rss_polling_enabled: "[Interogare RSS] Activează importarea postărilor încorporate din mai multe fluxuri RSS"+ rss_polling_frequency: "[Interogare RSS] Frecvența de interogare a fluxului, în minute"+ rss_polling_use_pubdate: "[Interogare RSS] Setează data creării subiectului la pubDate găsit în fluxul RSS"+ rss_polling_update_tags: "[Interogare RSS] Actualizează etichetele subiectului când un subiect este actualizat. Dezactivarea acesteia retrage etichetele inițiale, dar dezactivează modificările ulterioare ale etichetelor."diff --git a/plugins/discourse-rss-polling/config/locales/server.ru.yml b/plugins/discourse-rss-polling/config/locales/server.ru.ymlnew file mode 100644index 00000000000..be1d5c2bc15--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ru.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ru:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Частота опроса ленты (в минутах)"diff --git a/plugins/discourse-rss-polling/config/locales/server.sk.yml b/plugins/discourse-rss-polling/config/locales/server.sk.ymlnew file mode 100644index 00000000000..6f815624081--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.sk.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sk:diff --git a/plugins/discourse-rss-polling/config/locales/server.sl.yml b/plugins/discourse-rss-polling/config/locales/server.sl.ymlnew file mode 100644index 00000000000..23489a48b1f--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.sl.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sl:diff --git a/plugins/discourse-rss-polling/config/locales/server.sq.yml b/plugins/discourse-rss-polling/config/locales/server.sq.ymlnew file mode 100644index 00000000000..7f051b7a7cf--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.sq.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sq:diff --git a/plugins/discourse-rss-polling/config/locales/server.sr.yml b/plugins/discourse-rss-polling/config/locales/server.sr.ymlnew file mode 100644index 00000000000..88d63d6ae1a--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.sr.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sr:diff --git a/plugins/discourse-rss-polling/config/locales/server.sv.yml b/plugins/discourse-rss-polling/config/locales/server.sv.ymlnew file mode 100644index 00000000000..b165aa293c0--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.sv.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sv:diff --git a/plugins/discourse-rss-polling/config/locales/server.sw.yml b/plugins/discourse-rss-polling/config/locales/server.sw.ymlnew file mode 100644index 00000000000..7b98551ef12--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.sw.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++sw:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Uchaguzi wa taarifa unarudia mara (ndani ya dakika)"diff --git a/plugins/discourse-rss-polling/config/locales/server.te.yml b/plugins/discourse-rss-polling/config/locales/server.te.ymlnew file mode 100644index 00000000000..03967bdbb07--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.te.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++te:diff --git a/plugins/discourse-rss-polling/config/locales/server.th.yml b/plugins/discourse-rss-polling/config/locales/server.th.ymlnew file mode 100644index 00000000000..7de85ff91c4--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.th.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++th:diff --git a/plugins/discourse-rss-polling/config/locales/server.tr_TR.yml b/plugins/discourse-rss-polling/config/locales/server.tr_TR.ymlnew file mode 100644index 00000000000..603854f18b4--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.tr_TR.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++tr_TR:+ site_settings:+ rss_polling_frequency: "[RSS Polling] Besleme yoklama sıklığı (dakika cinsinden)"diff --git a/plugins/discourse-rss-polling/config/locales/server.ug.yml b/plugins/discourse-rss-polling/config/locales/server.ug.ymlnew file mode 100644index 00000000000..a6bf0185ae2--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ug.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ug:diff --git a/plugins/discourse-rss-polling/config/locales/server.uk.yml b/plugins/discourse-rss-polling/config/locales/server.uk.ymlnew file mode 100644index 00000000000..f1390545d1d--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.uk.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++uk:diff --git a/plugins/discourse-rss-polling/config/locales/server.ur.yml b/plugins/discourse-rss-polling/config/locales/server.ur.ymlnew file mode 100644index 00000000000..acf5a5d4f36--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.ur.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++ur:+ site_settings:+ rss_polling_frequency: "[RSS Polling] فیڈ پولنگ کی فریکوئینسی (منٹوں میں)"diff --git a/plugins/discourse-rss-polling/config/locales/server.vi.yml b/plugins/discourse-rss-polling/config/locales/server.vi.ymlnew file mode 100644index 00000000000..f629dcf5329--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.vi.yml@@ -0,0 +1,7 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++vi:diff --git a/plugins/discourse-rss-polling/config/locales/server.zh_CN.yml b/plugins/discourse-rss-polling/config/locales/server.zh_CN.ymlnew file mode 100644index 00000000000..555534a75fa--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.zh_CN.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++zh_CN:+ site_settings:+ rss_polling_frequency: "[RSS Polling] 消息轮询频率(分钟)"diff --git a/plugins/discourse-rss-polling/config/locales/server.zh_TW.yml b/plugins/discourse-rss-polling/config/locales/server.zh_TW.ymlnew file mode 100644index 00000000000..3d4cd65596f--- /dev/null+++ b/plugins/discourse-rss-polling/config/locales/server.zh_TW.yml@@ -0,0 +1,9 @@+# WARNING: Never edit this file.+# It will be overwritten when translations are pulled from Crowdin.+#+# To work with us on translations, join this project:+# https://translate.discourse.org/++zh_TW:+ site_settings:+ rss_polling_frequency: "[RSS Polling] 訊息更新頻率(分鐘)"diff --git a/plugins/discourse-rss-polling/config/routes.rb b/plugins/discourse-rss-polling/config/routes.rbnew file mode 100644index 00000000000..15e325cf7c7--- /dev/null+++ b/plugins/discourse-rss-polling/config/routes.rb@@ -0,0 +1,7 @@+# frozen_string_literal: true++DiscourseRssPolling::Engine.routes.draw do+ root "feed_settings#show"++ resource :feed_settings, constraints: StaffConstraint.new, only: %i[show update destroy]+enddiff --git a/plugins/discourse-rss-polling/config/settings.yml b/plugins/discourse-rss-polling/config/settings.ymlnew file mode 100644index 00000000000..4a865891280--- /dev/null+++ b/plugins/discourse-rss-polling/config/settings.yml@@ -0,0 +1,25 @@+plugins:+ rss_polling_enabled:+ default: false+ shadowed_by_global: true++ # This stores a YAML serialized array of feed setting tuples, in the format of+ # [feed_url, author_username]+ rss_polling_feed_setting:+ default: "[]"+ hidden: true+ client: false++ rss_polling_frequency:+ min: 10+ max: 180+ default: 30+ client: false++ rss_polling_use_pubdate:+ default: false+ client: false++ rss_polling_update_tags:+ default: true+ client: false\ No newline at end of filediff --git a/plugins/discourse-rss-polling/db/migrate/20180828095129_push_fix_topic_embed_authors_job.rb b/plugins/discourse-rss-polling/db/migrate/20180828095129_push_fix_topic_embed_authors_job.rbnew file mode 100644index 00000000000..a1ca719a567--- /dev/null+++ b/plugins/discourse-rss-polling/db/migrate/20180828095129_push_fix_topic_embed_authors_job.rb@@ -0,0 +1,7 @@+# frozen_string_literal: true++class PushFixTopicEmbedAuthorsJob < ActiveRecord::Migration[5.2]+ def change+ Jobs.enqueue("DiscourseRssPolling::FixTopicEmbedAuthors")+ end+enddiff --git a/plugins/discourse-rss-polling/db/migrate/20230318130154_create_discourse_rss_polling_rss_feeds.rb b/plugins/discourse-rss-polling/db/migrate/20230318130154_create_discourse_rss_polling_rss_feeds.rbnew file mode 100644index 00000000000..a5cd6ab5891--- /dev/null+++ b/plugins/discourse-rss-polling/db/migrate/20230318130154_create_discourse_rss_polling_rss_feeds.rb@@ -0,0 +1,14 @@+# frozen_string_literal: true++class CreateDiscourseRssPollingRssFeeds < ActiveRecord::Migration[7.0]+ def change+ create_table :discourse_rss_polling_rss_feeds do |t|+ t.string :url, null: false, length: 255+ t.string :category_filter, length: 100+ t.string :author, length: 100+ t.integer :category_id+ t.string :tags, length: 255+ t.timestamps+ end+ end+enddiff --git a/plugins/discourse-rss-polling/db/migrate/20230319115620_move_rss_yaml_to_db.rb b/plugins/discourse-rss-polling/db/migrate/20230319115620_move_rss_yaml_to_db.rbnew file mode 100644index 00000000000..2a6a86fe344--- /dev/null+++ b/plugins/discourse-rss-polling/db/migrate/20230319115620_move_rss_yaml_to_db.rb@@ -0,0 +1,25 @@+# frozen_string_literal: true++class MoveRssYamlToDb < ActiveRecord::Migration[7.0]+ def up+ rss_polling_feed_setting =+ DB+ .query("SELECT * FROM site_settings WHERE name = 'rss_polling_feed_setting' LIMIT 1")+ .first+ &.value || ""+ begin+ feeds = YAML.safe_load(rss_polling_feed_setting)+ feeds&.each do |(url, author, category_id, tags, category_filter)|+ tags = tags&.join(",")++ DiscourseRssPolling::RssFeed.create(url:, author:, category_id:, tags:, category_filter:)+ rescue Psych::SyntaxError => ex+ # We don't want the migration to fail if invalid yaml exists for some reason+ end+ end+ end++ def down+ raise ActiveRecord::IrreversibleMigration+ end+enddiff --git a/plugins/discourse-rss-polling/lib/discourse_rss_polling/engine.rb b/plugins/discourse-rss-polling/lib/discourse_rss_polling/engine.rbnew file mode 100644index 00000000000..242d3c821cc--- /dev/null+++ b/plugins/discourse-rss-polling/lib/discourse_rss_polling/engine.rb@@ -0,0 +1,14 @@+# frozen_string_literal: true++module DiscourseRssPolling+ class Engine < ::Rails::Engine+ engine_name "discourse_rss_polling"+ isolate_namespace DiscourseRssPolling++ config.to_prepare do+ Dir[+ File.expand_path(File.join("..", "..", "..", "app", "jobs", "**", "*.rb"), __FILE__)+ ].each { |job| require_dependency job }+ end+ end+enddiff --git a/plugins/discourse-rss-polling/plugin.rb b/plugins/discourse-rss-polling/plugin.rbnew file mode 100644index 00000000000..2c36449e741--- /dev/null+++ b/plugins/discourse-rss-polling/plugin.rb@@ -0,0 +1,18 @@+# frozen_string_literal: true++# name: discourse-rss-polling+# about: This plugin enables support for importing embedded content from multiple RSS/ATOM feeds+# version: 0.0.1+# authors: xrav3nz+# url: https://github.com/discourse/discourse/tree/main/plugins/discourse-rss-polling++require_relative "lib/discourse_rss_polling/engine"++enabled_site_setting :rss_polling_enabled+add_admin_route "rss_polling.title", "rss_polling"+register_asset "stylesheets/rss-polling.scss"+register_svg_icon "floppy-disk" if respond_to?(:register_svg_icon)++Discourse::Application.routes.append do+ mount ::DiscourseRssPolling::Engine, at: "/admin/plugins/rss_polling"+enddiff --git a/plugins/discourse-rss-polling/spec/fixtures/files/escaped_html.atom b/plugins/discourse-rss-polling/spec/fixtures/files/escaped_html.atomnew file mode 100644index 00000000000..48906d2eb86--- /dev/null+++ b/plugins/discourse-rss-polling/spec/fixtures/files/escaped_html.atom@@ -0,0 +1,19 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<feed+ xmlns="http://www.w3.org/2005/Atom">+ <title>Discourse</title>+ <link href="https://blog.discourse.org/feed/atom/" rel="self" type="application/atom+xml"/>+ <updated>2019-08-21T01:42:02Z</updated>+ <id>https://blog.discourse.org/feed/atom/</id>+ <entry>+ <id>https://blog.discourse.org/?p=pollfeedspec</id>+ <title type="html"><![CDATA[Wellington: “Progress is hard!” Other cities: “Hold my beer”]]></title>+ <author>+ <name>xrav3nz</name>+ </author>+ <link href="https://blog.discourse.org/2017/09/poll-feed-spec-fixture/" rel="alternate" type="text/html"/>+ <published>2019-08-16T21:46:39Z</published>+ <updated>2019-08-16T21:46:39Z</updated>+ <summary type="html">Here are some random descriptions...</summary>+ </entry>+</feed>diff --git a/plugins/discourse-rss-polling/spec/fixtures/files/mastodon.rss b/plugins/discourse-rss-polling/spec/fixtures/files/mastodon.rssnew file mode 100644index 00000000000..ed4434e9a0b--- /dev/null+++ b/plugins/discourse-rss-polling/spec/fixtures/files/mastodon.rss@@ -0,0 +1,22 @@+<?xml version="1.0" encoding="UTF-8"?>+<rss version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0" xmlns:media="http://search.yahoo.com/mrss/">+ <channel>+ <title>Foo Bar</title>+ <description>Public posts from @[email protected]</description>+ <link>https://mathstodon.bar/@foo</link>+ <image>+ <url>https://mathstodon.bar/avatars/original/missing.png</url>+ <title>Foo Bar</title>+ <link>https://mathstodon.bar/@foo</link>+ </image>+ <lastBuildDate>Wed, 29 Mar 2023 20:01:49 +0000</lastBuildDate>+ <webfeeds:icon>https://mathstodon.bar/avatars/original/missing.png</webfeeds:icon>+ <generator>Mastodon v4.2.10</generator>+ <item>+ <guid isPermaLink="true">https://mathstodon.bar/@foo/123456789</guid>+ <link>https://mathstodon.bar/@foo/123456789</link>+ <pubDate>Wed, 29 Mar 2023 19:02:42 +0000</pubDate>+ <description>Test</description>+ </item>+ </channel>+</rss>diff --git a/plugins/discourse-rss-polling/spec/fixtures/files/multiple_categories.atom b/plugins/discourse-rss-polling/spec/fixtures/files/multiple_categories.atomnew file mode 100644index 00000000000..d67ac599090--- /dev/null+++ b/plugins/discourse-rss-polling/spec/fixtures/files/multiple_categories.atom@@ -0,0 +1,21 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<feed+ xmlns="http://www.w3.org/2005/Atom">+ <title>Discourse</title>+ <link href="https://blog.discourse.org/feed/atom/" rel="self" type="application/atom+xml"/>+ <updated>2019-08-21T01:42:02Z</updated>+ <id>https://blog.discourse.org/feed/atom/</id>+ <entry>+ <id>https://blog.discourse.org/?p=pollfeedspec</id>+ <title type="text">Poll Feed Spec Fixture</title>+ <author>+ <name>xrav3nz</name>+ </author>+ <category>spec</category>+ <category>xrav3nz diary</category>+ <link href="https://blog.discourse.org/2017/09/poll-feed-spec-fixture/" rel="alternate" type="text/html"/>+ <published>2019-08-16T21:46:39Z</published>+ <updated>2019-08-16T21:46:39Z</updated>+ <summary type="html">Here are some random descriptions...</summary>+ </entry>+</feed>diff --git a/plugins/discourse-rss-polling/spec/fixtures/files/no_content_only_summary.atom b/plugins/discourse-rss-polling/spec/fixtures/files/no_content_only_summary.atomnew file mode 100644index 00000000000..b7c1bb63696--- /dev/null+++ b/plugins/discourse-rss-polling/spec/fixtures/files/no_content_only_summary.atom@@ -0,0 +1,19 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<feed+ xmlns="http://www.w3.org/2005/Atom">+ <title>Discourse</title>+ <link href="https://blog.discourse.org/feed/atom/" rel="self" type="application/atom+xml"/>+ <updated>2019-08-21T01:42:02Z</updated>+ <id>https://blog.discourse.org/feed/atom/</id>+ <entry>+ <id>https://blog.discourse.org/?p=pollfeedspec</id>+ <title type="text">Poll Feed Spec Fixture</title>+ <author>+ <name>xrav3nz</name>+ </author>+ <link href="https://blog.discourse.org/2017/09/poll-feed-spec-fixture/" rel="alternate" type="text/html"/>+ <published>2019-08-16T21:46:39Z</published>+ <updated>2019-08-16T21:46:39Z</updated>+ <summary type="html">Here are some random descriptions...</summary>+ </entry>+</feed>diff --git a/plugins/discourse-rss-polling/spec/fixtures/files/youtube_channel.xml b/plugins/discourse-rss-polling/spec/fixtures/files/youtube_channel.xmlnew file mode 100644index 00000000000..a972e207266--- /dev/null+++ b/plugins/discourse-rss-polling/spec/fixtures/files/youtube_channel.xml@@ -0,0 +1,1532 @@+<?xml version="1.0" encoding="UTF-8"?>+<feed xmlns:yt="http://www.youtube.com/xml/schemas/2015" xmlns:media="http://search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom">+ <link rel="self" href="http://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw"/>+ <id>yt:channel:UCXuqSBlHAE6Xw-yeJA0Tunw</id>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>Linus Tech Tips</title>+ <link rel="alternate" href="https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2008-11-25T00:46:52+00:00</published>+ <entry>+ <id>yt:video:peYYl2vrIt4</id>+ <yt:videoId>peYYl2vrIt4</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>An Uncontroversial Opinion – AMD RX 6600 XT Announcement</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=peYYl2vrIt4"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-30T03:30:01+00:00</published>+ <updated>2021-07-30T16:20:48+00:00</updated>+ <media:group>+ <media:title>An Uncontroversial Opinion – AMD RX 6600 XT Announcement</media:title>+ <media:content url="https://www.youtube.com/v/peYYl2vrIt4?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i1.ytimg.com/vi/peYYl2vrIt4/hqdefault.jpg" width="480" height="360"/>+ <media:description>Start your build today at https://www.buildredux.com/linus++Buy a Seasonic Ultra Titanium Power Supply:+On Amazon: https://geni.us/q4lnefC+On NewEgg: https://lmg.gg/8KV3S++AMD’s latest – but perhaps not greatest – GPU has finally been officially confirmed, but the GPU isn’t the big news... What does this mean for the GPU market as a whole?+++Discuss on the forum: https://linustechtips.com/topic/1360741-an-uncontroversial-opinion-%E2%80%93-amd-rx-6600-xt-announcement/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/+Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+1:00 The Radeon RX 6600 XT+2:05 GPU pricing has been rising...+3:00 Thanks Ngreedia+4:12 Mo DRAM, mo problems+6:05 Raw deal on materials+7:09 Tariff Trump card+7:45 Shorted on silicon+9:03 Some good news for once... Sort of+9:45 The 6600 XT and the conclusion</media:description>+ <media:community>+ <media:starRating count="35916" average="4.94" min="1" max="5"/>+ <media:statistics views="557591"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:ZsSTR7fLpDg</id>+ <yt:videoId>ZsSTR7fLpDg</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>This Motherboard Will Get You More Kills – Sh!t Manufacturers Say</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=ZsSTR7fLpDg"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-28T17:01:44+00:00</published>+ <updated>2021-07-29T04:04:03+00:00</updated>+ <media:group>+ <media:title>This Motherboard Will Get You More Kills – Sh!t Manufacturers Say</media:title>+ <media:content url="https://www.youtube.com/v/ZsSTR7fLpDg?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/ZsSTR7fLpDg/hqdefault.jpg" width="480" height="360"/>+ <media:description>Use code LINUS to get 50% off a 2-year Nordpass Premium plan and get an additional 4 months for free at: https://www.nordpass.com/linus++Get your Crucial X6 and X8 Portable SSDs here: http://crucial.gg/LinusTechTips++We tested ASRock's lightning gaming ports to see if your high polling rate peripherals really need the extra help++Buy ASRock Riptide X570+On Newegg (PAID LINK): https://geni.us/9dK6mq8++Buy SeaSonic Gold 750W PSU+On Amazon (PAID LINK): https://geni.us/pL29c+On Best Buy (PAID LINK): https://geni.us/nFJKob+On Newegg (PAID LINK): https://geni.us/bTHu++Buy Nvidia GTX 1070 GPU+On Amazon (PAID LINK): https://geni.us/4LMwJoN+On Best Buy (PAID LINK): https://geni.us/mJpAaUA+On Newegg (PAID LINK): https://geni.us/nBo1lG++Buy Cooler Master Hyper 212 Evo CPU Cooler+On Amazon (PAID LINK): https://geni.us/9y2Zeu+On Best Buy (PAID LINK): https://geni.us/lKEc1Nz+On Newegg (PAID LINK): https://geni.us/Eg3Hz4++Buy G.Skill 2x8GB 3200MHz RAM+On Amazon (PAID LINK): https://geni.us/JCE58zu+On Best Buy (PAID LINK): https://geni.us/yeqHF+On Newegg (PAID LINK): https://geni.us/vtAi+++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1360353-this-motherboard-will-get-you-more-kills-%E2%80%93-sht-manufacturers-say/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/+Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+0:55 USB 3.0+1:48 High Polling Rates+2:40 USB Controller+3:20 Riptide+4:42 Results+5:15 Anthony Testing TIme+7:15 Conclusion+8:45 Outro</media:description>+ <media:community>+ <media:starRating count="43646" average="4.95" min="1" max="5"/>+ <media:statistics views="697061"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:qTrfMHaI3Dk</id>+ <yt:videoId>qTrfMHaI3Dk</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>The $300 Holographic Photo Frame</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=qTrfMHaI3Dk"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-27T17:00:31+00:00</published>+ <updated>2021-07-27T19:00:15+00:00</updated>+ <media:group>+ <media:title>The $300 Holographic Photo Frame</media:title>+ <media:content url="https://www.youtube.com/v/qTrfMHaI3Dk?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i2.ytimg.com/vi/qTrfMHaI3Dk/hqdefault.jpg" width="480" height="360"/>+ <media:description>Visit https://www.squarespace.com/LTT and use offer code LTT for 10% off++Buy a Seasonic Ultra Titanium Power Supply:+On Amazon: https://geni.us/q4lnefC+On NewEgg: https://lmg.gg/8KV3S++Using some fancy lenses the Looking Glass Portrait is able to create 3D images like we're never seen before in a consumer device.++Buy Looking Glass Portrait+https://geni.us/LookingGlass++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1360095-the-300-holographic-photo-frame-looking-glass-portrait/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/+Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+1:45 The Portrait+3:23 How it works+4:20 Software+6:26 Opening it up+9:28 Who's this for?</media:description>+ <media:community>+ <media:starRating count="37346" average="4.95" min="1" max="5"/>+ <media:statistics views="660129"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:0rkTgPt3M4k</id>+ <yt:videoId>0rkTgPt3M4k</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>A COMPLETELY Upgradeable Laptop?</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=0rkTgPt3M4k"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-26T17:11:13+00:00</published>+ <updated>2021-07-28T02:24:22+00:00</updated>+ <media:group>+ <media:title>A COMPLETELY Upgradeable Laptop?</media:title>+ <media:content url="https://www.youtube.com/v/0rkTgPt3M4k?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i1.ytimg.com/vi/0rkTgPt3M4k/hqdefault.jpg" width="480" height="360"/>+ <media:description>Get a Free Pair of Wireless Bluetooth Headphones at Micro Center: https://micro.center/7f7633+Check out the Micro Center Custom Builds Showcase: https://micro.center/792de5++Get your G.Skill Z5i mini-ITX case today at: https://lmg.gg/Z5i++When Framework told me they were making a completely repairable laptop I assumed it would be a flimsy chonker... I've never been so happy to be wrong.++Check out Framework: https://frame.work/++Discuss on the forum: https://linustechtips.com/topic/1359778-a-completely-upgradeable-laptop/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/+Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 - You can't repair a MacBook!+0:15 - But you should be able to+0:42 - G.Skill+0:57 - Intro+1:06 - How Framework Started+2:28 - Opening it up+5:10 - Modular IO+8:30 - Motherboard+11:45 - Keyboard, trackpad, screen+14:20 - Setup and using it+17:50 - Micro Center+18:28 - Outro</media:description>+ <media:community>+ <media:starRating count="171851" average="4.97" min="1" max="5"/>+ <media:statistics views="2411161"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:PJHIZa7tMl4</id>+ <yt:videoId>PJHIZa7tMl4</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>Easy Small Form Factor Build? No.</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=PJHIZa7tMl4"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-25T17:23:32+00:00</published>+ <updated>2021-07-30T00:59:35+00:00</updated>+ <media:group>+ <media:title>Easy Small Form Factor Build? No.</media:title>+ <media:content url="https://www.youtube.com/v/PJHIZa7tMl4?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i1.ytimg.com/vi/PJHIZa7tMl4/hqdefault.jpg" width="480" height="360"/>+ <media:description>Check out the Drop + Captain America Custom Keycap Set at https://dro.ps/ltt-captamerica++Save 10% and Free Worldwide Shipping at Ridge Wallet by using offer code LINUS at https://www.ridge.com/LINUS++We went into this hoping the Jack of all Trades Small Form Factor, or JOAT SFF, would finally bring us a simple SFF build. Hoping.++Check out the JOAT: https://spylabs.bigcartel.com/product/joatsff++Discuss on the forum: https://linustechtips.com/topic/1359481-easy-small-form-factor-build-no/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/+Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 - SFF is hard+0:20 - But is it??+0:40 - Ridge Wallet+0:52 - Intro+1:01 - The Spylabs JOAT (Jack of all Trades)+1:48 - Case Assembly+2:42 - Sketchy Power Cable+4:10 - Case Assembly, but it fights back+5:50 - PSU+8:03 - Linus building a computer+11:40 - Will the NH-P1 fit?+12:22 - The NH-P1 will not fit.+13:00 - NH-D15 is a good one+14:20 - The pain is over, if it boots+15:30 - It's friggin' awesome!+17:55 - Drop.com+18:33 - Outro</media:description>+ <media:community>+ <media:starRating count="46085" average="4.93" min="1" max="5"/>+ <media:statistics views="1084023"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:SypkW1g4jMc</id>+ <yt:videoId>SypkW1g4jMc</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>Techifying a freakin' BOAT!</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=SypkW1g4jMc"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-24T17:00:26+00:00</published>+ <updated>2021-07-24T17:26:54+00:00</updated>+ <media:group>+ <media:title>Techifying a freakin' BOAT!</media:title>+ <media:content url="https://www.youtube.com/v/SypkW1g4jMc?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/SypkW1g4jMc/hqdefault.jpg" width="480" height="360"/>+ <media:description>Thanks to Jackery for sponsoring today's video! Get 10% off all Jackery products on their website with code LinusTechTips: https://www.jackery.com?aff=27++We overhauled a boat with the latest in tech featuring Jackery's Explorer 2000 Solar generator!++Buy Apple TV 4K 2021+On Amazon (PAID LINK): https://geni.us/DF4JWpJ+On Best Buy (PAID LINK): https://geni.us/bGuXN+On B&H (PAID LINK): https://geni.us/sZx0A++Buy Apple iPad Pro+On Amazon (PAID LINK): https://geni.us/dYqp+On Best Buy (PAID LINK): https://geni.us/LUoq3d+On Newegg (PAID LINK): https://geni.us/GsJN++Buy RAM Mounts+On Amazon (PAID LINK): https://geni.us/e39lh+On B&H (PAID LINK): https://geni.us/S61HC4++Buy Samsung Monitors+On Amazon (PAID LINK): https://geni.us/OnBf+On Best Buy (PAID LINK): https://geni.us/0kbvZ+On Newegg (PAID LINK): https://geni.us/BAONZa++Buy Kanto RV250G TV Wall Mount+On Amazon (PAID LINK): https://geni.us/BfWvSax+On Newegg (PAID LINK): https://geni.us/JaLWCT+On B&H (PAID LINK): https://geni.us/YiWWwJ++Buy Polk Audio Atrium5 Outdoor Speakers+On Amazon (PAID LINK): https://geni.us/zjg0ZlA+On Newegg (PAID LINK): https://geni.us/qnKjJq+On B&H (PAID LINK): https://geni.us/IQA3y1k++Buy Alpine Electronics PWE-S8 Subwoofer+On Amazon (PAID LINK): https://geni.us/VvjG+On Best Buy (PAID LINK): https://geni.us/ObAlH8+On Newegg (PAID LINK): https://geni.us/wQAAD++Buy JL Audio C1-400 Car Audio Speakers+On Amazon (PAID LINK): https://geni.us/5sjRu+On Newegg (PAID LINK): https://geni.us/dc0bG++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1359246-techifying-a-freakin-boat/++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/+Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Don't hit the boat, Linus!+0:39 Entertainment system setup+2:54 Cable-managing a boat is hard lol+3:38 VESA Mounting issues+5:01 Story behind Colin's Dad's boat+6:08 Wiring done but diagnosing power switch+6:25 Outdoor speaker install+7:51 Subwoofer mounting time+8:23 Jackery Saga Solar Generator install and Crabrave+10:09 The tech side of things+11:03 Conclusion and Jackery Explorer 2000</media:description>+ <media:community>+ <media:starRating count="61149" average="4.95" min="1" max="5"/>+ <media:statistics views="1046977"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:2xlkKIGNsMw</id>+ <yt:videoId>2xlkKIGNsMw</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>Talk me Down from The Wall... - WAN Show July 23, 2021</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=2xlkKIGNsMw"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-24T03:09:41+00:00</published>+ <updated>2021-07-27T19:37:27+00:00</updated>+ <media:group>+ <media:title>Talk me Down from The Wall... - WAN Show July 23, 2021</media:title>+ <media:content url="https://www.youtube.com/v/2xlkKIGNsMw?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/2xlkKIGNsMw/hqdefault.jpg" width="480" height="360"/>+ <media:description>Pre-order Megapro's new 24-in-1 Precision Screwdriver at https://lmg.gg/MegaproWAN++Start your build today at https://www.buildredux.com/linus++Try FreshBooks free, for 30 days, no credit card required at https://www.freshbooks.com/wan++Podcast Download: https://anchor.fm/thewanshowpodcast/episodes/Talk-me-Down-from-The-Wall------WAN-Show-July-23--2021-e151loa++Check out our other Podcasts:+Carpool Critics Movie Podcast: https://www.youtube.com/channel/UCt-oJR5teQIjOAxCmIQvcgA++Timestamps (Courtacy of NoKi1119)+[0:00] Chapters+[1:39] Intro+[2:40] Topic #1: Blizzard civil lawsuit.+ 4:24 Discrimination and sexual conduct.+ 5:34 Activision's response to the allegations.+ 6:16 Harassment towards female workers.+ 9:17 Discussing the response.+[18:47] Topic #2: Samsung's second generation 'The Wall'.+ 19:37 Specifications of the new display.+ 20:29 Advantages of MicroLED.+ 21:29 Wattage and required cooling.+ 35:42 Possible content using the display.+ 44:05 Golden controller being sold.+ 46:34 Sony projectors and others as a substitute.+[54:52] Sponsors+ 55:31 Megapro's Screwdriver.+ 56:22 Freshbooks Accounting.+ 57:34 Redux PC Builder.+[58:38] New LTTstore merch.+[1:02:48] Topic #3: 30% decrease in WoW players during the pandemic.+ 1:03:06 Reasons behind the decrease.+[1:03:56] Topic #3.5: Amazon's MMO "New World" bricks RTX 3090's.+[1:08:20] Topic #4: Spectrum Eve monitor.+ 1:10:01 Poll: To cover or not to cover?+ 1:12:45 Reasons behind the interest.+[1:13:18] Topic #5: 'Freedom Phone'.+ 1:13:46 Discussing Finman's claims.+ 1:16:03 FP is a more expensive UMIDIGI phone.+[1:19:34] Topic #6: Bezos brothers went to space.+ 1:21:27 Jeff thanking Amazon employees and customers for this.+[1:23:46] Topic #7: Nvidia's MediaTek ARM CPU demo.+ 1:25:58 Scientist patched Linux on RISC-V CPU with RX 6700 XT.+ 1:27:38 Intel's (leaked) 12th generation is in 10nm.+[1:28:07] Superchats (& Impersonating Jeff Bezos)+[1:46:44] Wrapping up+[1:47:13] Outro</media:description>+ <media:community>+ <media:starRating count="12463" average="4.82" min="1" max="5"/>+ <media:statistics views="369216"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:_Ua-d9OeUOg</id>+ <yt:videoId>_Ua-d9OeUOg</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>How to install Linux instead of Windows 11</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=_Ua-d9OeUOg"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-22T17:00:00+00:00</published>+ <updated>2021-07-24T13:51:52+00:00</updated>+ <media:group>+ <media:title>How to install Linux instead of Windows 11</media:title>+ <media:content url="https://www.youtube.com/v/_Ua-d9OeUOg?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/_Ua-d9OeUOg/hqdefault.jpg" width="480" height="360"/>+ <media:description>Join us in War Thunder for FREE at https://playwt.link/JoinLinusTechTips Get an exclusive bonus using our link - thanks for supporting the channel!++Windows 11 is about to make a lot of people feel left behind, but there’s one operating system that’s recently been getting better and better for new and old hardware…++Check out Pop!_OS: https://pop.system76.com/+Grab BalenaEtcher: https://www.balena.io/etcher/+Grab Rufus: https://rufus.ie/en/+Get nvidia-patch: https://github.com/keylase/nvidia-patch+Get obs-nvfbc: https://gitlab.com/fzwoch/obs-nvfbc++Buy ASUS ROG Swift PG329Q 32” Gaming Monitor+On Amazon (PAID LINK): https://geni.us/Azr3Czm+On Newegg (PAID LINK): https://geni.us/AlUrM+On B&H (PAID LINK): https://geni.us/PGiu9n++Discuss on the forum: https://linustechtips.com/topic/1358499-how-to-install-linux-instead-of-windows-11/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Intro animation by MBarek Abdelwassaa https://www.instagram.com/mbarek_abdel/+Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+0:55 What is Linux and why should I care?+2:21 Getting Pop!_OS+4:03 Booting & the installer+6:20 Post-install setup & downloading apps+8:14 Installing Wine (optional)+8:55 Installing games+9:38 A Shadowplay alternative (optional)+11:56 Compatibility, drivers, & caveats+13:37 Conclusion & why I won't force you</media:description>+ <media:community>+ <media:starRating count="81867" average="4.94" min="1" max="5"/>+ <media:statistics views="931423"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:SKtEH_7lGJg</id>+ <yt:videoId>SKtEH_7lGJg</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>NVIDIA Thinks These GPUs Are Worthless</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=SKtEH_7lGJg"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-21T17:09:32+00:00</published>+ <updated>2021-07-26T14:31:19+00:00</updated>+ <media:group>+ <media:title>NVIDIA Thinks These GPUs Are Worthless</media:title>+ <media:content url="https://www.youtube.com/v/SKtEH_7lGJg?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/SKtEH_7lGJg/hqdefault.jpg" width="480" height="360"/>+ <media:description>Thanks to Morning Brew for sponsoring today's video! Sign up to Morning Brew for free today at http://bit.ly/mblinustech++Save 10% and Free Worldwide Shipping at Ridge Wallet by using offer code LINUS at https://www.ridge.com/LINUS++Recently NVIDIA announced that they would be discontinuing Game Ready driver support for their Kepler architecture-based GPUs like the 600 and 700 series. Does this mean these GPUs can no longer game? Today we find out.++Buy an NVIDIA GPU+On Amazon (PAID LINK): https://geni.us/cwCc+On Best Buy (PAID LINK): https://geni.us/hEfP+On Newegg (PAID LINK): https://geni.us/Fhed++Buy an AMD GPU+On Amazon (PAID LINK): https://geni.us/eYdbdG+On Best Buy (PAID LINK): https://geni.us/IcvWziv+On Newegg (PAID LINK): https://geni.us/sUb5w4U++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1358410-nvidia-thinks-these-are-worthless/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+1:21 Introducing the GTX 760+3:12 760 - CSGO+4:02 760 - Rocket League+4:42 760 - F1 2020+5:02 760 - Apex Legends+6:21 760 - Doom Eternal & VRAM Discussion+8:00 Introducing the GTX 780 Ti+8:50 780 Ti - F1 2020+9:36 780 Ti - Doom Eternal+10:25 780 Ti - Dirt 5 & DirectX 12 Discussion+11:25 780 Ti - Civilization VI+12:05 780 Ti - Control+12:23 Why Discontinuing These Cards Might Make Sense+15:45 What If You Already Have a Kepler-Based GPU?+16:28 Outro</media:description>+ <media:community>+ <media:starRating count="63271" average="4.93" min="1" max="5"/>+ <media:statistics views="1412223"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:fqpSbdkjBEg</id>+ <yt:videoId>fqpSbdkjBEg</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>I bought this $9000 CPU for $999 😁</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=fqpSbdkjBEg"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-20T17:09:42+00:00</published>+ <updated>2021-07-20T17:27:10+00:00</updated>+ <media:group>+ <media:title>I bought this $9000 CPU for $999 😁</media:title>+ <media:content url="https://www.youtube.com/v/fqpSbdkjBEg?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/fqpSbdkjBEg/hqdefault.jpg" width="480" height="360"/>+ <media:description>Get a Free Pair of Wireless Bluetooth Headphones at Micro Center: https://micro.center/7f7633+Check out the Micro Center Custom Builds Showcase: https://micro.center/792de5++Buy a Seasonic Ultra Titanium Power Supply:+On Amazon: https://geni.us/q4lnefC+On NewEgg: https://lmg.gg/8KV3S++Intel CPUs were at one point the go-to for nearly every market segment, with powerful products for gamers, datacenters, and content creators alike. AMD has dethroned them, and that’s led to some strangely cheap products popping up on Ebay… like this 28 core Xeon.++Buy Intel Xeon Platinum 8176 CPU+On eBay (PAID LINK): https://ebay.us/ANlWnf+On Newegg (PAID LINK): https://geni.us/QiLhs++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1358086-i-bought-this-9000-cpu-for-999-%F0%9F%98%81+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+0:55 Backstory+1:42 The server hardware cycle+2:46 Our CPU+3:01 Server CPU "classes"+5:18 Summary so far+5:58 Installation begins+6:08 C621 Motherboards+6:37 Socket design and coolers+7:20 gaming+8:30 Clock speeds and per-core boosting+9:08 Linus has a eureka+10:04 What this CPU isn't good for+10:43 What this CPU IS good for</media:description>+ <media:community>+ <media:starRating count="54837" average="4.93" min="1" max="5"/>+ <media:statistics views="1176509"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:JaD_Ze-544E</id>+ <yt:videoId>JaD_Ze-544E</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>This Laptop is ALL SCREEN!</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=JaD_Ze-544E"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-19T17:20:07+00:00</published>+ <updated>2021-07-20T15:55:34+00:00</updated>+ <media:group>+ <media:title>This Laptop is ALL SCREEN!</media:title>+ <media:content url="https://www.youtube.com/v/JaD_Ze-544E?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/JaD_Ze-544E/hqdefault.jpg" width="480" height="360"/>+ <media:description>You can try your first month of KiwiCo for FREE at: http://kiwico.com/LTT++Foldable devices are here, or more specifically, foldable displays. Laptops and notebooks fold to make things more portable, but what if we folded the display itself?++Buy Lenovo ThinkPad X1 Fold+On Amazon (PAID LINK): https://geni.us/R6hc+On Best Buy (PAID LINK): https://geni.us/TwiqQC+On Newegg (PAID LINK): https://geni.us/yeMWnw++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1357826-we-have-some-thoughts-about-folding-laptops/++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+0:52 The display+1:27 The hinge+1:49 Exterior design+2:07 Optional stylus+3:03 The Fold Keyboard+3:21 Portability+3:45 alex is taking things from other employees is anyone gonna stop him pls guys i need+3:49 Is it ACTUALLY good as a laptop, though?+4:20 A strange design decision+4:33 Tech specs+6:12 The price & value+6:50 webcam+7:00 Final thoughts</media:description>+ <media:community>+ <media:starRating count="42788" average="4.92" min="1" max="5"/>+ <media:statistics views="781600"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:LXj5A9ZhPSE</id>+ <yt:videoId>LXj5A9ZhPSE</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>Where did these AWESOME Retro Consoles come from???</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=LXj5A9ZhPSE"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-18T17:00:02+00:00</published>+ <updated>2021-07-18T20:06:13+00:00</updated>+ <media:group>+ <media:title>Where did these AWESOME Retro Consoles come from???</media:title>+ <media:content url="https://www.youtube.com/v/LXj5A9ZhPSE?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i1.ytimg.com/vi/LXj5A9ZhPSE/hqdefault.jpg" width="480" height="360"/>+ <media:description>Check out the Manta toolkit at: https://www.iFixit.com/LTT++Every gaming handheld I’ve ever owned has come from some big Japanese company – But these didn’t. What are they, and can they possibly be any good?++Buy ANBERNIC RG351M+On Amazon (PAID LINK): https://geni.us/wyoXuo+On Newegg (PAID LINK): https://geni.us/4vCfF0++Buy Retroid Pocket 2+On Amazon (PAID LINK): https://geni.us/pNp8iqt+On Newegg (PAID LINK): https://geni.us/P0MBl0++Check out the ODROID-GO Super at https://lmg.gg/QZpTN++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1357425-where-did-these-come-from/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+0:38 What ARE these?+1:55 Anbernic RG351M+6:22 Retroid Pocket 2+10:53 ODROID-Go Super+14:47 Some history+16:18 Piracy+17:13 Conclusion</media:description>+ <media:community>+ <media:starRating count="46626" average="4.93" min="1" max="5"/>+ <media:statistics views="870259"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:ShtiJ8Y2alE</id>+ <yt:videoId>ShtiJ8Y2alE</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>The PRACTICAL Tech Transformation - Intel $5,000 Extreme Tech Upgrade</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=ShtiJ8Y2alE"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-17T17:02:16+00:00</published>+ <updated>2021-07-18T17:09:24+00:00</updated>+ <media:group>+ <media:title>The PRACTICAL Tech Transformation - Intel $5,000 Extreme Tech Upgrade</media:title>+ <media:content url="https://www.youtube.com/v/ShtiJ8Y2alE?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/ShtiJ8Y2alE/hqdefault.jpg" width="480" height="360"/>+ <media:description>Thanks to Intel for sponsoring this series! Check out the Intel Core i9-10850K (PAID LINK): https://geni.us/4w11++Buy Intel Core i9-10850K CPU+On Amazon (PAID LINK): https://geni.us/2Vp22w+On Best Buy (PAID LINK): https://geni.us/53Fd0b+On Newegg (PAID LINK): https://geni.us/HAOo++Buy ASUS ROG Strix Z490-E+On Amazon (PAID LINK): https://geni.us/BA46A+On Best Buy (PAID LINK): https://geni.us/SGyOBjK+On Newegg (PAID LINK): https://geni.us/8u1A++Buy Crucial Ballistix 16GB (8GBx2) DDR4 RAM+On Amazon (PAID LINK): https://geni.us/zmnR++Buy Toshiba X300 4TB HDD+On Amazon (PAID LINK): https://geni.us/nmuFVm+On Newegg (PAID LINK): https://geni.us/FedBkw4++Buy Seasonic Syncro Q7 Case+On Newegg (PAID LINK): https://geni.us/Z56ORJ++Buy EVGA RTX 3080 Ti XC3 Ultra Gaming GPU+On Amazon (PAID LINK): https://geni.us/Kgo2eGa+On Best Buy (PAID LINK): https://geni.us/AB2X8as+On Newegg (PAID LINK): https://geni.us/SuPpM++Buy HP ENVY 14 (2021)+On HP (PAID LINK): https://geni.us/vAsvKv9+On Amazon (PAID LINK): https://geni.us/ki3OM9+On B&H (PAID LINK): https://geni.us/eBZJp++Buy Microsoft Surface Headphones 2+On Amazon (PAID LINK): https://geni.us/CCfc+On Best Buy (PAID LINK): https://geni.us/n0KzT+On Newegg (PAID LINK): https://geni.us/K2BCFn++Buy Dell S2721D Monitor+On Amazon (PAID LINK): https://geni.us/hotR++Buy Logitech G305 LIGHTSPEED Wireless Gaming Mouse+On Amazon (PAID LINK): https://geni.us/p5UJT+On Best Buy (PAID LINK): https://geni.us/ON7Ln+On Newegg (PAID LINK): https://geni.us/dkCQx8f++Buy Logitech K400 Plus Wireless TV Keyboard+On Amazon (PAID LINK): https://geni.us/6QUBcNY+On Newegg (PAID LINK): https://geni.us/futfB8P+On B&H (PAID LINK): https://geni.us/l7Ogrxw++Buy Philips Hue Smart Lightstrip Plus 2m/6ft Base Kit+On Amazon (PAID LINK): https://geni.us/hpyyWT+On Best Buy (PAID LINK): https://geni.us/uDpeF+On B&H (PAID LINK): https://geni.us/B0MOaC++Buy Logitech K845 Mechanical Keyboard+On Amazon (PAID LINK): https://geni.us/DfiiA+On Newegg (PAID LINK): https://geni.us/3AOePr+On B&H (PAID LINK): https://geni.us/GJoo++Buy RODE PSA 1 Microphone Boom Arm+On Amazon (PAID LINK): https://geni.us/QoOiI+On Best Buy (PAID LINK): https://geni.us/tFNzQm+On Newegg (PAID LINK): https://geni.us/eSi1G+Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1357288-a-big-tech-transformation-intel-5000-extreme-tech-upgrade/++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro</media:description>+ <media:community>+ <media:starRating count="100950" average="4.96" min="1" max="5"/>+ <media:statistics views="1967310"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:60NGxX7m1Mw</id>+ <yt:videoId>60NGxX7m1Mw</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>The Most Exciting Gaming PC in YEARS - WAN Show July 16, 2021</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=60NGxX7m1Mw"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-17T03:06:50+00:00</published>+ <updated>2021-07-19T20:11:37+00:00</updated>+ <media:group>+ <media:title>The Most Exciting Gaming PC in YEARS - WAN Show July 16, 2021</media:title>+ <media:content url="https://www.youtube.com/v/60NGxX7m1Mw?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/60NGxX7m1Mw/hqdefault.jpg" width="480" height="360"/>+ <media:description>Visit https://www.squarespace.com/WAN and use offer code WAN for 10% off++Try Pulseway for free and start remotely monitoring and managing your server or PC at https://geni.us/pulseway++Save 10% at Ridge Wallet with offer code WAN at https://www.ridge.com/WAN++Podcast Download: https://anchor.fm/thewanshowpodcast/episodes/The-Most-Exciting-Gaming-PC-in-YEARS---WAN-Show-July-16--2021-e14n0jd++Check out our other Podcasts:+Carpool Critics Movie Podcast: https://www.youtube.com/channel/UCt-oJR5teQIjOAxCmIQvcgA++Timestamps (Courtesy of Chico Veinte Minutos):+0:00 Presentation+1:16 Intro+1:47 Steam Deck+38:29 GitHub Co-Pilot+47:18 Sponsors+49:57 TSMC exploring new ways to cool silicon chips+53:30 Intel is in talks to buy Global Foundries+56:02 AMD Fidelity FX is now Open Source+58:20 Microsoft announces Windows 360+1:01:00 Alder Lake Leak+1:03:50 Reprint of the old LTT underwear+1:04:40 "Gaming" on Netflix+1:05:11 Superchats+1:13:25 Steam Deck RDNA 2 Graphics Mention</media:description>+ <media:community>+ <media:starRating count="16812" average="4.91" min="1" max="5"/>+ <media:statistics views="501807"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:PjDgKXe8gxs</id>+ <yt:videoId>PjDgKXe8gxs</yt:videoId>+ <yt:channelId>UCXuqSBlHAE6Xw-yeJA0Tunw</yt:channelId>+ <title>Gaming at Max Settings is Really Dumb</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=PjDgKXe8gxs"/>+ <author>+ <name>Linus Tech Tips</name>+ <uri>https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw</uri>+ </author>+ <published>2021-07-15T17:00:07+00:00</published>+ <updated>2021-07-17T12:15:54+00:00</updated>+ <media:group>+ <media:title>Gaming at Max Settings is Really Dumb</media:title>+ <media:content url="https://www.youtube.com/v/PjDgKXe8gxs?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i1.ytimg.com/vi/PjDgKXe8gxs/hqdefault.jpg" width="480" height="360"/>+ <media:description>Check out the Drop x Sennheiser HD 6XX Headphones at https://dro.ps/6xx-ltt-07++Use code LINUS and get 25% off GlassWire at https://lmg.gg/glasswire++Why do max settings even exist if we can barely run them? Should you buy a 3080 or 3090 if you have an older monitor, or will your older card keep you afloat for the time being?++Buy NZXT N7 Z590+On Amazon (PAID LINK): https://geni.us/HBs1qH++Buy G.SKILL TridentZ RGB 16GB (2 x 8GB) RAM+On Amazon (PAID LINK): https://geni.us/OSOK+On Newegg (PAID LINK): https://geni.us/jAFgv++Buy Crucial P5 500GB NVMe SSD+On Amazon (PAID LINK): https://geni.us/OI2Fq5x+On Best Buy (PAID LINK): https://geni.us/oaNB+On Newegg (PAID LINK): https://geni.us/65Wgiv++Buy Intel Core i7-11700K CPU+On Amazon (PAID LINK): https://geni.us/KGFUHY+On Best Buy (PAID LINK): https://geni.us/0gkr+On Newegg (PAID LINK): https://geni.us/U4vfVqC++Buy ASUS TUF RTX 3090 GPU+On Amazon (PAID LINK): https://geni.us/cBo90R+On Best Buy (PAID LINK): https://geni.us/BJt7o2+On Newegg (PAID LINK): https://geni.us/wXsY++Purchases made through some store links may provide some compensation to Linus Media Group.++Discuss on the forum: https://linustechtips.com/topic/1356695-gaming-at-max-settings-is-really-dumb/+++►GET MERCH: http://www.LTTStore.com/+►SUPPORT US ON FLOATPLANE: https://www.floatplane.com/+►LTX EXPO: https://www.ltxexpo.com/++AFFILIATES & REFERRALS+---------------------------------------------------+►Affiliates, Sponsors & Referrals: https://lmg.gg/sponsors+►Check out our podcast gear: https://kit.co/linustechtips/lmg-podcast-gear+►Private Internet Access VPN: https://lmg.gg/pialinus2+►Our Official Charging Partner Anker: https://lmg.gg/AnkerLTT+►MK Keyboards: https://lmg.gg/LyLtl+►Nerd or Die Stream Overlays: https://lmg.gg/avLlO+►Official Game Store: https://www.nexus.gg/ltt+►Amazon Prime: https://lmg.gg/8KV1v+►Audible Free Trial: https://lmg.gg/8242J+►Our Gear on Amazon: https://geni.us/OhmF++FOLLOW US ELSEWHERE+---------------------------------------------------+Twitter: https://twitter.com/linustech+Facebook: http://www.facebook.com/LinusTech+Instagram: https://www.instagram.com/linustech+Twitch: https://www.twitch.tv/linustech++FOLLOW OUR OTHER CHANNELS+---------------------------------------------------+Mac Address: https://lmg.gg/macaddress+Techquickie: https://lmg.gg/techquickieyt+TechLinked: https://lmg.gg/techlinkedyt+ShortCircuit: https://lmg.gg/shortcircuityt++LMG Clips: https://lmg.gg/lmgclipsyt+Channel Super Fun: https://lmg.gg/channelsuperfunyt+Carpool Critics: https://lmg.gg/carpoolcriticsyt++MUSIC CREDIT+---------------------------------------------------+Title: Laszlo - Supernova+Video Link: https://www.youtube.com/watch?v=PKfxmFU3lWY+iTunes Download Link: https://itunes.apple.com/us/album/supernova/id936805712+Artist Link: https://soundcloud.com/laszlomusic++Outro Screen Music Credit: Approaching Nirvana - Sugar High http://www.youtube.com/approachingnirvana++Monitor And Keyboard by vadimmihalkevich / CC BY 4.0 https://geni.us/PgGWp+Mechanical RGB Keyboard by BigBrotherECE / CC BY 4.0 https://geni.us/mj6pHk4+Mouse Gamer free Model By Oscar Creativo / CC BY 4.0 https://geni.us/Ps3XfE++CHAPTERS+---------------------------------------------------+0:00 Intro+1:30 Our Test+2:12 Results Discussion+3:37 Performance Targets+5:05 Monkey+6:02 Noticeable Settings+6:45 Final Thoughts+8:33 Outro</media:description>+ <media:community>+ <media:starRating count="61801" average="4.87" min="1" max="5"/>+ <media:statistics views="1040396"/>+ </media:community>+ </media:group>+ </entry>+</feed>\ No newline at end of filediff --git a/plugins/discourse-rss-polling/spec/fixtures/files/youtube_playlist.xml b/plugins/discourse-rss-polling/spec/fixtures/files/youtube_playlist.xmlnew file mode 100644index 00000000000..dd3d48fef83--- /dev/null+++ b/plugins/discourse-rss-polling/spec/fixtures/files/youtube_playlist.xml@@ -0,0 +1,312 @@+<?xml version="1.0" encoding="UTF-8"?>+<feed xmlns:yt="http://www.youtube.com/xml/schemas/2015" xmlns:media="http://search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom">+ <link rel="self" href="http://www.youtube.com/feeds/videos.xml?playlist_id=PLMEZyDHJojxMRL0ifs67xcfzTOiPrGMdF"/>+ <id>yt:playlist:PLMEZyDHJojxMRL0ifs67xcfzTOiPrGMdF</id>+ <yt:playlistId>PLMEZyDHJojxMRL0ifs67xcfzTOiPrGMdF</yt:playlistId>+ <yt:channelId>UC5GOr7CavTbxAf18CKjukdg</yt:channelId>+ <title>Ramones playlist - BEST songs</title>+ <author>+ <name>Radio Golcak</name>+ <uri>https://www.youtube.com/channel/UC5GOr7CavTbxAf18CKjukdg</uri>+ </author>+ <published>2015-04-22T16:09:39+00:00</published>+ <entry>+ <id>yt:video:K56soYl0U1w</id>+ <yt:videoId>K56soYl0U1w</yt:videoId>+ <yt:channelId>UCbLByZawHMZx_TFppHXeNYw</yt:channelId>+ <title>The Ramones - Blitzkrieg Bop (With Lyrics)</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=K56soYl0U1w"/>+ <author>+ <name>EA0825</name>+ <uri>https://www.youtube.com/channel/UCbLByZawHMZx_TFppHXeNYw</uri>+ </author>+ <published>2009-05-11T02:01:07+00:00</published>+ <updated>2021-06-29T15:19:02+00:00</updated>+ <media:group>+ <media:title>The Ramones - Blitzkrieg Bop (With Lyrics)</media:title>+ <media:content url="https://www.youtube.com/v/K56soYl0U1w?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/K56soYl0U1w/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="65388" average="4.91" min="1" max="5"/>+ <media:statistics views="16626701"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:F3J0iwwsq-w</id>+ <yt:videoId>F3J0iwwsq-w</yt:videoId>+ <yt:channelId>UCFXgCHrEv679zbK9v5yCRcA</yt:channelId>+ <title>Ramones - Pet Sematary</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=F3J0iwwsq-w"/>+ <author>+ <name>BoPTePegar</name>+ <uri>https://www.youtube.com/channel/UCFXgCHrEv679zbK9v5yCRcA</uri>+ </author>+ <published>2009-05-10T23:23:32+00:00</published>+ <updated>2021-06-04T07:52:01+00:00</updated>+ <media:group>+ <media:title>Ramones - Pet Sematary</media:title>+ <media:content url="https://www.youtube.com/v/F3J0iwwsq-w?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/F3J0iwwsq-w/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="130051" average="4.89" min="1" max="5"/>+ <media:statistics views="23727221"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:OfIfzVf8t6E</id>+ <yt:videoId>OfIfzVf8t6E</yt:videoId>+ <yt:channelId>UCGwgulq7fGfXK7nJvxVYTZA</yt:channelId>+ <title>Ramones - Poison Heart (Official Video)</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=OfIfzVf8t6E"/>+ <author>+ <name>RamonesVEVO</name>+ <uri>https://www.youtube.com/channel/UCGwgulq7fGfXK7nJvxVYTZA</uri>+ </author>+ <published>2009-11-23T00:44:18+00:00</published>+ <updated>2021-06-29T06:40:59+00:00</updated>+ <media:group>+ <media:title>Ramones - Poison Heart (Official Video)</media:title>+ <media:content url="https://www.youtube.com/v/OfIfzVf8t6E?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/OfIfzVf8t6E/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="163348" average="4.90" min="1" max="5"/>+ <media:statistics views="27831012"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:PqZmJ7RGAP4</id>+ <yt:videoId>PqZmJ7RGAP4</yt:videoId>+ <yt:channelId>UChwj00Akf8AW6rd-vMz9QZg</yt:channelId>+ <title>The Ramones-Baby I Love You</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=PqZmJ7RGAP4"/>+ <author>+ <name>MatthewNabokovfan88</name>+ <uri>https://www.youtube.com/channel/UChwj00Akf8AW6rd-vMz9QZg</uri>+ </author>+ <published>2008-11-24T00:52:10+00:00</published>+ <updated>2021-07-04T23:52:04+00:00</updated>+ <media:group>+ <media:title>The Ramones-Baby I Love You</media:title>+ <media:content url="https://www.youtube.com/v/PqZmJ7RGAP4?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i1.ytimg.com/vi/PqZmJ7RGAP4/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="92649" average="4.91" min="1" max="5"/>+ <media:statistics views="16707380"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:NMCJYfutZ8Y</id>+ <yt:videoId>NMCJYfutZ8Y</yt:videoId>+ <yt:channelId>UC5GOr7CavTbxAf18CKjukdg</yt:channelId>+ <title>Radio Golcak - The Best Playlists on YouTube</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=NMCJYfutZ8Y"/>+ <author>+ <name>Radio Golcak</name>+ <uri>https://www.youtube.com/channel/UC5GOr7CavTbxAf18CKjukdg</uri>+ </author>+ <published>2016-08-03T16:15:58+00:00</published>+ <updated>2021-05-21T09:11:32+00:00</updated>+ <media:group>+ <media:title>Radio Golcak - The Best Playlists on YouTube</media:title>+ <media:content url="https://www.youtube.com/v/NMCJYfutZ8Y?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/NMCJYfutZ8Y/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="2359" average="2.84" min="1" max="5"/>+ <media:statistics views="7497254"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:vmNerf4kea4</id>+ <yt:videoId>vmNerf4kea4</yt:videoId>+ <yt:channelId>UCQMv35EH3Ee1m7OsDkrKr1w</yt:channelId>+ <title>Ramones - I Want You Around (Video)</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=vmNerf4kea4"/>+ <author>+ <name>GlamMetalSucks</name>+ <uri>https://www.youtube.com/channel/UCQMv35EH3Ee1m7OsDkrKr1w</uri>+ </author>+ <published>2009-05-31T17:48:01+00:00</published>+ <updated>2021-06-04T07:44:35+00:00</updated>+ <media:group>+ <media:title>Ramones - I Want You Around (Video)</media:title>+ <media:content url="https://www.youtube.com/v/vmNerf4kea4?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/vmNerf4kea4/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="19769" average="4.92" min="1" max="5"/>+ <media:statistics views="4600769"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:eRwek-qyyeM</id>+ <yt:videoId>eRwek-qyyeM</yt:videoId>+ <yt:channelId>UC9Hb9kfme2I-hQN97N541Qg</yt:channelId>+ <title>The Ramones - I Just Want To Have Something To Do [HD]</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=eRwek-qyyeM"/>+ <author>+ <name>Ƶombie</name>+ <uri>https://www.youtube.com/channel/UC9Hb9kfme2I-hQN97N541Qg</uri>+ </author>+ <published>2012-08-05T03:57:24+00:00</published>+ <updated>2021-06-04T07:56:42+00:00</updated>+ <media:group>+ <media:title>The Ramones - I Just Want To Have Something To Do [HD]</media:title>+ <media:content url="https://www.youtube.com/v/eRwek-qyyeM?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i2.ytimg.com/vi/eRwek-qyyeM/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="18092" average="4.93" min="1" max="5"/>+ <media:statistics views="3892118"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:fGWR3uI3Qa0</id>+ <yt:videoId>fGWR3uI3Qa0</yt:videoId>+ <yt:channelId>UCia3sM3GMVzQhau9GcO7i6w</yt:channelId>+ <title>RAMONES - Needles & Pins</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=fGWR3uI3Qa0"/>+ <author>+ <name>Ramones ♪</name>+ <uri>https://www.youtube.com/channel/UCia3sM3GMVzQhau9GcO7i6w</uri>+ </author>+ <published>2009-09-21T04:31:05+00:00</published>+ <updated>2021-06-04T07:49:39+00:00</updated>+ <media:group>+ <media:title>RAMONES - Needles & Pins</media:title>+ <media:content url="https://www.youtube.com/v/fGWR3uI3Qa0?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/fGWR3uI3Qa0/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="32847" average="4.87" min="1" max="5"/>+ <media:statistics views="8283728"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:i5P8lrgBtcU</id>+ <yt:videoId>i5P8lrgBtcU</yt:videoId>+ <yt:channelId>UCy4LN-5yaFGwrNxwRPbq3wQ</yt:channelId>+ <title>Ramones - Spider-Man</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=i5P8lrgBtcU"/>+ <author>+ <name>MACVSOG84</name>+ <uri>https://www.youtube.com/channel/UCy4LN-5yaFGwrNxwRPbq3wQ</uri>+ </author>+ <published>2007-06-20T10:11:25+00:00</published>+ <updated>2021-06-29T23:34:29+00:00</updated>+ <media:group>+ <media:title>Ramones - Spider-Man</media:title>+ <media:content url="https://www.youtube.com/v/i5P8lrgBtcU?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i2.ytimg.com/vi/i5P8lrgBtcU/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="93891" average="4.88" min="1" max="5"/>+ <media:statistics views="18467369"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:9BCTgMbLn_Q</id>+ <yt:videoId>9BCTgMbLn_Q</yt:videoId>+ <yt:channelId>UCZDjRj_pjO-G5AT90q0aCaw</yt:channelId>+ <title>The Ramones - I Wanna Live</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=9BCTgMbLn_Q"/>+ <author>+ <name>Flowers Of Romance</name>+ <uri>https://www.youtube.com/channel/UCZDjRj_pjO-G5AT90q0aCaw</uri>+ </author>+ <published>2010-05-11T22:57:18+00:00</published>+ <updated>2021-06-29T13:07:33+00:00</updated>+ <media:group>+ <media:title>The Ramones - I Wanna Live</media:title>+ <media:content url="https://www.youtube.com/v/9BCTgMbLn_Q?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i2.ytimg.com/vi/9BCTgMbLn_Q/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="26034" average="4.93" min="1" max="5"/>+ <media:statistics views="5825054"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:6siGKxcKol0</id>+ <yt:videoId>6siGKxcKol0</yt:videoId>+ <yt:channelId>UCia3sM3GMVzQhau9GcO7i6w</yt:channelId>+ <title>RAMONES - Rockaway Beach</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=6siGKxcKol0"/>+ <author>+ <name>Ramones ♪</name>+ <uri>https://www.youtube.com/channel/UCia3sM3GMVzQhau9GcO7i6w</uri>+ </author>+ <published>2009-09-17T09:54:19+00:00</published>+ <updated>2021-06-04T07:50:01+00:00</updated>+ <media:group>+ <media:title>RAMONES - Rockaway Beach</media:title>+ <media:content url="https://www.youtube.com/v/6siGKxcKol0?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i3.ytimg.com/vi/6siGKxcKol0/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="31202" average="4.89" min="1" max="5"/>+ <media:statistics views="8676371"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:CVQfVtzFd4U</id>+ <yt:videoId>CVQfVtzFd4U</yt:videoId>+ <yt:channelId>UCia3sM3GMVzQhau9GcO7i6w</yt:channelId>+ <title>RAMONES - Surfin' Bird</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=CVQfVtzFd4U"/>+ <author>+ <name>Ramones ♪</name>+ <uri>https://www.youtube.com/channel/UCia3sM3GMVzQhau9GcO7i6w</uri>+ </author>+ <published>2009-09-18T10:59:41+00:00</published>+ <updated>2021-06-04T07:42:10+00:00</updated>+ <media:group>+ <media:title>RAMONES - Surfin' Bird</media:title>+ <media:content url="https://www.youtube.com/v/CVQfVtzFd4U?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/CVQfVtzFd4U/hqdefault.jpg" width="480" height="360"/>+ <media:description>description</media:description>+ <media:community>+ <media:starRating count="36365" average="4.84" min="1" max="5"/>+ <media:statistics views="7416787"/>+ </media:community>+ </media:group>+ </entry>+ <entry>+ <id>yt:video:wIWpfS_MFHw</id>+ <yt:videoId>wIWpfS_MFHw</yt:videoId>+ <yt:channelId>UCGwgulq7fGfXK7nJvxVYTZA</yt:channelId>+ <title>Ramones - Substitute</title>+ <link rel="alternate" href="https://www.youtube.com/watch?v=wIWpfS_MFHw"/>+ <author>+ <name>RamonesVEVO</name>+ <uri>https://www.youtube.com/channel/UCGwgulq7fGfXK7nJvxVYTZA</uri>+ </author>+ <published>2009-12-20T08:28:02+00:00</published>+ <updated>2021-06-29T18:42:30+00:00</updated>+ <media:group>+ <media:title>Ramones - Substitute</media:title>+ <media:content url="https://www.youtube.com/v/wIWpfS_MFHw?version=3" type="application/x-shockwave-flash" width="640" height="390"/>+ <media:thumbnail url="https://i4.ytimg.com/vi/wIWpfS_MFHw/hqdefault.jpg" width="480" height="360"/>+ <media:description>Music video by Ramones performing Substitute. YouTube view counts pre-VEVO: 143,285 (C) 1994 Radioactive Records J.V.</media:description>+ <media:community>+ <media:starRating count="14003" average="4.90" min="1" max="5"/>+ <media:statistics views="2949584"/>+ </media:community>+ </media:group>+ </entry>+</feed>\ No newline at end of filediff --git a/plugins/discourse-rss-polling/spec/jobs/fix_topic_embed_authors_spec.rb b/plugins/discourse-rss-polling/spec/jobs/fix_topic_embed_authors_spec.rbnew file mode 100644index 00000000000..4403acf7295--- /dev/null+++ b/plugins/discourse-rss-polling/spec/jobs/fix_topic_embed_authors_spec.rb@@ -0,0 +1,41 @@+# frozen_string_literal: true++require "rails_helper"++RSpec.describe Jobs::DiscourseRssPolling::FixTopicEmbedAuthors do+ let(:job) { Jobs::DiscourseRssPolling::FixTopicEmbedAuthors.new }++ describe "#execute" do+ before { Jobs.run_later! }++ it "makes sure the topic and first post have the same author" do+ Sidekiq::Testing.fake! do+ topic_embed = create_mismatched_topic_embed+ post = topic_embed.post+ expected_user = post.user++ expect(post.user).to_not eq(post.topic.user)++ job.execute({})++ post.reload+ expect(post.user).to eq(expected_user)+ expect(post.user).to eq(post.topic.user)+ end+ end++ def create_mismatched_topic_embed+ topic_embed = Fabricate(:topic_embed, embed_url: "http://example.com/post/248")+ new_user = Fabricate(:user)++ topic_embed.post.revise(+ Discourse.system_user,+ { user_id: new_user.id },+ skip_validations: true,+ bypass_rate_limiter: true,+ )++ topic_embed+ end+ end+enddiff --git a/plugins/discourse-rss-polling/spec/jobs/poll_all_feeds_spec.rb b/plugins/discourse-rss-polling/spec/jobs/poll_all_feeds_spec.rbnew file mode 100644index 00000000000..963725677e1--- /dev/null+++ b/plugins/discourse-rss-polling/spec/jobs/poll_all_feeds_spec.rb@@ -0,0 +1,53 @@+# frozen_string_literal: true++require "rails_helper"++RSpec.describe Jobs::DiscourseRssPolling::PollAllFeeds do+ SiteSetting.rss_polling_enabled = true+ let(:job) { Jobs::DiscourseRssPolling::PollAllFeeds.new }++ describe "#execute" do+ before do+ DiscourseRssPolling::RssFeed.create!(url: "https://www.example.com/feed", author: "system")+ DiscourseRssPolling::RssFeed.create!(+ url: "https://blog.discourse.org/feed/",+ author: "discourse",+ )++ Jobs.run_later!+ Discourse.redis.del("rss-polling-feeds-polled")+ end++ it "queues correct PollFeed jobs" do+ Sidekiq::Testing.fake! do+ expect { job.execute({}) }.to change { Jobs::DiscourseRssPolling::PollFeed.jobs.size }.by(2)++ enqueued_jobs_args =+ Jobs::DiscourseRssPolling::PollFeed.jobs.last(2).map { |job| job["args"][0] }++ expect(enqueued_jobs_args[0]["feed_url"]).to eq("https://www.example.com/feed")+ expect(enqueued_jobs_args[0]["author_username"]).to eq("system")++ expect(enqueued_jobs_args[1]["feed_url"]).to eq("https://blog.discourse.org/feed/")+ expect(enqueued_jobs_args[1]["author_username"]).to eq("discourse")+ end+ end++ it "is rate limited" do+ Sidekiq::Testing.fake! do+ expect { job.execute({}) }.to change { Jobs::DiscourseRssPolling::PollFeed.jobs.size }.by(2)+ expect { job.execute({}) }.to_not change { Jobs::DiscourseRssPolling::PollFeed.jobs.size }+ end+ end++ context "when the plugin is disabled" do+ before { SiteSetting.rss_polling_enabled = false }++ it "does not queue PollFeed jobs" do+ Sidekiq::Testing.fake! do+ expect { job.execute({}) }.not_to change { Jobs::DiscourseRssPolling::PollFeed.jobs.size }+ end+ end+ end+ end+enddiff --git a/plugins/discourse-rss-polling/spec/jobs/poll_feed_spec.rb b/plugins/discourse-rss-polling/spec/jobs/poll_feed_spec.rbnew file mode 100644index 00000000000..62be83c9683--- /dev/null+++ b/plugins/discourse-rss-polling/spec/jobs/poll_feed_spec.rb@@ -0,0 +1,148 @@+# frozen_string_literal: true++require "rails_helper"++RSpec.describe Jobs::DiscourseRssPolling::PollFeed do+ SiteSetting.rss_polling_enabled = true+ let(:feed_url) { "https://blog.discourse.org/feed/" }+ let(:author) { Fabricate(:user, trust_level: 1) }+ let(:raw_feed) { file_from_fixtures("feed.rss", "feed") }+ let(:job) { Jobs::DiscourseRssPolling::PollFeed.new }++ describe "#execute" do+ before do+ Discourse.redis.del("rss-polling-feed-polled:#{Digest::SHA1.hexdigest(feed_url)}")+ stub_request(:head, feed_url).to_return(status: 200, body: "")+ stub_request(:get, feed_url).to_return(status: 200, body: raw_feed)+ end++ it "creates a topic with the right title, content and author" do+ expect { job.execute(feed_url: feed_url, author_username: author.username) }.to change {+ author.topics.count+ }++ topic = author.topics.last++ expect(topic.title).to eq("Poll Feed Spec Fixture")+ expect(topic.first_post.raw).to include("<p>This is the body & content. </p>")+ expect(topic.topic_embed.embed_url).to eq(+ "https://blog.discourse.org/2017/09/poll-feed-spec-fixture",+ )+ end++ context "with use_pubdate set to false" do+ before do+ SiteSetting.rss_polling_use_pubdate = false+ job.execute(feed_url: feed_url, author_username: author.username)+ end++ it "has a publication date of now" do+ topic = author.topics.last+ expect(topic.created_at.utc).to be_within(1.second).of Time.now+ expect(topic.first_post.created_at.utc).to be_within(1.second).of Time.now+ end+ end++ context "with use_pubdate set to true" do+ before do+ SiteSetting.rss_polling_use_pubdate = true+ job.execute(feed_url: feed_url, author_username: author.username)+ end++ it "has a publication date of the feed" do+ topic = author.topics.last+ expect(topic.created_at).to eq_time(DateTime.parse("2017-09-14 15:22:33.000000000 +0000"))+ expect(topic.first_post.created_at).to eq_time(+ DateTime.parse("2017-09-14 15:22:33.000000000 +0000"),+ )+ end+ end++ context "with a previous poll on a topic with tags" do+ let(:tag1) { Fabricate(:tag, name: "test-from-rss") }+ let(:tag2) { Fabricate(:tag, name: "test-update-from-rss") }++ before do+ SiteSetting.tagging_enabled = true+ job.execute(+ feed_url: feed_url,+ author_username: author.username,+ discourse_tags: [tag1.name],+ )+ Discourse.redis.del("rss-polling-feed-polled:#{Digest::SHA1.hexdigest(feed_url)}")+ end++ context "with rss polling set to true" do+ before { SiteSetting.rss_polling_update_tags = true }+ it "updates tags by default" do+ topic = author.topics.last+ job.execute(+ feed_url: feed_url,+ author_username: author.username,+ discourse_tags: [tag2.name],+ )+ topic = author.topics.last.reload+ expect(topic.tags).to match_array([tag2])+ end+ end++ context "with rss polling set to false" do+ before { SiteSetting.rss_polling_update_tags = false }++ it "does not update tags" do+ job.execute(+ feed_url: feed_url,+ author_username: author.username,+ discourse_tags: [tag2.name],+ )+ topic = author.topics.last+ expect(topic.tags).to match_array([tag1])+ end+ end+ end++ it "is rate limited by rss_polling_frequency" do+ 2.times { job.execute(feed_url: feed_url, author_username: author.username) }++ expect(WebMock).to have_requested(:get, feed_url).once+ end++ it "is not raising error if http request failed" do+ stub_request(:get, feed_url).to_raise(Excon::Error::HTTPStatus)+ job.execute(feed_url: feed_url, author_username: author.username)+ end++ it "skips the topic if the category doesn't exist on our side" do+ invalid_discourse_category_id = 99++ expect {+ job.execute(+ feed_url: feed_url,+ author_username: author.username,+ discourse_category_id: invalid_discourse_category_id,+ )+ }.not_to change { author.topics.count }++ expect(author.topics.last).to be_nil+ end++ it "does not raise error for valid xml but non-rss content" do+ stub_request(:get, feed_url).to_return(status: 200, body: "<html><body>tesing</body></html>")++ expect {+ job.execute(feed_url: feed_url, author_username: author.username)+ }.not_to raise_error+ end++ it "does not raise error for valid xml but non-rss title" do+ stub_request(:get, feed_url).to_return(+ status: 200,+ body: rss_polling_file_fixture("mastodon.rss").read,+ )++ expect {+ job.execute(feed_url: feed_url, author_username: author.username)+ }.not_to raise_error+ end+ end+enddiff --git a/plugins/discourse-rss-polling/spec/models/feed_item_spec.rb b/plugins/discourse-rss-polling/spec/models/feed_item_spec.rbnew file mode 100644index 00000000000..50482e47302--- /dev/null+++ b/plugins/discourse-rss-polling/spec/models/feed_item_spec.rb@@ -0,0 +1,109 @@+# frozen_string_literal: true++require "rails_helper"+require "rss"++RSpec.describe DiscourseRssPolling::FeedItem do+ RSpec.shared_examples "correctly parses the feed" do |**expected|+ let(:feed_item) { DiscourseRssPolling::FeedItem.new(raw_feed_item) }++ it { expect(feed_item.content).to eq(expected[:content]) }+ it { expect(feed_item.url).to eq(expected[:url]) }+ it { expect(feed_item.title).to eq(expected[:title]) }+ end++ context "with empty item" do+ let(:raw_feed_item) { {} }+ include_examples("correctly parses the feed", content: nil, url: nil, title: nil)+ end++ context "with RSS item" do+ let(:feed) { RSS::Parser.parse(file_from_fixtures("feed.rss", "feed")) }+ let(:raw_feed_item) { feed.items.first }++ include_examples(+ "correctly parses the feed",+ content: "<p>This is the body & content. </p>",+ url: "https://blog.discourse.org/2017/09/poll-feed-spec-fixture/",+ title: "Poll Feed Spec Fixture",+ )+ end++ context "with escaped title" do+ let(:raw_feed) { rss_polling_file_fixture("escaped_html.atom").read }+ let(:feed) { RSS::Parser.parse(raw_feed) }+ let(:raw_feed_item) { feed.entries.first }++ include_examples(+ "correctly parses the feed",+ content: "Here are some random descriptions...",+ url: "https://blog.discourse.org/2017/09/poll-feed-spec-fixture/",+ title: "Wellington: “Progress is hard!” Other cities: “Hold my beer”",+ )+ end++ context "with ATOM item with content element" do+ let(:feed) { RSS::Parser.parse(file_from_fixtures("feed.atom", "feed")) }+ let(:raw_feed_item) { feed.entries.first }++ include_examples(+ "correctly parses the feed",+ content: "<p>This is the body & content. </p>",+ url: "https://blog.discourse.org/2017/09/poll-feed-spec-fixture/",+ title: "Poll Feed Spec Fixture",+ )+ end++ context "with ATOM item with summary element" do+ let(:raw_feed) { rss_polling_file_fixture("no_content_only_summary.atom").read }+ let(:feed) { RSS::Parser.parse(raw_feed) }+ let(:raw_feed_item) { feed.entries.first }++ include_examples(+ "correctly parses the feed",+ content: "Here are some random descriptions...",+ url: "https://blog.discourse.org/2017/09/poll-feed-spec-fixture/",+ title: "Poll Feed Spec Fixture",+ )+ end++ context "with ATOM items with categories elements" do+ let(:raw_feed) { rss_polling_file_fixture("multiple_categories.atom").read }+ let(:feed) { RSS::Parser.parse(raw_feed, false) }+ let(:raw_feed_item) { feed.entries.first }++ include_examples(+ "correctly parses the feed",+ content: "Here are some random descriptions...",+ url: "https://blog.discourse.org/2017/09/poll-feed-spec-fixture/",+ title: "Poll Feed Spec Fixture",+ categories: ["spec", "xrav3nz diary"],+ )+ end++ context "with Youtube playlist" do+ let(:raw_feed) { rss_polling_file_fixture("youtube_playlist.xml").read }+ let(:feed) { RSS::Parser.parse(raw_feed, false) }+ let(:raw_feed_item) { feed.entries.first }++ include_examples(+ "correctly parses the feed",+ content: "https://www.youtube.com/watch?v=K56soYl0U1w",+ url: "https://www.youtube.com/watch?v=K56soYl0U1w",+ title: "The Ramones - Blitzkrieg Bop (With Lyrics)",+ )+ end++ context "with youtube channel" do+ let(:raw_feed) { rss_polling_file_fixture("youtube_channel.xml").read }+ let(:feed) { RSS::Parser.parse(raw_feed, false) }+ let(:raw_feed_item) { feed.entries.first }++ include_examples(+ "correctly parses the feed",+ content: "https://www.youtube.com/watch?v=peYYl2vrIt4",+ url: "https://www.youtube.com/watch?v=peYYl2vrIt4",+ title: "An Uncontroversial Opinion – AMD RX 6600 XT Announcement",+ )+ end+enddiff --git a/plugins/discourse-rss-polling/spec/models/feed_setting_spec.rb b/plugins/discourse-rss-polling/spec/models/feed_setting_spec.rbnew file mode 100644index 00000000000..396fdad2980--- /dev/null+++ b/plugins/discourse-rss-polling/spec/models/feed_setting_spec.rb@@ -0,0 +1,107 @@+# frozen_string_literal: true++require "rails_helper"++RSpec.describe DiscourseRssPolling::FeedSetting do+ SiteSetting.rss_polling_enabled = true+ let(:feed_url) { "https://blog.discourse.org/feed/" }+ let(:author) { Fabricate(:user, refresh_auto_groups: true) }+ let(:category) { Fabricate(:category) }+ let(:tag) { Fabricate(:tag) }+ let(:feed_category_filter) { "spec" }+ let(:feed_setting) do+ DiscourseRssPolling::FeedSetting.new(+ feed_url: feed_url,+ author_username: author.username,+ discourse_category_id: category.id,+ discourse_tags: [tag.name],+ feed_category_filter: feed_category_filter,+ )+ end+ let(:wrong_feed_setting) do+ DiscourseRssPolling::FeedSetting.new(+ feed_url: feed_url,+ author_username: author.username,+ discourse_category_id: category.id,+ discourse_tags: [tag.name],+ feed_category_filter: "non existing category",+ )+ end+ let(:missing_username_feed_setting) do+ DiscourseRssPolling::FeedSetting.new(+ feed_url: feed_url,+ author_username: nil,+ discourse_category_id: category.id,+ discourse_tags: [tag.name],+ feed_category_filter: feed_category_filter,+ )+ end+ let(:poll_feed_job) { Jobs::DiscourseRssPolling::PollFeed }++ describe "#poll" do+ context "with inline: false" do+ before { Jobs.run_later! }++ it "enqueues a Jobs::DiscourseRssPolling::PollFeed job with the correct arguments" do+ Sidekiq::Testing.fake! do+ expect { feed_setting.poll }.to change(poll_feed_job.jobs, :size).by(1)++ enqueued_job = poll_feed_job.jobs.last++ expect(enqueued_job["args"][0]["feed_url"]).to eq(feed_url)+ expect(enqueued_job["args"][0]["author_username"]).to eq(author.username)+ expect(enqueued_job["args"][0]["discourse_category_id"]).to eq(category.id)+ expect(enqueued_job["args"][0]["discourse_tags"]).to eq([tag.name])+ expect(enqueued_job["args"][0]["feed_category_filter"]).to eq(feed_category_filter)+ end+ end+ end++ context "with inline: true" do+ before { SiteSetting.tagging_enabled = true }++ it "polls and the feed and creates the new topics" do+ Discourse.redis.del("rss-polling-feed-polled:#{Digest::SHA1.hexdigest(feed_url)}")+ stub_request(:head, feed_url).to_return(status: 200, body: "")+ stub_request(:get, feed_url).to_return(+ status: 200,+ body: file_from_fixtures("feed.rss", "feed"),+ )++ expect { feed_setting.poll(inline: true) }.to change { author.topics.count }++ topic = author.topics.last++ expect(topic.title).to eq("Poll Feed Spec Fixture")+ expect(topic.first_post.raw).to include("<p>This is the body & content. </p>")+ expect(topic.topic_embed.embed_url).to eq(+ "https://blog.discourse.org/2017/09/poll-feed-spec-fixture",+ )+ expect(topic.category).to eq(category)+ expect(topic.tags.first.name).to eq(tag.name)+ end++ it "polls and the feed and does not create the new topics because of the category filter" do+ Discourse.redis.del("rss-polling-feed-polled:#{Digest::SHA1.hexdigest(feed_url)}")+ stub_request(:head, feed_url).to_return(status: 200, body: "")+ stub_request(:get, feed_url).to_return(+ status: 200,+ body: file_from_fixtures("feed.rss", "feed"),+ )++ expect { wrong_feed_setting.poll(inline: true) }.not_to change { author.topics.count }+ end++ it "does not create the new topics because of the missing username" do+ Discourse.redis.del("rss-polling-feed-polled:#{Digest::SHA1.hexdigest(feed_url)}")+ stub_request(:head, feed_url).to_return(status: 200, body: "")+ stub_request(:get, feed_url).to_return(+ status: 200,+ body: file_from_fixtures("feed.rss", "feed"),+ )++ expect { missing_username_feed_setting.poll(inline: true) }.not_to change { Topic.count }+ end+ end+ end+enddiff --git a/plugins/discourse-rss-polling/spec/plugin_helper.rb b/plugins/discourse-rss-polling/spec/plugin_helper.rbnew file mode 100644index 00000000000..e53e9de8eb3--- /dev/null+++ b/plugins/discourse-rss-polling/spec/plugin_helper.rb@@ -0,0 +1,11 @@+# frozen_string_literal: true++module RssPollingSpecHelper+ FILE_FIXTURE_PATH = File.expand_path("fixtures/files", File.dirname(__FILE__))++ def rss_polling_file_fixture(fixture_name)+ Pathname.new(File.join(FILE_FIXTURE_PATH, fixture_name))+ end+end++RSpec.configure { |config| config.include RssPollingSpecHelper }diff --git a/plugins/discourse-rss-polling/spec/requests/feed_settings_controller_spec.rb b/plugins/discourse-rss-polling/spec/requests/feed_settings_controller_spec.rbnew file mode 100644index 00000000000..cab3ba89b18--- /dev/null+++ b/plugins/discourse-rss-polling/spec/requests/feed_settings_controller_spec.rb@@ -0,0 +1,83 @@+# frozen_string_literal: true++require "rails_helper"++describe DiscourseRssPolling::FeedSettingsController do+ let!(:admin) { Fabricate(:admin) }++ before do+ sign_in(admin)++ SiteSetting.rss_polling_enabled = true+ end++ describe "#show" do+ before do+ DiscourseRssPolling::RssFeed.create!(+ url: "https://blog.discourse.org/feed",+ author: "system",+ category_id: 4,+ tags: nil,+ category_filter: "updates",+ )+ end++ it "returns the serialized feed settings" do+ expected_json =+ ActiveModel::ArraySerializer.new(+ DiscourseRssPolling::FeedSettingFinder.all,+ root: :feed_settings,+ ).to_json++ get "/admin/plugins/rss_polling/feed_settings.json"++ expect(response.status).to eq(200)+ expect(response.body).to eq(expected_json)+ end+ end++ describe "#update" do+ it "updates rss feeds" do+ put "/admin/plugins/rss_polling/feed_settings.json",+ params: {+ feed_setting: {+ feed_url: "https://www.newsite.com/feed",+ author_username: "system",+ feed_category_filter: "updates",+ },+ }++ expect(response.status).to eq(200)+ feeds = DiscourseRssPolling::FeedSettingFinder.all+ expect(feeds.count).to eq(1)+ end++ it "allows duplicate rss feed urls" do+ put "/admin/plugins/rss_polling/feed_settings.json",+ params: {+ feed_setting: {+ feed_url: "https://blog.discourse.org/feed",+ author_username: "system",+ discourse_category_id: 2,+ feed_category_filter: "updates",+ },+ }++ expect(response.status).to eq(200)++ put "/admin/plugins/rss_polling/feed_settings.json",+ params: {+ feed_setting: {+ feed_url: "https://blog.discourse.org/feed",+ author_username: "system",+ discourse_category_id: 4,+ feed_category_filter: "updates",+ },+ }++ expect(response.status).to eq(200)+ feeds = DiscourseRssPolling::FeedSettingFinder.all+ expect(feeds.count).to eq(2)+ end+ end+enddiff --git a/plugins/discourse-rss-polling/spec/services/feed_setting_finder_spec.rb b/plugins/discourse-rss-polling/spec/services/feed_setting_finder_spec.rbnew file mode 100644index 00000000000..6b88eb3e16e--- /dev/null+++ b/plugins/discourse-rss-polling/spec/services/feed_setting_finder_spec.rb@@ -0,0 +1,28 @@+# frozen_string_literal: true++require "rails_helper"++RSpec.describe DiscourseRssPolling::FeedSettingFinder do+ before do+ DiscourseRssPolling::RssFeed.create!(url: "https://blog.discourse.org/feed/", author: "system")+ DiscourseRssPolling::RssFeed.create!(url: "https://www.withwww.com/feed", author: "system")+ DiscourseRssPolling::RssFeed.create!(url: "https://withoutwww.com/feed", author: "system")+ end++ describe ".by_embed_url" do+ it "finds the feed setting with the same host" do+ setting =+ DiscourseRssPolling::FeedSettingFinder.by_embed_url("https://blog.discourse.org/2018/03/")+ expect(setting.feed_url).to eq("https://blog.discourse.org/feed/")+ end++ it "neglects www in the url" do+ setting = DiscourseRssPolling::FeedSettingFinder.by_embed_url("https://withwww.com/a-post/")+ expect(setting.feed_url).to eq("https://www.withwww.com/feed")++ setting =+ DiscourseRssPolling::FeedSettingFinder.by_embed_url("https://www.withoutwww.com/a-post/")+ expect(setting.feed_url).to eq("https://withoutwww.com/feed")+ end+ end+enddiff --git a/plugins/discourse-rss-polling/spec/system/admin_spec.rb b/plugins/discourse-rss-polling/spec/system/admin_spec.rbnew file mode 100644index 00000000000..ba52a281745--- /dev/null+++ b/plugins/discourse-rss-polling/spec/system/admin_spec.rb@@ -0,0 +1,42 @@+# frozen_string_literal: true++RSpec.describe "Rss Polling - admin", type: :system do+ fab!(:current_user) { Fabricate(:admin) }+ fab!(:category_1) { Fabricate(:category) }+ fab!(:tag_1) { Fabricate(:tag) }++ let(:url) { "http://example.com/rss" }++ before do+ SiteSetting.rss_polling_enabled = true+ sign_in(current_user)+ end++ it "can save an rss polling configuration" do+ visit("/admin/plugins/rss_polling")++ find(".add-rss-polling-feed").click+ find(".rss-polling-feed-url").fill_in(with: url)+ find(".rss-polling-feed-updates").fill_in(with: "updates")+ user = PageObjects::Components::SelectKit.new(".rss-polling-feed-user")+ user.search(current_user.username)+ user.select_row_by_value(current_user.username)+ category = PageObjects::Components::SelectKit.new(".rss-polling-feed-category")+ category.search(category_1.name)+ category.select_row_by_value(category_1.id)+ tag = PageObjects::Components::SelectKit.new(".rss-polling-feed-tag")+ tag.search(tag_1.name)+ tag.select_row_by_value(tag_1.name)+ find(".save-rss-polling-feed").click++ try_until_success do+ expect(DiscourseRssPolling::RssFeed.last).to have_attributes(+ url:,+ author: current_user.username,+ category_filter: "updates",+ category_id: category_1.id,+ tags: tag_1.name,+ )+ end+ end+enddiff --git a/plugins/discourse-rss-polling/spec/system/core_features_spec.rb b/plugins/discourse-rss-polling/spec/system/core_features_spec.rbnew file mode 100644index 00000000000..db86db283bd--- /dev/null+++ b/plugins/discourse-rss-polling/spec/system/core_features_spec.rb@@ -0,0 +1,7 @@+# frozen_string_literal: true++RSpec.describe "Core features", type: :system do+ before { enable_current_plugin }++ it_behaves_like "having working core features"+enddiff --git a/translator.yml b/translator.ymlindex 8638deae8e6..93448c79127 100644--- a/translator.yml+++ b/translator.yml@@ -178,3 +178,10 @@ files:- source_path: plugins/discourse-graphviz/config/locales/server.en.ymldestination_path: plugins/graphviz/server.ymllabel: graphviz++ - source_path: plugins/discourse-rss-polling/config/locales/client.en.yml+ destination_path: plugins/rss-polling/client.yml+ label: rss-polling+ - source_path: plugins/discourse-rss-polling/config/locales/server.en.yml+ destination_path: plugins/rss-polling/server.yml+ label: rss-polling