| Line 114... |
Line 114... |
| 114 |
/**
|
114 |
/**
|
| 115 |
* Générer les métadonnées du flux (titre, dates, editeur etc.)
|
115 |
* Générer les métadonnées du flux (titre, dates, editeur etc.)
|
| 116 |
* */
|
116 |
* */
|
| 117 |
private function construireDonneesCommunesAuFlux($infos) {
|
117 |
private function construireDonneesCommunesAuFlux($infos) {
|
| 118 |
$donnees = array();
|
118 |
$donnees = array();
|
| 119 |
$donnees['guid'] = '';
|
119 |
$donnees['guid'] = $this->creerUrlService();
|
| 120 |
$donnees['titre'] = 'pictoFlora : votes';
|
120 |
$donnees['titre'] = 'pictoFlora : votes';
|
| 121 |
$donnees['description'] = 'Ce flux regroupe les derniers votes sur les images de pictoFlora';
|
121 |
$donnees['description'] = 'Ce flux regroupe les derniers votes sur les images de pictoFlora';
|
| 122 |
$donnees['lien_service'] = $this->creerUrlService();
|
122 |
$donnees['lien_service'] = $this->creerUrlService();
|
| 123 |
$donnees['lien_del'] = $this->conteneur->getParametre('pictoAppliLien');
|
123 |
$donnees['lien_del'] = $this->conteneur->getParametre('pictoAppliLien');
|
| 124 |
$donnees['editeur'] = $this->conteneur->getParametre('editeur');
|
124 |
$donnees['editeur'] = $this->conteneur->getParametre('editeur');
|
| Line 155... |
Line 155... |
| 155 |
$item['guid'] = $this->creerGuidItem($info);
|
155 |
$item['guid'] = $this->creerGuidItem($info);
|
| 156 |
$item['lien'] = $this->creerLienItem($info);
|
156 |
$item['lien'] = $this->creerLienItem($info);
|
| 157 |
$item['categorie'] = $this->creerCategorie($item);
|
157 |
$item['categorie'] = $this->creerCategorie($item);
|
| 158 |
$item['description'] = $this->creerDescription($info, $item);
|
158 |
$item['description'] = $this->creerDescription($info, $item);
|
| 159 |
$item['description_encodee'] = htmlspecialchars($this->creerDescription($info, $item));
|
159 |
$item['description_encodee'] = htmlspecialchars($this->creerDescription($info, $item));
|
| 160 |
$item['modifie_par'] = $this->creerVotant($info);
|
160 |
$item['modifier_par'] = $this->creerVotant($info);
|
| 161 |
return $item;
|
161 |
return $item;
|
| 162 |
}
|
162 |
}
|
| Line 163... |
Line 163... |
| 163 |
|
163 |
|
| 164 |
private function creerCategorie($element) {
|
164 |
private function creerCategorie($element) {
|