1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:45:56 +00:00

rework article notes; re-add built-in XSL template for generated feeds; remove schema_version caching in session

This commit is contained in:
Andrew Dolgov
2011-04-19 13:20:59 +04:00
parent dd04ea81ba
commit fcfa9ef15b
7 changed files with 49 additions and 83 deletions

View File

@@ -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 {