diff --git a/public/css/category.less b/public/css/category.less index 17ede00df7..2024c6d9e2 100644 --- a/public/css/category.less +++ b/public/css/category.less @@ -1,5 +1,9 @@ .category { + .span9 { + margin-bottom: 50px; + } + a { li { list-style: none; @@ -192,6 +196,11 @@ } .block-content { padding: 10px; + .img-polaroid { + width: 20%; + height: auto; + max-width: 48px; + } } border-radius: 5px; diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 1a11a5d051..39ccda6c94 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -10,7 +10,6 @@ Why don't you try posting one?
@@ -79,7 +78,7 @@ diff --git a/src/webserver.js b/src/webserver.js index 3a9d4a692b..9db1caa53d 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -101,7 +101,10 @@ var express = require('express'), res.send("Unable to locate an rss feed at this location."); return; } - res.send(data); + + res.setHeader('Content-Type', 'application/xml'); + res.setHeader('Content-Length', data.length); + res.end(data); }); return; } @@ -125,7 +128,10 @@ var express = require('express'), res.send("Unable to locate an rss feed at this location."); return; } - res.send(data); + + res.setHeader('Content-Type', 'application/xml'); + res.setHeader('Content-Length', data.length); + res.end(data); }); return; }