Add (top keywords): block xertain ekywords
This commit is contained in:
@@ -31,7 +31,7 @@ public static function get($days = 1, $limit = 10)
|
||||
$queryResults = DB::table('rss_post_keywords')
|
||||
->select('value', 'value_lowercased', DB::raw('COUNT(value_lowercased) as value_count'))
|
||||
->where('created_at', '>=', now()->subDays($days))
|
||||
->whereNotIn('value_lowercased', ['techcrunch', 'the verge', 'forbes', 'producthunt', ''])
|
||||
->whereNotIn('value_lowercased', ['techcrunch', 'the verge', 'forbes', 'producthunt', 'vox media'])
|
||||
->groupBy('value', 'value_lowercased')
|
||||
->orderBy(DB::raw('COUNT(value_lowercased)'), 'desc')
|
||||
->limit($limit)
|
||||
|
||||
Reference in New Issue
Block a user