public function __construct($slug) { parent::__construct(); $this->candidato_slug = $slug; $this->titulo = 'Noticias del Peru y del Mundo ,Ollanta Humala,Nadine Heredia,Perumin,Caso Oropeza,Humberto Martínez Morosini,Aylan Kurdi,Donald Trump | RPP NOTICIAS'; \Rpp\Services\Get\UrlTrack::$ns_mchannel = 'portada.resumen.de.la.hora'; $this->ref = load_ref(); $this->load_comscore(); $this->comscore = 'resumen_de_la_hora'; $this->description = 'RPP Noticias tiene las últimas noticias sobre política, futbol y farándula nacional e internacional. Ediciones regionales y de todo el Peru'; $this->keywords = 'rppnoticias, noticias del peru y el mundo ,Ollanta Humala,Nadine Heredia,Perumin,Caso Oropeza,Humberto Martínez Morosini,Aylan Kurdi,Donald Trump'; $this->titulo_social = 'RPP Noticias tiene las últimas noticias sobre política, futbol y farándula nacional e internacional. Ediciones regionales y de todo el Peru'; $this->img_social = 'http://s.rpp-noticias.io/images/imgshare.jpg'; $this->url_social = ''; }
public function __construct($slug_seccion, $slug_categoria, $dispatcher) { parent::__construct(); $this->slug_seccion = $slug_seccion; $this->slug_categoria = $slug_categoria; $package = false; if (empty($this->slug_categoria)) { \Rpp\Services\Get\UrlTrack::$ns_mchannel = 'seccion.' . $this->slug_seccion; $slug = $this->slug_seccion; $this->package = 'seccion'; $this->load_epl_seccion(); $this->load_comscore_seccion(); } else { \Rpp\Services\Get\UrlTrack::$ns_mchannel = 'categoria.' . $this->slug_categoria; $slug = $this->slug_seccion . "/" . $this->slug_categoria; $this->package = 'categoria'; $this->load_epl_categoria(); $this->load_comscore_categoria(); } $this->submenu = 'seccion'; $this->slug = $slug; $this->portada = str_replace("/", ".", $this->slug); $this->keyseccion = str_replace("/", "-", $this->slug); $this->dispatcher = $dispatcher; $this->load_seccion_info(); $this->parent_slug = str_replace("rpp/", "", $this->seccion_info->parent_slug); $this->titulo = @\Rpp\Services\Get\Destacados::metadata($this->parent_slug)->titulo; $this->description = @\Rpp\Services\Get\Destacados::metadata($this->parent_slug)->descripcion; $this->keywords = implode(",", @\Rpp\Services\Get\Destacados::metadata($this->parent_slug)->tags); $this->titulo_social = @\Rpp\Services\Get\Destacados::metadata($this->parent_slug)->titulo; $this->img_social = 'http://s.rpp-noticias.io/images/imgshare.jpg'; $this->url_social = ''; $this->ref = load_ref(); $this->urlcanonical = '/' . $slug; if (!empty($this->slug_categoria)) { $this->titulo = $this->slug_categoria . ': Noticias, Imágenes, Fotos, Vídeos, audios y más'; $this->description = 'Todo sobre ' . $this->slug_categoria . ', noticias en imagenes, fotos, videos, audios, infografias, interactivos y resumenes de ' . $this->slug_categoria; $this->keywords = $this->slug_categoria . ', noticias de ' . $this->slug_categoria . ', imagenes de ' . $this->slug_categoria . ', fotos de ' . $this->slug_categoria . ', videos de ' . $this->slug_categoria . ', infografias de ' . $this->slug_categoria . ', interactivos de ' . $slug . ', resumenes de ' . $slug; $this->titulo_social = $this->slug_categoria . ': Noticias, Imágenes, Fotos, Vídeos, audios y más'; } }
public function __construct($slug_seccion, $dispatcher) { parent::__construct(); $this->slug_seccion = $slug_seccion; \Rpp\Services\Get\UrlTrack::$ns_mchannel = 'seccion.' . $this->slug_seccion; $slug = $this->slug_seccion; $this->package = 'seccion'; $this->slug = $slug; $this->portada = str_replace("/", ".", $this->slug); $this->keyseccion = str_replace("/", "-", $this->slug); $this->dispatcher = $dispatcher; $this->load_seccion_info(); $this->load_comscore(); $this->load_epl(); $this->titulo = 'Noticias del Peru y del Mundo ,Ollanta Humala,Nadine Heredia,Perumin,Caso Oropeza,Humberto Martínez Morosini,Aylan Kurdi,Donald Trump | RPP NOTICIAS'; $this->description = 'RPP Noticias tiene las últimas noticias sobre política, futbol y farándula nacional e internacional. Ediciones regionales y de todo el Peru'; $this->keywords = 'rppnoticias, noticias del peru y el mundo ,Ollanta Humala,Nadine Heredia,Perumin,Caso Oropeza,Humberto Martínez Morosini,Aylan Kurdi,Donald Trump'; $this->titulo_social = 'Noticias del Peru y del Mundo ,Ollanta Humala,Nadine Heredia,Perumin,Caso Oropeza,Humberto Martínez Morosini,Aylan Kurdi,Donald Trump | RPP NOTICIAS'; $this->img_social = 'http://www.rpp.com.pe/tmp/img/logo_rpp.png'; $this->url_social = ''; $this->ref = load_ref(); }
public function __construct($slug, $dispatcher) { parent::__construct(); $this->slug = $slug; $this->seccion = $slug; $this->tema = $slug; $this->load_tag_info(); $this->tag_personalidad = (int) (!empty(@$this->tag_info->personalidad)); $this->package = 'tag'; \Rpp\Services\Get\UrlTrack::$ns_mchannel = 'tema.' . $slug; $this->ref = load_ref(); $this->load_comscore(); $this->load_epl(); $this->titulo = $this->tag_info->nombre . ': Noticias, Imágenes, Fotos, Vídeos, audios y más'; $this->description = 'Todo sobre ' . $this->tag_info->nombre . ', noticias en imagenes, fotos, videos, audios, infografias, interactivos y resumenes de ' . $this->tag_info->nombre; $this->keywords = $this->tag_info->nombre . ', noticias de ' . $this->tag_info->nombre . ', imagenes de ' . $this->tag_info->nombre . ', fotos de ' . $this->tag_info->nombre . ', videos de ' . $this->tag_info->nombre . ', infografias de ' . $this->tag_info->nombre . ', interactivos de ' . $this->tag_info->nombre . ', resumenes de ' . $this->tag_info->nombre; $this->titulo_social = $this->tag_info->nombre . ': Noticias, Imágenes, Fotos, Vídeos, audios y más'; $this->img_social = 'http://s.rpp-noticias.io/images/imgshare.jpg'; $this->url_social = ''; $this->tag_slug_portada = 'tag/' . $this->slug; $this->urlcanonical = '/tema-' . $this->slug; }