/trunk/services/modules/0.1/syndication/SyndicationTagsParProtocole.php |
---|
169,13 → 169,13 |
} |
private function creerGuidItem($element) { |
$guid = sprintf($this->conteneur->getParametre('tagParProtocole'), $element['id_tag']); |
$guid = sprintf($this->conteneur->getParametre('tagGuidTpl'), $element['id_tag']); |
return $guid; |
} |
private function creerLienItem($element) { |
// TODO : ajouter un lien vers la plateforme validation de picto lorsqu'elle sera dispo |
$lien = $this->conteneur->getParametre('pictofloraFicheObsTpl'); |
$lien = sprintf($this->conteneur->getParametre('imgFicheTpl'), $element['id_image']); |
return $lien; |
} |
/trunk/services/modules/0.1/syndication/SyndicationVotesParProtocole.php |
---|
168,12 → 168,12 |
} |
private function creerGuidItem($element) { |
$guid = sprintf($this->conteneur->getParametre('voteParProtocole'), $element['id_vote']); |
$guid = sprintf($this->conteneur->getParametre('voteGuidTpl'), $element['id_vote']); |
return $guid; |
} |
private function creerLienItem($element) { |
$lien = sprintf($this->conteneur->getParametre('pictofloraFicheObsTpl'), $element['id_observation']); |
$lien = sprintf($this->conteneur->getParametre('imgFicheTpl'), $element['id_image']); |
return $lien; |
} |
/trunk/services/modules/0.1/syndication/squelettes/rss2.tpl.xml |
---|
21,6 → 21,5 |
</item> |
<?php endforeach; ?> |
<?php endif; ?> |
</channel> |
</rss> |
/trunk/services/modules/0.1/syndication/squelettes/atom.tpl.xml |
---|
1,6 → 1,5 |
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";?> |
<feed xmlns="http://www.w3.org/2005/Atom"> |
<title><?=$titre?></title> |
<link href="<?=$lien_service?>" rel="alternate" type="text/html" hreflang="fr" /> |
<link href="<?=$lien_service?>" rel="self" type="application/atom+xml"/> |
12,7 → 11,6 |
<rights>Copyright (c) <?=$annee_courante?>, <?=$editeur?></rights> |
<generator uri="<?=$lien_service?>" version="<?=$generateur_version?>"><?=$generateur?></generator> |
<?php if (isset($items)) : ?> |
<?php foreach ($items as $item) : ?> |
<entry> |
32,5 → 30,4 |
</entry> |
<?php endforeach; ?> |
<?php endif; ?> |
</feed> |
/trunk/services/modules/0.1/syndication/SyndicationCommentaires.php |
---|
91,7 → 91,7 |
$donnees['titre'] = 'identiPlante : commentaires et propositions'; |
$donnees['description'] = 'Ce flux regroupe les dernières déterminations et commentaires rédigés dans l\'application identiPlante'; |
$donnees['lien_service'] = htmlspecialchars($this->creerUrlService()); |
$donnees['lien_del'] = $this->conteneur->getParametre('delAppliLien'); |
$donnees['lien_del'] = $this->conteneur->getParametre('obsAppliLien'); |
$donnees['editeur'] = $this->conteneur->getParametre('editeur'); |
$derniere_info_en_date = reset($infos); |
$date_modification_timestamp = $this->convertirDateHeureMysqlEnTimestamp($derniere_info_en_date['date']); |
160,12 → 160,12 |
} |
private function creerGuidItem($element) { |
$guid = sprintf($this->conteneur->getParametre('guidObsTpl'), $element['id_commentaire']); |
$guid = sprintf($this->conteneur->getParametre('commentaireGuidTpl'), $element['id_commentaire']); |
return $guid; |
} |
private function creerLienItem($element) { |
$lien = sprintf($this->conteneur->getParametre('delFicheObsTpl'), $element['dob_id_observation']); |
$lien = sprintf($this->conteneur->getParametre('obsFicheTpl'), $element['dob_id_observation']); |
return $lien; |
} |