Stock Market LIVE Updates: GIFT Nifty suggests a flat to negative start; US, Asian markets gain

view original post

‘+convertedDate(dataElem.time)+’

‘;

if (dataElem.type == ‘post’) {
topHtml += “

” + dataElem.post.title + “

“;

}
else if (dataElem.type == ‘image’ && dataElem.post.image_path != ”) {
dataElem.post.image_path = dataElem.post.image_path.replace(‘http://’, ‘https://’);
dataElem.post.image_path = dataElem.post.image_path.replace(‘static-news.moneycontrol.com’, ‘images.moneycontrol.com’);
topHtml += “

” + dataElem.post.title + “

“;
topHtml += “

“;

}
else if (dataElem.type == ‘video’) {
dataElem.post.source = dataElem.post.source.replace(‘height=”300″‘, ‘style=”height:300px !important;”‘);
topHtml += “

” + dataElem.post.title + “

” + dataElem.post.source + “

“;

}
else if (dataElem.type == ‘article’) {
topHtml += dataElem.post.title;

}
else if (dataElem.type == ‘twitter’) {

topHtml += “

“+dataElem.post.title+”

“;
topHtml += dataElem.post.source.replace(“amp-iframe”, “iframe”);

}
topHtml += social_share+’

“+convertedDate(dataElem.time)+”

“;
if (dataElem.type == ‘post’) {
blogHtml += “

” + dataElem.post.title + “

“;

}
else if (dataElem.type == ‘image’ && dataElem.post.image_path != ”) {
dataElem.post.image_path = dataElem.post.image_path.replace(‘http://’, ‘https://’);
dataElem.post.image_path = dataElem.post.image_path.replace(‘static-news.moneycontrol.com’, ‘images.moneycontrol.com’);
blogHtml += “

” + dataElem.post.title + “

“;

}
else if (dataElem.type == ‘video’) {
dataElem.post.source = dataElem.post.source.replace(‘height=”300″‘, ‘style=”height:300px !important;”‘);
blogHtml += “

” + dataElem.post.title + “

” + dataElem.post.source + “

“;

}
else if (dataElem.type == ‘article’) {
blogHtml += “

” + dataElem.post.title + “

“;
}
else if (dataElem.type == ‘twitter’) {
blogHtml += “

“+dataElem.post.title+”

“;
blogHtml += dataElem.post.source.replace(“amp-iframe”, “iframe”);

}
blogHtml += social_share+’

“+convertedDate(dataElem.time)+”

“;
if (dataElem.type == ‘post’) {
stickyHtml += “

” + dataElem.post.title + “

“;

}
else if (dataElem.type == ‘image’ && dataElem.post.image_path != ”) {
dataElem.post.image_path = dataElem.post.image_path.replace(‘http://’, ‘https://’);
dataElem.post.image_path = dataElem.post.image_path.replace(‘static-news.moneycontrol.com’, ‘images.moneycontrol.com’);
stickyHtml += “

” + dataElem.post.title + “

“;

}
else if (dataElem.type == ‘video’) {
stickyHtml += “

” + dataElem.post.title + “

” + dataElem.post.source + “

“;

}
else if (dataElem.type == ‘article’) {
dataElem.post.image_path = dataElem.post.image_path.replace(‘http://’, ‘https://’);
dataElem.post.image_path = dataElem.post.image_path.replace(‘static-news.moneycontrol.com’, ‘images.moneycontrol.com’);
stickyHtml += “

” + dataElem.post.title + “

“;
if (dataElem.post.image_path != ”) {
stickyHtml += “

” + dataElem.post.content + “

“;
}
}
else if (dataElem.type == ‘twitter’) {
stickyHtml += dataElem.post.title;
stickyHtml += dataElem.post.source.replace(“amp-iframe”, “iframe”);

}
stickyHtml += social_share+”