马来西亚的水状况-网上星报



                    }
                }

                如果(item.access_type ==’premium’){
                    锁= premiumSpan;
                }
                否则if(item.access_type ==’free’){
                    锁= paywallSpan;
                }

                urltarget =“”;
                var contentType =“ data-content-type =’Article’”;
                var contentTitle =“ data-content-title = ”“” + item.headline +“ ”“;
                var contentPosition =“ data-list-position =’” +(positionCounter +1)+“’”;
                var contentSponsor =“ data-content-sp =’NA’”;
                splitLink = item.link.split(’/’);
                var contentCategorySubCategory =“ data-content-category =’” +(titleCase(splitLink[3].replace(“-”,“”))+“ /” + titleCase(splitLink[4].replace(“-”,“”)))+“’”;
                如果(item.link.indexOf(“ thestar.com.my”)== -1)
                    urltarget =“ target =’_ blank’”;
                如果(item.contain_video ==“ true”)
                    contentType =“ data-content-type =’带视频嵌入的文章’”;
                var contentGuid =“ data-content-id =’NA’”;
                如果(item.guid!=未定义&& item.guid!=“” && item.guid!= null){
                    contentGuid =“ data-content-id =’” + item.guid +“’”;
                }
                var contentAuthor =“ data-content-author =’NA’”;
                如果(item.byline!=未定义&& item.byline!=“” && item.byline!= null){
                    contentAuthor =“ data-content-author = ”“ + item.byline +” “”;
                }
                如果(item.link.indexOf(“ star2.com”)> 0){
                    contentCategorySubCategory =“ data-content-category =’” + titleCase(splitLink[3].replace(“-”,“”))+“’”;
                    contentAuthor =“ data-content-author =’NA’”;
                }
                var kickerTag =”;
                如果(item.kicker_url){
                    kickerTag =““ + item.kicker +”“;
                }
                其他{
                     kickerTag =““ + item.kicker +”“;
                }
                        
                var timeUpload =“”;
                如果(item.timeupload)
                {
                    timeUpload =““ + item.timeupload +”“;
                }
                var GA360CustomAttributes = contentListType + contentPosition + contentType + contentTitle + contentGuid + contentCategorySubCategory + contentAuthor + contentSponsor;
                
                itemHtml = itemHtml +“


                itemHtml = itemHtml +“
                如果(item.contain_video ==“ true”)
                    itemHtml = itemHtml +“

影片图示


                itemHtml = itemHtml +“

“ + kickerTag + timeUpload +锁定
                itemHtml = itemHtml +“

                如果(acrossCounter == 4 || crossCounter == 8)
                    itemHtml = itemHtml +“


阅读更多

About Malaysia

Check Also

2024年马来西亚领导力论坛:转向新增长模式 – Lexology

我们最近在吉隆坡举办了年度旗舰 …

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注