plugin:scrape
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
plugin:scrape [2014-07-05 09:44] – created andi | plugin:scrape [2023-09-20 14:56] (current) – old revision restored (2023-09-14 23:51) Aleksandr | ||
---|---|---|---|
Line 4: | Line 4: | ||
description: | description: | ||
author | author | ||
- | email : andi@splitbrain.org | + | email : dokuwiki@cosmocode.de |
type : syntax | type : syntax | ||
- | lastupdate : 2011-06-28 | + | lastupdate : 2023-09-14 |
compatible : | compatible : | ||
depends | depends | ||
Line 13: | Line 13: | ||
tags : include, html, jquery | tags : include, html, jquery | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : http:// | + | bugtracker : https:// |
- | sourcerepo : http:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
Line 22: | Line 22: | ||
This plugin allows you to include HTML scraped from a different website. The part to include can be specified by a jQuery-like expression. To prevent abuse all HTML is purified against malicious code and only whitelisted URLs can be scraped. | This plugin allows you to include HTML scraped from a different website. The part to include can be specified by a jQuery-like expression. To prevent abuse all HTML is purified against malicious code and only whitelisted URLs can be scraped. | ||
- | |||
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | [[https:// |
+ | |||
+ | Search and install | ||
===== Configuration ===== | ===== Configuration ===== | ||
Line 34: | Line 35: | ||
===== Syntax/ | ===== Syntax/ | ||
- | The general syntax is: '' | + | The general syntax is: |
- | ''// | + | {{scrape>url query|title}} |
- | '' | + | * **url** is the URL of the website you want to scrape. It must be matched by the regular expression given in the config. |
+ | * **query** is the '' | ||
+ | * **title** is only used when your query matched the URL of an image file. In that case the image will be embedded and the given title be added. You can leave out the title. | ||
- | ''// | + | Example: |
- | FIXME examples should be added | + | {{scrape> |
plugin/scrape.1404546289.txt.gz · Last modified: 2014-07-05 09:44 by andi