summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-19 13:20:59 +0400
committerAndrew Dolgov <[email protected]>2011-04-19 13:20:59 +0400
commitfcfa9ef15b641f818f3473d2b60d1c1328aef564 (patch)
tree5101af40b87900916967350c2a46e37ab763dcc9 /backend.php
parentdd04ea81bab44837796911945db448974582c1bf (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.php6
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 {