/trunk/configurations/config.defaut.ini |
---|
224,6 → 224,8 |
texteFormateWikiTpl = "{ref:texteWikiTpl}?txt.format=text/html" |
texteFormateSectionWikiTpl = "{ref:texteFormateWikiTpl}&txt.section.titre={sectionTitre}" |
smartFloreWikiTpl = "http://www.tela-botanica.org/wikini/eFloreRedactionTest/api/rest/0.5/pages/SmartFlore" |
wikipediaLienPageTpl = "http://{langue}.wikipedia.org/wiki/{id}" |
informationsTpl = "{ref:baseUrlApiEflore}/informations" |
/trunk/modules/mobile/sources/Texte.php |
---|
55,7 → 55,8 |
//formater pour AppUrls ? |
public function obtenirUrlWikini() { |
$titre = urlencode("Fiche simplifiée Smart'flore"); |
$url_wiki = "http://www.tela-botanica.org/wikini/eFloreRedaction/api/rest/0.5/pages/SmartFlore" |
$base_url_wiki = Config::get('smartFloreWikiTpl'); |
$url_wiki = $base_url_wiki |
.strtoupper($this->conteneur->getParametre('referentiel'))."nt".$this->nomCourant->getNomSelectionne()->get('num_taxonomique') |
."?txt.format=".$this->format."&txt.section.titre=".$titre; |