blocks:remotecontent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blocks:remotecontent [2017/04/13 17:59]
admin created
blocks:remotecontent [2023/01/31 16:46] (current)
Line 1: Line 1:
 +<​html><​!-- nomoodle --></​html>​{{ :​logo-apl.png?​nolink |}}<​html><​!-- /nomoodle --></​html>​
 ===== Remote content block ===== ===== Remote content block =====
  
 +
 +
 +   * **Component Type :** Block
 +   * **Name:** Remote Content
 +   * **Family:** Content
 +   * **Versions:​** 1.9, 2.2 to :M39:
 +   * **Distribution :** Public
 +   * **Disponibilité :** Stable
  
 ==== Description ==== ==== Description ====
Line 35: Line 44:
 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.
  
Line 42: Line 52:
 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 ​remote queries ====+==== Dynamic ​remote queries ====
  
 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 · Last modified: 2024/04/04 15:50 (external edit)