added xml files to gitignore
added get_posts function and implemented input as command line argument