Script new series
<script defer='defer'>/*<![CDATA[*/
let newSeries = new BloggerScript({
noImage: 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikUi38AFQCOKcCpySXVu5wzruwfSQMze42Iu9849CN2bqAACZHUi6V9OpQR2pvZnfdTXdcbw2dy12Y5i_QDQADl-GEF0BnN_FlL8hz3xodTDnWblVbKyThBGCC9J-rQGFJRrsGce5pjvy5/s0/No+Image+Berkas+Kita.jpg',
sizeImage: 's140-rw'
})
ax = document.querySelector('#new_Series');
function getnewSeries(e) {
let entry = newSeries.getFeed(e);
let html = '<div class="ns">';
entry.forEach(item => {
if ('content' in item) {
let newDiv = document.createElement('div');
newDiv.innerHTML = item.content;
let elSynopsis = newDiv.querySelector('#synopsis');
synopsis = elSynopsis ? elSynopsis.innerText.slice(0, 200) : 'No Synopsis';
}
let filterGenre = ['Action','Adventure','Avant Garde','Award Winning','Boys Love','Comedy','Drama','Fantasy','Girls Love','Gourmet','Horror','Mystery','Romance','Sci-Fi','Slice of Life','Sports','Supernatural','Suspense','Ecchi','Erotica','Hentai','Adult Cast','Anthropomorphic','CGDCT','Childcare','Combat Sports','Crossdressing','Delinquents','Detective','Educational','Gag Humor','Gore','Harem','High Stakes Game','Historical','Idols (Female)','Idols (Male)','Isekai','Iyashikei','Love Polygon','Magical Sex Shift','Mahou Shoujo','Martial Arts','Mecha','Medical','Memoir','Military','Music','Mythology','Organized Crime','Otaku Culture','Parody','Performing Arts','Pets','Psychological','Racing','Reincarnation','Reverse Harem','Romantic Subtext','Samurai','School','Showbiz','Space','Strategy Game','Super Power','Survival','Team Sports','Time Travel','Vampire','Video Game','Villainess','Visual Arts','Workplace','Josei','Kids','Seinen','Shoujo','Shounen'];
let filterScore = item.label.find(i => /^\d+(\.\d{1,2})$/.test(i)) || '0.0';
html += `<div class="ipF imgmanga">
<a href="${item.link}">
<img src="${item.image}" alt="${item.title}" />
</a>
<div class="vAX">
<h3>
<a title="${item.title}" href="${item.link}">${item.title}</a>
</h3>
<div class="E8t">`;
if (item.label.some(i => filterGenre.includes(i))) {
let filter = item.label.filter(i => filterGenre.includes(i));
html += `<div class="e4v"><b>Genres:</b>`;
filter.forEach((label, indexz) => {
html += `<a href="/search/label/${label}">${label}</a>`;
})
html += `</div>`;
}
html += `<div class="YM4">
<div class="flex items-center gap-1">
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 22 20"><path d="M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z" /></svg>
${filterScore}
</div>
</div></div>
</div>
</div>`;
});
if (ax) {
ax.innerHTML = `${html} </div>`;
ow();
}
}
if (ax) {
let dataLabel = ax.dataset.label || false,
dataMax = ax.dataset.max || false;
newSeries.xhr('GET', `/feeds/posts/default${dataLabel == false ? '' : `/-/${dataLabel}`}?alt=json-in-script&max-results=${dataMax == false ? '6' : `${dataMax}`}`, getnewSeries);
}
/*]]>*/</script>