move solr search message to template
fix #! line; make robust to content fetch errors