diff options
author | Andrew Dolgov <[email protected]> | 2011-04-19 13:20:59 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-19 13:20:59 +0400 |
commit | fcfa9ef15b641f818f3473d2b60d1c1328aef564 (patch) | |
tree | 5101af40b87900916967350c2a46e37ab763dcc9 /backend.php | |
parent | dd04ea81bab44837796911945db448974582c1bf (diff) |
rework article notes; re-add built-in XSL template for generated feeds; remove schema_version caching in session
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backend.php b/backend.php index 3fa369397..72535113b 100644 --- a/backend.php +++ b/backend.php @@ -211,10 +211,12 @@ } else if ($mode == "zoom") { array_push($articles, format_article($link, $id, false, true, true)); } else if ($mode == "raw") { - if ($_REQUEST['html']) header("Content-Type: text/html"); + if ($_REQUEST['html']) { + header("Content-Type: text/html"); + print '<link rel="stylesheet" type="text/css" href="tt-rss.css"/>'; + } $article = format_article($link, $id, false); - print $article['id'] . "\n\n"; print $article['content']; return; } else { |