SEO: enable no-index filter for poor content
This commit is contained in:
parent
e3e6cbd284
commit
9b6913c85c
|
@ -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"];
|
||||
|
|
Loading…
Reference in New Issue