PageSourceSearch

https://www.syuuzanso.com/common/js/rss.js

js syuuzanso.com collected 2026-10-06 22:59:09 UTC 949 bytes, 38 lines download raw bytes

1$(function () {
2	$.ajax({
3		url: 'https://www.syuuzanso.com/blog/feed/',
4		dataType: 'xml',
5		success: function(data) {
6			// 取得件数
7			var getCount = 3;
8			if ($('item', data).length < getCount) {
9				getCount = $('item', data).length;
10			}
11
12			var insert = '';
13
14			for (var i = 0; i < getCount; i++) {
15				var thisItem = $('channel', data).children('item').eq(i);
16				var dd = new Date(thisItem.children('pubDate').text());
17				var y = dd.getFullYear();
18				var m = dd.getMonth() + 1;
19				if (m < 10) {m = "0" + m;}
20				var d = dd.getDate();
21				if (d < 10) {d = "0" + d;}
22				var date =  y + "." + m + "." + d;
23
24				insert += '<li>';
25				// 日時の挿入
26				insert += date;
27				insert += '<br>';
28				// タイトルの挿入
29				insert += '<a href="' + thisItem.children('link').text() + '">';
30				insert += thisItem.children('title').text();
31				insert += '</a>';
32				insert += '</li>';
33			}
34
35			$("#feed").append(insert);
36		}
37	});
38});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.