{"id":21030,"date":"2012-12-03T00:32:37","date_gmt":"2012-12-03T00:32:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/shortcurl\/"},"modified":"2017-12-16T19:22:47","modified_gmt":"2017-12-16T19:22:47","slug":"shortcurl","status":"publish","type":"plugin","link":"https:\/\/ka.wordpress.org\/plugins\/shortcurl\/","author":8434023,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.17.49","stable_tag":"trunk","tested":"4.9.29","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"EZ SHORTCURL Shortcodes to Fetch and Parse External Content","header_author":"Eli Scheetz","header_description":"","assets_banners_color":"","last_updated":"2017-12-16 19:22:47","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=8VWNB5QEJ55TJ","header_plugin_uri":"http:\/\/wordpress.ieonly.com\/category\/my-plugins\/shortcurl\/","header_author_uri":"http:\/\/wordpress.ieonly.com\/category\/my-plugins\/","rating":5,"author_block_rating":0,"active_installs":90,"downloads":13082,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"3.17.49":"<p>Fixed more Undefined index Notices.<\/p>","3.17.29":"<p>Fixed multiple Undefined index Notices.<\/p>","3.16.29":"<ul>\n<li>Added a Shortcode Widget with pop-out position options.<\/li>\n<\/ul>","3.14.34":"<p>Replaced the SESSION code with the use of GLOBALS for broader compatibilty.<\/p>","3.14.53":"<p>Improved the error messages and fixed the parameters in to remote_get function to improve the handling of GET variables and empty strings.<\/p>","3.04.26":"<p>Added a shortcode for str_replace, support for arrays in preg_replace, and an alternate shortcode for running preg_replace on another shortcode.<\/p>","1.3.03.25":"<p>Added a shortcode for preg_replace to further manipulate content.<\/p>","1.3.03.15":"<p>Fixed error handling on line 71 to report the whole curl error on the admin pages.<\/p>","1.2.12.06":"<p>Fixed call to plugin_row_meta.<\/p>","1.2.12.05":"<p>Added 24 hour caching to speed up page loads and admin_notices if fatching or parsing produces any errors.<\/p>","1.2.12.01":"<p>First versions available through WordPress.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1057953","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1057953","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.12.01","1.2.12.05","1.2.12.06","1.3.03.15","1.3.03.25","3.04.26","3.14.34","3.14.53","3.16.29","3.17.29","4.15.34","4.17.49"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5219,29602,80,149492,29601],"plugin_category":[43],"plugin_contributors":[77903],"plugin_business_model":[],"class_list":["post-21030","plugin","type-plugin","status-publish","hentry","plugin_tags-curl","plugin_tags-preg_replace","plugin_tags-shortcode","plugin_tags-str_replace","plugin_tags-wp_remote_get","plugin_category-customization","plugin_contributors-scheeeli","plugin_committers-scheeeli"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/shortcurl\/assets\/icon-128x128.png?rev=1057953","icon_2x":"https:\/\/ps.w.org\/shortcurl\/assets\/icon-256x256.png?rev=1057953","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Use the shortcode \"remote_get\" with the parameter \"url\" to insert the content from that url into your page or post. You can also use parameters like start and stop (or end) to parse out a specific part of the content that you wish to display.<\/p>\n\n<p>Now you can also wrap any content in the \"preg_replace\" shortcode to manipulate it into the desired format. Tricky stuff, but very powerful, if you know what you're doing.<\/p>\n\n<p>Updated December 16th<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and unzip the plugin into your WordPress plugins directory (usually <code>\/wp-content\/plugins\/<\/code>).<\/li>\n<li>Activate the plugin through the 'Plugins' menu in your WordPress Admin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Download and unzip the plugin into your WordPress plugins directory (usually <code>\/wp-content\/plugins\/<\/code>).<\/li>\n<li>Activate the plugin through the 'Plugins' menu in your WordPress Admin.<\/li>\n<\/ol><\/dd>\n<dt>What do I do after I activate the Plugin?<\/dt>\n<dd><p>Use the shorcode remote_get with a url parameter on a page or post to bring in external content.<\/p><\/dd>\n<dt>What does a example of the shortcode look like?<\/dt>\n<dd><p>[remote_get url=\"https:\/\/wordpress.org\/plugins\/shortcurl\/stats\/\" start='&lt;div class=\"block-content\"' stop='!-- block-content--' length=\"-1\" replace=\"='\/extend\" with=\"='http:\/\/wordpress.org\/extend\" replace2=\"%2Fextend%2F\" with2=\"http%3A%2F%2Fwordpress.org%2Fextend%2F\"]<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.17.49<\/h4>\n\n<ul>\n<li>Fixed more Undefined index Notices.<\/li>\n<\/ul>\n\n<h4>3.17.29<\/h4>\n\n<ul>\n<li>Fixed multiple Undefined index Notices.<\/li>\n<\/ul>\n\n<h4>3.16.29<\/h4>\n\n<ul>\n<li>Added a Shortcode Widget with pop-out position options.<\/li>\n<\/ul>\n\n<h4>3.14.34<\/h4>\n\n<ul>\n<li>Replaced the SESSION code with the use of GLOBALS for broader compatibilty.<\/li>\n<\/ul>\n\n<h4>3.14.53<\/h4>\n\n<ul>\n<li>Fixed the \"with\" parameter in to remote_get function to accempt empty string.<\/li>\n<li>Decoded HTML Entities in the URL parameter to improve the handling of GET variables in the URL String.<\/li>\n<li>Improved the error messages by adding what URL triggered the error.<\/li>\n<\/ul>\n\n<h4>3.04.26<\/h4>\n\n<ul>\n<li>Added a shortcode for str_replace simple string manipulation.<\/li>\n<li>Added support for arrays in preg_replace shortcode.<\/li>\n<li>Added an alternate shortcode for running preg_replace on another shortcode vs. on the results of another shortcode.<\/li>\n<\/ul>\n\n<h4>1.3.03.25<\/h4>\n\n<ul>\n<li>Added a shortcode for preg_replace to further manipulate content.<\/li>\n<\/ul>\n\n<h4>1.3.03.15<\/h4>\n\n<ul>\n<li>Fixed error handling on line 71 to report the whole curl error on the admin pages.<\/li>\n<\/ul>\n\n<h4>1.2.12.06<\/h4>\n\n<ul>\n<li>Fixed call to plugin_row_meta.<\/li>\n<\/ul>\n\n<h4>1.2.12.05<\/h4>\n\n<ul>\n<li>Added 24 hour caching to speed up page loads.<\/li>\n<li>Added admin_notices if fatching or parsing produces any errors.<\/li>\n<\/ul>\n\n<h4>1.2.12.01<\/h4>\n\n<ul>\n<li>First versions uploaded to WordPress.<\/li>\n<\/ul>","raw_excerpt":"Use the shortcodes remote_get and preg_replace to fetch external content and parse it to use on your page or post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21030"}],"author":[{"embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/scheeeli"}],"wp:attachment":[{"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21030"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21030"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21030"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21030"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21030"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ka.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}