' +
'
' + item.title + '
' +
'
公開日:' + formatDate(item.cdate) + '
';
if (item.description) {
html += '
' + item.description + '
';
}
if (item.site_name !== '統括団体') {
html += '
' + item.site_name + '
';
}
html += '
' +
'' +
'';
result += html;
});
$('#similar_entries_list').html(result);
}
}
$.ajax({
url: '/admin/plugins/SearchEstraier/app/pt-recommend-api.php',
type: 'GET',
dataType: 'json',
timeout: 10000,
data: {
type: 'similar',
snippet_width: 1,
limit: 4,
url: 'https:\/\/kashiwanpo.genki365.net\/G0000475\/_idx\/system\/blog\/55.html',
add_attrs: ['@estraier_space_scope', '@estraier_is_contents', '@estraier_is_form'],
add_conditions: ['STREQ', 'NUMEQ', 'NUMEQ'],
values: ['system', 1, 0]
}
}).done(function (json) {
if (json.similar) {
dispSimilarEntries(json.similar);
} else {
$('#similar_entries').css('display', 'none');
}
}).fail(function () {
$('#similar_entries').css('display', 'none');
});
}(jQuery));