Figured out how the loop formats archives pages correctly.

Now the real work begins using PHP and various Internet resources.