Linux 软件免费装
Banner图

GetContentFromURL

开发者 Daschmi
更新时间 2017年7月15日 02:53
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 4.9
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode content url read xpath

下载

1.0

详情介绍:

Loads content from other url by using a shortcode. Full content or special container by using XPath. Examples: [gcfu url="https://daschmi.de"] [gcfu url="https://de.wikipedia.org/wiki/Wikipedia:Hauptseite" xpath="%2F%2F%2A%5B%40id%3D%22mf-tfa%22%5D"] The XPath argument must be url encoded. You can use this tool.

安装:

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use the '[gcfu]' shortcode on your pages

屏幕截图:

  • Grab the URL of the target page.
  • get the XPath of the target container. (for example with the chrome dev tools)
  • encode the XPath with urlencode.
  • build and use the shortcut.

更新日志:

1.0