Changeset 1694984
- Timestamp:
- 07/12/2017 07:48:47 AM (8 years ago)
- Location:
- getcontentfromurl
- Files:
-
- 4 added
- 1 edited
-
assets/screenshot-1.png (added)
-
assets/screenshot-2.png (added)
-
assets/screenshot-3.png (added)
-
assets/screenshot-4.png (added)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
getcontentfromurl/trunk/readme.txt
r1694959 r1694984 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Loads content from other url by using a shortcode. Full content or special container by using xpath.11 Loads content from other url by using a shortcode. Full content or special container by using XPath. 12 12 13 13 == Description == 14 14 15 Loads content from other url by using a shortcode. Full content or special container by using xpath.15 Loads content from other url by using a shortcode. Full content or special container by using XPath. 16 16 17 17 Examples: 18 18 19 * [gcfu url="https://daschmi.de"] 20 Displays the whole content from the page. 19 * Displays the whole content from a page. 21 20 22 ‘[gcfu url="https://de.wikipedia.org/wiki/Wikipedia:Hauptseite" xpath="%2F%2F%2A%5B%40id%3D%22mf-tfa%22%5D"]’ 23 Displays the featured article from wikipedia. 24 The xPath argument must be url encoded. You can use [this](https://daschmi.de/tools-2/urlencode-urldecode/ "URL Encode custom String”) 21 `[gcfu url="https://daschmi.de"]` 22 23 * Displays the featured article from wikipedia. 24 25 `[gcfu url="https://de.wikipedia.org/wiki/Wikipedia:Hauptseite" xpath="%2F%2F%2A%5B%40id%3D%22mf-tfa%22%5D"]` 26 27 The XPath argument must be url encoded. You can use [this](https://daschmi.de/tools-2/urlencode-urldecode/ "URL Encode custom String") tool. 28 29 == Screenshots == 30 31 1. Grab the URL of the target page. 32 33 2. get the XPath of the target container. (for example with the chrome dev tools) 34 35 3. encode the XPath with urlencode. 36 37 4. build and use the shortcut. 25 38 26 39 == Installation ==
Note: See TracChangeset
for help on using the changeset viewer.