refactored ns formatting methods. now understands feed namespaces.