views
Drupal: Generate your own view with PHP
This example shows how to generate a list of nodes using the Drupal framework. The code assumes you have already loaded Drupal (see Bootstrap if you want to place this code in an external script.)
Steps:
1. Query the database for node ids
2. Load the full nodes based on their ids
3. Generate html output

