@@ -48,9 +48,9 @@ discard block |
||
48 | 48 | $this->set_keywords($this->get_post_keywords()); |
49 | 49 | $this->set_author(self::$AUTHOR); |
50 | 50 | |
51 | - $photo = Content::instance('FetchFirstPhoto', $this->post->body)->activate(true); |
|
52 | - $photo = preg_match('/^<img src="([a-z-:\.\/]+)" [^>]+>$/', $photo, $matches); |
|
53 | - $this->set_head('thumbnail', $matches[1]); |
|
51 | + $photo = Content::instance('FetchFirstPhoto', $this->post->body)->activate(true); |
|
52 | + $photo = preg_match('/^<img src="([a-z-:\.\/]+)" [^>]+>$/', $photo, $matches); |
|
53 | + $this->set_head('thumbnail', $matches[1]); |
|
54 | 54 | |
55 | 55 | if (array_key_exists($this->post->id, self::$DEPRECATED_BLOGS)) { |
56 | 56 | $log_id = self::$DEPRECATED_BLOGS[$this->post->id]; |
@@ -124,13 +124,13 @@ discard block |
||
124 | 124 | |
125 | 125 | $post = new stdclass(); |
126 | 126 | |
127 | - if (strpos($post_row->title, 'Rainy Supe Loop') === 0) { |
|
128 | - $title = $post_row->title; |
|
129 | - $title = explode(':', $title); |
|
130 | - $title = array_pop($title); |
|
131 | - $title = trim($title); |
|
132 | - $post->title = $title; |
|
133 | - } else if (strpos($post_row->title, 'Isle Royale') === 0) { |
|
127 | + if (strpos($post_row->title, 'Rainy Supe Loop') === 0) { |
|
128 | + $title = $post_row->title; |
|
129 | + $title = explode(':', $title); |
|
130 | + $title = array_pop($title); |
|
131 | + $title = trim($title); |
|
132 | + $post->title = $title; |
|
133 | + } else if (strpos($post_row->title, 'Isle Royale') === 0) { |
|
134 | 134 | $title = $post_row->title; |
135 | 135 | $title = explode(',', $title); |
136 | 136 | $title = array_pop($title); |