Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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