Given a collection of relevant personal health behavior change stories gathered from the Internet , the aim of this study was to develop and evaluate an automated indexing algorithm that could select the best possible story to provide to a user to have the greatest possible impact on their attitudes toward changing a targeted health behavior , in this case weight loss .