{"id":3066,"date":"2022-12-15T13:11:54","date_gmt":"2022-12-15T18:11:54","guid":{"rendered":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/?page_id=3066"},"modified":"2022-12-15T14:05:26","modified_gmt":"2022-12-15T19:05:26","slug":"newswire-feed-block","status":"publish","type":"page","link":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/products\/nc-state-web-platform\/blocks\/newswire-feed-block\/","title":{"rendered":"Newswire Feed Block"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Use Cases<\/h2>\n\n\n\n<p>The Newswire Feed block allows content maintainers to more easily set up a feed of posts from Newswire directly on their web pages. Similar to the <a href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/products\/nc-state-web-platform\/blocks\/automated-posts-block\/\">Automated Posts block<\/a>, the Newswire Feed block automates the process of pulling in numerous stories at once instead of sharing them each individually. <\/p>\n\n\n\n<p>Unlike the Automated Posts block, the Newswire Feed block features an additional field where content maintainers can provide a Collection ID and will set up the block to only pull posts from that collection. Previously the Newswire plugin was needed to import a post into the WordPress installation. This new block mitigates the amount of work now needed to pull content from the Newswire as it circumvents the need to import content from the Newswire onto a site.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-feed-block.jpg\" data-fullsize=\"1524x801\" data-zoom=\"true\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-feed-block-1024x538.jpg\" alt=\"Screenshot of the Newswire Feed block\" class=\"wp-image-3070\" srcset=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-feed-block-1024x538.jpg 1024w, https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-feed-block-300x158.jpg 300w, https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-feed-block-768x404.jpg 768w, https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-feed-block.jpg 1524w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The Newswire Feed block gives you the option of displaying stories in a three or two-column format.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Features<\/h2>\n\n\n\n<p>Similar to the <a href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/products\/nc-state-web-platform\/blocks\/automated-posts-block\/\">Automated Post block<\/a>, the Newswire Feed block allows you to display stories in a three or two-column format. What makes the Newswire Feed block unique, is that it allows you to pull from any Newswire collection by simply including a specific collection ID (see image below).<\/p>\n\n\n\n<p>For more info on blocks and adding them to a WordPress site, see our <a rel=\"noreferrer noopener\" href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/platforms\/nc-state-theme\/blocks\/\" target=\"_blank\">documentation on blocks<\/a>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-collection-ID.jpg\" data-fullsize=\"1919x950\" data-zoom=\"true\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-collection-ID-1024x507.jpg\" alt=\"Example of Newswire collection ID\" class=\"wp-image-3073\" srcset=\"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-collection-ID-1024x507.jpg 1024w, https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-collection-ID-300x149.jpg 300w, https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-collection-ID-768x380.jpg 768w, https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-collection-ID-1536x760.jpg 1536w, https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-content\/uploads\/2022\/12\/newswire-collection-ID.jpg 1919w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The most important step of setting up the Newswire Feed block is specifying the collection from which you&#8217;d like to pull.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Need help?<\/h2>\n\n\n\n<p>Have questions? Feel free to reach out with any questions or concerns at\u00a0<a href=\"http:\/\/go.ncsu.edu\/ucomm-dev-request\">go.ncsu.edu\/ucomm-dev-request<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use Cases The Newswire Feed block allows content maintainers to more easily set up a feed of posts from Newswire directly on their web pages. Similar to the Automated Posts&hellip;<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":178,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ncst_dynamicHeaderBlockName":"ncst\/default-header","ncst_dynamicHeaderData":"{\"pageIntro\":\"Pulling curated news content from the Newswire and then sharing it directly on your site \"}","ncst_content_audit_freq":"","ncst_content_audit_date":"","footnotes":"","_links_to":"","_links_to_target":""},"acf":[],"_links":{"self":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/3066"}],"collection":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/comments?post=3066"}],"version-history":[{"count":5,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/3066\/revisions"}],"predecessor-version":[{"id":3075,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/3066\/revisions\/3075"}],"up":[{"embeddable":true,"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/pages\/178"}],"wp:attachment":[{"href":"https:\/\/dev.ucomm.ncsu.edu\/documentation\/wp-json\/wp\/v2\/media?parent=3066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}