From 9b6913c85ca1ddba61e0a48c4b024d85f2578977 Mon Sep 17 00:00:00 2001 From: argirok Date: Mon, 4 Oct 2021 13:20:18 +0300 Subject: [PATCH] SEO: enable no-index filter for poor content --- landingPages/result/resultLanding.component.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index fe70d83f..262546d8 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -659,9 +659,7 @@ export class ResultLandingComponent { if(!(this.properties.environment == "production" || this.properties.environment == "development") ) { return true; }else { - /* - //comment out poor content filters - let allow = !!(!resultLandingInfo.underCurationMessage && + let allow = !!(!resultLandingInfo.underCurationMessage && ((resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0) || resultLandingInfo.journal || (resultLandingInfo.classifiedSubjects && resultLandingInfo.classifiedSubjects.size > 0) @@ -676,8 +674,7 @@ export class ResultLandingComponent { || (resultLandingInfo.supplementaryResearchResults && resultLandingInfo.supplementaryResearchResults.length > 0) || (resultLandingInfo.supplementedByResearchResults && resultLandingInfo.supplementedByResearchResults.length > 0) ) - );*/ - let allow = true; + ); // console.log("rich content " + allow) //spam words to exclude - need to be in lower case let title_authors_words = ["movie","hd","film","kimetsu", "1080p","4k","call of duty", "mobile hack", "tubydi", "电影","電影","download ebook","download [ebook]","düşük hapı", "düşük hapi"];