{"id":16853,"date":"2022-08-09T09:52:24","date_gmt":"2022-08-09T08:52:24","guid":{"rendered":"https:\/\/johnjohnston.info\/blog\/?p=16853"},"modified":"2022-08-09T09:52:24","modified_gmt":"2022-08-09T08:52:24","slug":"wordpress-urls-rss-blocks","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/wordpress-urls-rss-blocks\/","title":{"rendered":"WordPress URLs, RSS &#038; Blocks"},"content":{"rendered":"<p>I&#8217;ve just read <a href=\"https:\/\/cogdogblog.com\/2022\/08\/shaping-wordpress-irls\/\">On Reshaping: Tooling WordPress with nothing other than it\u2019s URLs \u2013 CogDogBlog<\/a><\/p>\r\n<p>Alan covers many of the interesting url patterns that can produce sets of posts in WordPress. I knew of some, but there are several gems I&#8217;d not discovered. Combining dates and taxonomies for example. RSS Feeds for all of these and finally RSS feeds for searches.<\/p>\r\n<p>Many of these could all be used as links on your site in the same ways as a simple category can be added to a menu. It reminds me of one of my favourite plugins <a href=\"https:\/\/displayposts.com\">Display Posts<\/a>\u00a0which lists posts filtered in every which way.\u00a0<\/p>\r\n<p>The RSS ones might be used to show a dynamic set of links from a different WordPress site. For example Alan mentions HyperCard in his post, by using the url for the RSS feed for a search on his site for HyperCard I can use the RSS block to show search results for HyperCard on Alan&#8217;s site:<\/p>\r\n<ul class=\"wp-block-rss\"><li class='wp-block-rss__item'><div class='wp-block-rss__item-title'><a href='https:\/\/cogdogblog.com\/2026\/03\/1996-storytelling-conference\/'>Weaving the Story of a 1996 Storytelling Conference from Shreds on the Web<\/a><\/div><\/li><li class='wp-block-rss__item'><div class='wp-block-rss__item-title'><a href='https:\/\/cogdogblog.com\/2026\/02\/this-is-was-for-everyone\/'>This [is\/was] For Everyone<\/a><\/div><\/li><li class='wp-block-rss__item'><div class='wp-block-rss__item-title'><a href='https:\/\/cogdogblog.com\/2024\/03\/fade-out-research-mentor\/'>Fade Out on the Mentor of Research Mentor<\/a><\/div><\/li><li class='wp-block-rss__item'><div class='wp-block-rss__item-title'><a href='https:\/\/cogdogblog.com\/2022\/08\/shaping-wordpress-irls\/'>On Reshaping: Tooling WordPress with nothing other than it\u2019s URLs<\/a><\/div><\/li><li class='wp-block-rss__item'><div class='wp-block-rss__item-title'><a href='https:\/\/cogdogblog.com\/2021\/11\/on-de-grading\/'>On [De]Grading<\/a><\/div><\/li><\/ul>\r\n<p>I don\u2019t usually use the block editor on this site. To insert the RSS block I switched to the block editor, inserted the block and switched back.<\/p>\r\n<p>This is a bit kludgy but apart from some bother with paragraphs it seems to work. \u00a0Once you have added the block and switch back to the classic editor the block is invisible in the Visual view but you see:<\/p>\r\n<p><code>&lt;!-- wp:rss {\"feedURL\":\"https:\/\/cogdogblog.com\/?s=Hypercard\\u0026feed=rss2\"} \/--&gt;<\/code>\u00a0in the text editor. You could just save the snippet, and change the url for later use. (Or just use the block editor it seems to be the future).<\/p>\r\n<p>See also <a href=\"https:\/\/readwriterespond.com\/2018\/01\/hidden-code\/\">Hidden in the Code &#8211; Read Write Respond<\/a>\u00a0found via a <a href=\"https:\/\/www.flickr.com\/photos\/aaron_davis\/38936484425\">search for a possilbe featured image<\/a>.\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve just read &#8220;On Reshaping: Tooling WordPress with nothing other than it\u2019s URLs&#8221; by @cogdog. This has given me some thoughts&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":["https:\/\/twitter.com\/johnjohnston\/status\/1556926424057102336","https:\/\/mastodon.social\/@johnjohnston\/108792064556305905"],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[610],"tags":[446,48,11],"post_format":[],"class_list":{"0":"post-16853","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-blogging","7":"tag-cogdog","8":"tag-rss","9":"tag-wordpress","10":"kind-article","12":"h-entry","13":"hentry"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-4nP","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/16853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=16853"}],"version-history":[{"count":10,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/16853\/revisions"}],"predecessor-version":[{"id":16869,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/16853\/revisions\/16869"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=16853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=16853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=16853"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=16853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}