added function all which returns text,links,categories