summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-07-09 19:49:48 +0400
committerAndrew Dolgov <[email protected]>2012-07-09 19:49:48 +0400
commit2ea9bbfd075fc03acceb608746c3989613f768e3 (patch)
tree5b98f9e579a2fbe4352e8d5eaa21b61286373684 /include/functions.php
parent687bb90d27b522b2a35263db9e1cd2ba53b41e74 (diff)
implement proof of concept postgresql pg_trgm N-gram based marking of similar article titles as read automatically
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 1e527e70d..b14515bdd 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3302,6 +3302,8 @@
</head><body>";
}
+ $rv['title'] = $line['title'];
+
$rv['content'] .= "<div id=\"PTITLE-$id\" style=\"display : none\">" .
truncate_string(strip_tags($line['title']), 15) . "</div>";