That is all you need to do to get your basic script running. You can add any of the following to the end of that, but make sure you put a semicolon (;) between each variable. These variables aren't needed, but provide better versatility.

limit=n

Limits the amount of news items to show (the default is 5.)

length=n

Limits the length of each post to n characters (the default is to impose no limit.)