protected function set_head_data()
	{
		parent::set_head_data();
		
		$this->set_head('next_link', $this->get_list_next_link());
		$this->set_head('previous_link', $this->get_list_prev_link());
	}
Пример #2
0
 protected function set_head_data()
 {
     $this->set_title(self::$TITLE);
     $this->set_description(self::$DESCRIPTION);
     $this->set_keywords(self::$KEYWORD_ARRAY);
     parent::set_head_data();
 }
Пример #3
0
	protected function set_head_data()
	{
		$this->set_title("Jacob Emerick's Site Information | General and Technical Information");
		$this->set_description("Meta information about Jacob Emerick's websites and content. Introduces the man behind the code, discusses the reasons behind the sites, and goes into some technical background of the custom framework.");
		$this->set_keywords(array('site', 'technical', 'support', 'help', 'information', 'Jacob Emerick'));
		
		parent::set_head_data();
	}
	protected function set_head_data()
	{
		$this->set_title("Changelog for Jacob Emerick's Sites");
		$this->set_description("Listing of the last changes done on the framework behind Jacob Emerick's websites. Yeah, he's down with that version control.");
		$this->set_keywords(array('changelog', 'version control', 'code', 'comments', 'Jacob Emerick'));
		
		parent::set_head_data();
	}
	protected function set_head_data()
	{
		$this->set_title("Contact Form for Jacob Emerick's Sites");
		$this->set_description("Want to reach out to Jacob Emerick with questions or concerns? Well, then here's a handy contact form for you that will connect you with the man himself.");
		$this->set_keywords(array('contact', 'webmaster', 'support', 'help', 'Jacob Emerick'));
		
		parent::set_head_data();
	}
	protected function set_head_data()
	{
		$this->set_title("Terms of Use for Jacob Emerick's Sites");
		$this->set_description("Some basic (and boring) legal jargon and perferred usage of the content on Jacob Emerick's sites. Includes re-use terms and advice on retracing hikes.");
		$this->set_keywords(array('terms of use', 'legal', 'accountability', 'trespassing', 'Jacob Emerick'));
		
		parent::set_head_data();
	}
    protected function set_head_data()
    {
        parent::set_head_data();

        $this->set_title("{$this->waterfall->name} on {$this->waterfall->watercourse} | " . self::$WEBSITE_TITLE);
        $this->set_description($this->waterfall->description);
        $this->set_keywords((array) $this->waterfall->name);
    }
Пример #8
0
	protected function set_head_data()
	{
		$this->set_title(sprintf(self::$TITLE, $this->post['id'], ucwords($this->post['type'])));
		$this->set_description(sprintf(self::$DESCRIPTION, $this->post['id'], ucwords($this->post['type'])));
		
		$keyword_array = self::$KEYWORD_ARRAY;
		array_unshift($keyword_array, $this->post['type']);
		$this->set_keywords($keyword_array);
		
		parent::set_head_data();
	}
Пример #9
0
 protected function set_head_data()
 {
     parent::set_head_data();
     
     $this->set_title("{$this->log->title} | " . self::$WEBSITE_TITLE);
     $this->set_description($this->log->introduction);
     
     $keyword_array = array();
     $tag_result = LogCollector::getTagListForLog($this->log->id);
     foreach($tag_result as $tag)
     {
         $keyword_array[] = $tag->name;
     }
     
     $this->set_keywords($keyword_array);
 }
	final protected function set_head_data()
	{
		parent::set_head_data();
		
		$this->set_head('next_link', $this->get_list_next_link());
		$this->set_head('previous_link', $this->get_list_prev_link());
		
		if($this->page == 1)
			$meta_array = $this->get_initial_meta();
		else
			$meta_array = $this->get_subsequent_meta();
		
		$this->set_title($meta_array['title']);
		$this->set_description($meta_array['description']);
		$this->set_keywords($meta_array['keywords']);
	}
Пример #11
0
	protected function set_head_data()
	{
		parent::set_head_data();
		
		$this->set_title(sprintf(self::$TITLE, $this->post['title']));
		$this->set_description($this->get_post_description());
		$this->set_keywords($this->get_post_keywords());
		$this->set_author(self::$AUTHOR);

    $photo = Content::instance('FetchFirstPhoto', $this->post['body'])->activate(true);
    $photo = preg_match('/^<img src="([a-z-:\.\/]+)" [^>]+>$/', $photo, $matches);
    $this->set_head('thumbnail', $matches[1]);

		if (array_key_exists($this->post['id'], self::$DEPRECATED_BLOGS)) {
			$log_id = self::$DEPRECATED_BLOGS[$this->post['id']];
			$log = LogCollector::getById($log_id);
			if (!empty($log)) {
				$log_url = Loader::getRootUrl('waterfalls') . "journal/{$log->alias}/";
				$this->set_canonical($log_url);
			}
		}
	}