added published, linked and type attr to get nodes