Drupal 5: Embedding a view in a page or node layout
Here is how you can generate the html from a view and embed into a page callback or node.
In this example, I am using a block view. You can also use a page or embedded layout and adjust as necessary. I find it helpful to show the contents of the view object to see what’s available to you. For instance: