
/g;for (var i = 0; i < json.feed.entry.length; i++) {var entry = json.feed.entry[i];relatedTitles[relatedPostsNum] = (entry.title.$t.replace(regex1, '<')).replace(regex2, '>');relatedDates[relatedPostsNum] = entry.published.$t.substr(0,10);for (var j = 0; j < entry.link.length; j++) {if (entry.link[j].rel == 'alternate') {relatedUrls[relatedPostsNum] = entry.link[j].href;relatedPostsNum++;break;}}}}function RemoveDuplicatedPosts(PostUrl) {var tmpUrls = new Array(0);var tmpTitles = new Array(0);var tmpDates = new Array(0);function contains(a, e) {for(var j = 0; j < a.length; j++)if (a[j]==e)return true;return false;}for(var i = 0; i < relatedUrls.length; i++) {if(!contains(tmpUrls, relatedUrls[i]) && PostUrl != relatedUrls[i]) {tmpUrls.length += 1;tmpUrls[tmpUrls.length - 1] = relatedUrls[i];tmpTitles.length += 1;tmpTitles[tmpTitles.length - 1] = relatedTitles[i];tmpDates.length += 1;tmpDates[tmpDates.length - 1] = relatedDates[i];}}relatedTitles = tmpTitles;relatedUrls = tmpUrls;relatedDates = tmpDates;}function ShowRelatedPosts(PostUrl) {RemoveDuplicatedPosts(PostUrl);var r = Math.floor((relatedTitles.length - 1) * Math.random());var i = 0;if (relatedTitles.length > 0) {document.write('Related Posts:
我並不看輕言語的力量,但以文字來描繪的「我」,似乎更貼近真實。