blocks:remotecontent
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| blocks:remotecontent [2017/04/13 15:59] – created admin | blocks:remotecontent [2025/12/10 16:16] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ===== Remote content block ===== | ===== Remote content block ===== | ||
| + | |||
| + | |||
| + | * **Component Type :** Block | ||
| + | * **Name:** Remote Content | ||
| + | * **Family:** Content | ||
| + | * **Versions: | ||
| + | * **Distribution :** Public | ||
| + | * **Disponibilité :** Stable | ||
| ==== Description ==== | ==== Description ==== | ||
| Ligne 35: | Ligne 43: | ||
| The configuration will allow entering a local additional CSS that may help visually cleaning or modifying visual formatting of the content. | The configuration will allow entering a local additional CSS that may help visually cleaning or modifying visual formatting of the content. | ||
| - | ==== html raw capture ==== | + | ==== Html raw capture ==== |
| In this mode, we get a remote plain stream and cut the content between a start and an ending detector. | In this mode, we get a remote plain stream and cut the content between a start and an ending detector. | ||
| Ligne 42: | Ligne 51: | ||
| The capture mode based on start and end patterns assume there are such recognizable patterns in the received content flow. This is not always tivial. We will examine how to use a Dom parser to extract a portion of content based on a XPath identifier that would be more flexible to cut an interesting content sequence. | The capture mode based on start and end patterns assume there are such recognizable patterns in the received content flow. This is not always tivial. We will examine how to use a Dom parser to extract a portion of content based on a XPath identifier that would be more flexible to cut an interesting content sequence. | ||
| - | ==== dynamic | + | ==== Dynamic |
| In some cases, (still in study) we will allow internal dynamic values injection in the remote queries (such as username, user id o idnumber, course idnumber or shortname, etc... in general any available contextual available data that might be usefull to divert the remote server reponse) | In some cases, (still in study) we will allow internal dynamic values injection in the remote queries (such as username, user id o idnumber, course idnumber or shortname, etc... in general any available contextual available data that might be usefull to divert the remote server reponse) | ||
blocks/remotecontent.1492099175.txt.gz · Dernière modification : (modification externe)
