Lines Matching refs:post
227 $post = $objects['data'][$post_index];
232 if ( !$post['message'] ) {
237 … if ( isset($data[FB_WALL_FROM_DATE]) && ($post['created_time'] < $data[FB_WALL_FROM_DATE] ) ) {
241 if ( $data[FB_WALL_TO_DATE] && ($post['created_time'] > $data[FB_WALL_TO_DATE] )) {
247 if ( strlen( $post['message'] ) > $data[FB_WALL_LIMIT] ) {
248 … $post['message_short'] = substr( $post['message'], 0, $data[FB_WALL_LIMIT] ).'...';
250 $index = strrpos ( $post['message_short'], ' ' );
251 $post['message_short'] = substr( $post['message_short'], 0, $index ).'...';
252 $post['message'] = substr( $post['message_short'], 0, $index ).'...';
256 $post['message_short'] = substr( $post['message'], 0, 150 ).'...';
257 $index = strrpos ( $post['message_short'], ' ' );
258 $post['message_short'] = substr( $post['message_short'], 0, $index ).'...';
261 $post['message'] = str_replace("\r\n", '<html><br /></html>', $post['message'] );
262 $post['message'] = str_replace("\n", '<html><br /></html>', $post['message'] );
263 $post['message_short'] = str_replace("\r\n", '<html><br /></html>', $post['message_short'] );
264 … $post['message_short'] = str_replace("\n", '<html><br /></html>', $post['message_short'] );
266 $entry = str_replace('{message}', $post['message'], $entry );
267 $entry = str_replace('{message_short}', $post['message_short'], $entry );
270 … $entry = str_replace('{date}', date( $date_format, strtotime($post['created_time'])), $entry );
271 … $entry = str_replace('{time}', date( $time_format, strtotime($post['created_time'])), $entry );
272 …$entry = str_replace('{datetime}', date( $datetime_format, strtotime($post['created_time'])), $ent…
273 $entry = str_replace('{timestamp}', $post['created_time'], $entry );
275 $pic = $post['picture'];
284 $post_id = $post['id'];