{"id":71585,"date":"2017-07-12T07:05:42","date_gmt":"2017-07-12T07:05:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/getcontentfromurl\/"},"modified":"2017-07-12T07:05:42","modified_gmt":"2017-07-12T07:05:42","slug":"getcontentfromurl","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/getcontentfromurl\/","author":9048256,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.0","tested":"4.9.29","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"GetContentFromURL","header_author":"Daniel Schmitzer","header_description":"Load Content from url by using xpath","assets_banners_color":"f5f5f5","last_updated":"2017-07-12 07:05:42","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/daschmi.de\/","header_plugin_uri":"https:\/\/daschmi.de\/gcfu","header_author_uri":"https:\/\/daschmi.de\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1560,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1694995","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1694984","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1694984","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1694984","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1694984","resolution":"4","location":"assets"}},"screenshots":{"1":"<p>Grab the URL of the target page.<\/p>","2":"<p>get the XPath of the target container. (for example with the chrome dev tools)<\/p>","3":"<p>encode the XPath with urlencode.<\/p>","4":"<p>build and use the shortcut.<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[529,1936,80,538,33392],"plugin_category":[43],"plugin_contributors":[143768],"plugin_business_model":[],"class_list":["post-71585","plugin","type-plugin","status-closed","hentry","plugin_tags-content","plugin_tags-read","plugin_tags-shortcode","plugin_tags-url","plugin_tags-xpath","plugin_category-customization","plugin_contributors-daschmi","plugin_committers-daschmi"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/getcontentfromurl_f5f5f5.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/getcontentfromurl\/assets\/screenshot-1.png?rev=1694984","caption":"<p>Grab the URL of the target page.<\/p>"},{"src":"https:\/\/ps.w.org\/getcontentfromurl\/assets\/screenshot-2.png?rev=1694984","caption":"<p>get the XPath of the target container. (for example with the chrome dev tools)<\/p>"},{"src":"https:\/\/ps.w.org\/getcontentfromurl\/assets\/screenshot-3.png?rev=1694984","caption":"<p>encode the XPath with urlencode.<\/p>"},{"src":"https:\/\/ps.w.org\/getcontentfromurl\/assets\/screenshot-4.png?rev=1694984","caption":"<p>build and use the shortcut.<\/p>"}],"raw_content":"<!--section=description-->\n<p>Loads content from other url by using a shortcode. Full content or special container by using XPath.<\/p>\n\n<p>Examples:<\/p>\n\n<ul>\n<li><p>Displays the whole content from a page.<\/p>\n\n<p>[gcfu url=\"https:\/\/daschmi.de\"]<\/p><\/li>\n<li><p>Displays the featured article from wikipedia.<\/p>\n\n<p>[gcfu url=\"https:\/\/de.wikipedia.org\/wiki\/Wikipedia:Hauptseite\" xpath=\"%2F%2F%2A%5B%40id%3D%22mf-tfa%22%5D\"]<\/p><\/li>\n<\/ul>\n\n<p>The XPath argument must be url encoded. You can use <a href=\"https:\/\/daschmi.de\/tools-2\/urlencode-urldecode\/\" title=\"URL Encode custom String\">this<\/a> tool.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the '[gcfu]' shortcode on your pages<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the '[gcfu]' shortcode on your pages<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Loads content from other url by using a shortcode. Full content or special container by using XPath.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/71585","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=71585"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/daschmi"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=71585"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=71585"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=71585"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=71585"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=71585"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=71585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}