title search and link writer

this is a quick curl grab using titles that provides the out put in clickable links. It was grabbed from a comment by reddit user OldAndDusty @ http://www.reddit.com/r/PHP/comments/1e8e62/can_you_give_some_examples_how_to_use_reddit/