Plugin Directory

Changeset 1694984


Ignore:
Timestamp:
07/12/2017 07:48:47 AM (8 years ago)
Author:
Daschmi
Message:
  • Update readme.txt
Location:
getcontentfromurl
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • getcontentfromurl/trunk/readme.txt

    r1694959 r1694984  
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Loads content from other url by using a shortcode. Full content or special container by using xpath.
     11Loads content from other url by using a shortcode. Full content or special container by using XPath.
    1212
    1313== Description ==
    1414
    15 Loads content from other url by using a shortcode. Full content or special container by using xpath.
     15Loads content from other url by using a shortcode. Full content or special container by using XPath.
    1616
    1717Examples:
    1818
    19 * [gcfu url="https://daschmi.de"]
    20 Displays the whole content from the page.
     19* Displays the whole content from a page.
    2120
    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
     27The 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
     311. Grab the URL of the target page.
     32
     332. get the XPath of the target container. (for example with the chrome dev tools)
     34
     353. encode the XPath with urlencode.
     36
     374. build and use the shortcut.
    2538
    2639== Installation ==
Note: See TracChangeset for help on using the changeset viewer.