Chuyên mục
107 có bài viết bị lỗi bộ mã hóa ký tự, dẫn đến sai chuẩn
xml.
Cụ thể là do bài: http://www.phutu.vn/t58435-topic
Hoặc là xóa/sửa bài viết đó, hoặc thay code ajax cùng chuyên mục bằng:
- Code:
$.ajax({
url: "/feed/?f={FORUM_ID}",
type: "GET",
dataType: "html",
success: function (a) {
$(".post:first .clear1").before('<ul id="cungchuyenmuc"><a href="/f{FORUM_ID}-forum" style="color:#333;font-weight:bold">Bài cùng chuyên mục </a><a href="/h36-search?q={TOPIC_TITLE}" target="_blank"><img src="http://i.imgur.com/gLPIi3C.png" style="margin-bottom:-5px"></a><div style="height:1px;background:url(http://i16.servimg.com/u/f16/16/18/15/10/113.png)repeat-x left;margin:10px 0px;width:100%"></div></ul>');
$(a).find("item:lt(10)").each(function () {
$("#cungchuyenmuc").append('<li><a href="' + $(this).find("guid").html() + '">' + $(this).find("title").html() + "</a></li>")
})
},
error: function (a) {
console.error(a)
}
});