function __construct( $item ) { parent::__construct( $item->Url, $item->Title, ( !empty( $item->Date ) ? $item->Date : null ), $item->Url, ( !empty( $item->Author ) ? $item->Author : null ), new WlTextConstruct( 'html', $item->Description ) ); if ( !empty( $item->Comments ) ) { $this->addLinkRel( 'replies', array( 'href' => $item->Comments ) ); } }