{"id":33590,"date":"2024-09-12T12:01:22","date_gmt":"2024-09-12T10:01:22","guid":{"rendered":"https:\/\/notiz.blog\/?post_type=rssclub&#038;p=33590"},"modified":"2024-09-12T12:01:22","modified_gmt":"2024-09-12T10:01:22","slug":"praise-rss-through-rss","status":"publish","type":"rssclub","link":"https:\/\/notiz.blog\/rss-club\/praise-rss-through-rss\/","title":{"rendered":"Praise RSS through RSS"},"content":{"rendered":"<p>\ud83d\udc4a It's a secret to everyone! <a href=\"https:\/\/daverupert.com\/rss-club\/\">Read more about RSS Club<\/a>.<\/p>\n<p><a href=\"https:\/\/kevquirk.com\/\">Kev Quirk<\/a> und andere bedanken sich bei ihren Lesern die RSS benutzen um das jeweilige Blog zu lesen. Ich mag die Idee (ja, ich bin schnell und einfach zu begeistern \u263a\ufe0f) und m\u00f6chte ein bisschen Werbung f\u00fcr <a href=\"https:\/\/jeremy.hu\/\">Jeremy Herves<\/a> <a href=\"https:\/\/jeremy.hu\/thanking-my-rss-readers\/\">WordPress Snippet<\/a> machen, \u00fcber das ich \u00fcberhaupt erst auf das Thema gesto\u00dfen bin.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\">\/**\n * Display a nice welcoming message to folks reading posts via RSS.\n *\n * Kudos Kev Quirk for the idea!\n *\n * <span class=\"hljs-doctag\">@param<\/span> string $content The current post content.\n *\n * <span class=\"hljs-doctag\">@return<\/span> string\n *\/<\/span>\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">jeherve_welcome_rss_readers<\/span><span class=\"hljs-params\">( $content )<\/span> <\/span>{\n\t$welcome_messages = <span class=\"hljs-keyword\">array<\/span>(\n\t\t<span class=\"hljs-string\">'Thanks for reading this post via RSS. RSS is great, and you\u2019re great for using it. \u2665\ufe0f'<\/span>,\n\t\t<span class=\"hljs-string\">'Congratulations on being an RSS reader! You are part of an elite group of people who know how to stay updated in style.'<\/span>,\n\t\t<span class=\"hljs-string\">'Hey there, RSS reader! You\u2019re one of a special few, choosing this old-school yet awesome way of staying informed. Kudos!'<\/span>,\n\t\t<span class=\"hljs-string\">'You are a true RSS aficionado! While others are drowning in social media noise, you enjoy the simplicity and control of RSS. Congrats!'<\/span>,\n\t\t<span class=\"hljs-string\">'RSS readers like you are the unsung heroes of the internet. Keep up the good work!'<\/span>,\n\t\t<span class=\"hljs-string\">'You are a master of efficiency! By using RSS, you save time and avoid distractions. \ud83d\udc4f'<\/span>,\n\t\t<span class=\"hljs-string\">'RSS readers like you are the secret sauce of the internet. Keep rocking and staying informed!'<\/span>,\n\t\t<span class=\"hljs-string\">'Hey there, RSS reader! You\u2019re cool. Keep being awesome! \ud83d\ude0e'<\/span>,\n\t);\n\n\t$welcome_message = $welcome_messages&#91; wp_rand( <span class=\"hljs-number\">0<\/span>, count( $welcome_messages ) - <span class=\"hljs-number\">1<\/span> ) ];\n\n\t<span class=\"hljs-keyword\">return<\/span> sprintf(\n\t\t<span class=\"hljs-string\">'%1$s&lt;p&gt;%2$s&lt;\/p&gt;'<\/span>,\n\t\t$content,\n\t\t$welcome_message\n\t);\n}\nadd_filter( <span class=\"hljs-string\">'the_content_feed'<\/span>, <span class=\"hljs-string\">'jeherve_welcome_rss_readers'<\/span> );<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code-Sprache:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Es ist eigentlich eine sch\u00f6ne Erg\u00e4nzung f\u00fcr das <a href=\"https:\/\/notiz.blog\/rss-club\/o-rss-my-rss\/\">RSS-Club Plugin<\/a>&#8230; Mal schauen was Jeremy davon h\u00e4lt, wenn ich es dort einbaue!?!<\/p>\n","protected":false},"author":1,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"footnotes":""},"tags":[5171,103,57],"class_list":{"0":"post-33590","1":"rssclub","2":"type-rssclub","3":"status-publish","4":"format-standard","6":"tag-fediblog","7":"tag-rss","8":"tag-wordpress","9":"h-entry","10":"hentry"},"_links":{"self":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/rssclub\/33590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/rssclub"}],"about":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/types\/rssclub"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/comments?post=33590"}],"version-history":[{"count":3,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/rssclub\/33590\/revisions"}],"predecessor-version":[{"id":33593,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/rssclub\/33590\/revisions\/33593"}],"wp:attachment":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/media?parent=33590"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/tags?post=33590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}