{"id":193405,"date":"2024-06-19T10:02:25","date_gmt":"2024-06-19T10:02:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/rss-cors-enable\/"},"modified":"2024-06-19T10:06:05","modified_gmt":"2024-06-19T10:06:05","slug":"rss-cors-enable","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/rss-cors-enable\/","author":21151260,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"6.5.8","requires":"5.5","requires_php":"5.6","requires_plugins":null,"header_name":"RSS CORS Enable","header_author":"No Frills Plugins","header_description":"Adds CORS header to WordPress RSS feed.","assets_banners_color":"","last_updated":"2024-06-19 10:06:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.nofrillsplugins.com\/rss-feed-cors-all","header_author_uri":"https:\/\/www.nofrillsplugins.com\/","rating":0,"author_block_rating":0,"active_installs":80,"downloads":1771,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"nofrillsplugins","date":"2024-06-19 10:02:08"},"1.0.1":{"tag":"1.0.1","author":"nofrillsplugins","date":"2024-06-19 10:06:05"}},"upgrade_notice":{"1.0":"<p>This is the first releas.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6557,228704,1594,850,228703],"plugin_category":[],"plugin_contributors":[226967],"plugin_business_model":[],"class_list":["post-193405","plugin","type-plugin","status-publish","hentry","plugin_tags-cors","plugin_tags-cors-header-rss","plugin_tags-feeds","plugin_tags-rss","plugin_tags-rss-feed-cors","plugin_contributors-nofrillsplugins","plugin_committers-nofrillsplugins"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/rss-cors-enable.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>RSS CORS Enable is a simple yet powerful plugin designed to solve the common problem of accessing WordPress RSS feeds from different origins. By default, accessing WordPress RSS feeds via JavaScript from a domain different than the one where WordPress is hosted can result in Cross-Origin Resource Sharing (CORS) errors. This plugin addresses this issue by adding an <code>Access-Control-Allow-Origin: *<\/code> header to your WordPress RSS feed, making it accessible from any origin.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>rss-cors-enable<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>That's it! The plugin works out of the box, no configuration is needed.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20restrict%20the%20rss%20feed%20to%20be%20available%20for%20specific%20domains%20instead%20of%20all%3F'><h3>Can I restrict the RSS feed to be available for specific domains instead of all?<\/h3><\/dt>\n<dd><p>Yes, although the default behaviour is to allow all origins (<code>Access-Control-Allow-Origin: *<\/code>), you can modify the plugin code to specify specific domains. Replace the <code>*<\/code> in the <code>header(\"Access-Control-Allow-Origin: *\");<\/code> line with the domain you wish to allow. When you do this, it might be wiped away when upgrading the plugin.<\/p><\/dd>\n<dt id='does%20this%20plugin%20add%20cors%20headers%20to%20other%20parts%20of%20my%20website%20than%20the%20rss%20feed%3F'><h3>Does this plugin add CORS headers to other parts of my website than the RSS feed?<\/h3><\/dt>\n<dd><p>No, it shouldn't, as far as we've tested. This plugin is specifically designed to modify only the WordPress RSS feed responses. Other parts of your WordPress site or API will not be affected.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release. Adds CORS header to WordPress RSS feeds.<\/li>\n<\/ul>","raw_excerpt":"This plugin adds the necessary CORS (Cross-Origin Resource Sharing) header to your WordPress RSS feed, allowing it to be accessed from any origin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/193405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=193405"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nofrillsplugins"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=193405"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=193405"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=193405"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=193405"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=193405"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=193405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}