Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 322 | Rev 394 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 322 Rev 328
Line 49... Line 49...
49
		$this->textes->setId($this->getIdWp());
49
		$this->textes->setId($this->getIdWp());
50
		$texte = $this->textes->getTexte();
50
		$texte = $this->textes->getTexte();
51
		$wp['titre'] = $texte['titre'];
51
		$wp['titre'] = $texte['titre'];
52
		$wp['description'] = $texte['texte'];
52
		$wp['description'] = $texte['texte'];
53
		$this->meta->setProjet('wikipedia');
53
		$this->meta->setProjet('wikipedia');
-
 
54
		
-
 
55
		// TODO: décommenter ceci et remplacer le titre en dur lorsque le service
-
 
56
		// web wikipedia renverra les bonnes metadonnées
-
 
57
		//$meta = $this->meta->getMetaDonnees();
-
 
58
		//$titreMeta = $meta[0]['titre'];
-
 
59
		$titreMeta = "Description issue de www.wikipedia.org";
-
 
60
		$wp['meta']['titre'] = $titreMeta;
54
		$wp['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('wikipedia');
61
		$wp['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('wikipedia');
-
 
62
		
55
		return $wp;
63
		return $wp;
56
	}
64
	}
Line 57... Line 65...
57
 
65
 
58
	private function getIdWp() {
66
	private function getIdWp() {