Pollyanna is a book for children written by Eleanor Hodgman Porter . Pollyanna is a best-selling 1913 novel by Eleanor H. Porter that is now considered a classic of children 's literature , with the title character 's name becoming a popular term for someone with the same optimistic outlook . The book was such a success , that Porter soon produced a sequel , Pollyanna Grows Up ( 1915 ) .