First of all, you need to understand that you're looking at documentation for two different (related, but different) things. The Dynamic Feed Control (GFDFC) is a control application built on top of the Feeds API. When you're using the Feeds API directly, you would use .setNumEntries(num). However, when you're using the GFDFC, you need to use the results property in the options object.
To insert a GFDFC into your document, you need to insert the JavaScript code that you pasted into your post into a script element on your page. You also need to make sure that there is a div element with the id content somewhere on the page (wherever you want the control to appear).
You're right in that the code provided in the sample on the documentation page and in the actual Hello, World demonstration are different. You can view source on the Hello, World demonstration to see what they did there.
I would be remiss at this point if I did not point out that the GFDFC is no longer actively supported by Google. As you may have noticed, the documentation has been partially dismantled. Most (if not all) of the links to the documentation from Google properties have been removed. Please understand that this does not mean that the control will be disabled anytime soon, but I think I would be reluctant to use it on any new pages or applications I developed.
Finally, if you're not able to get your page working, you will want to post a link to your page, working or not, rather than just to the documentation. That way, we can see what you're doing and offer specific advice to get you up and running.
jg
--
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA
If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!