{"id":212219,"student_id":3469,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\u003chead\u003e\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\n\\t\u003cscript src=\\\"https://code.jquery.com/jquery-3.4.1.min.js\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n \\n \u003c!--======================= 文章列表頁面 =======================--\u003e\\n \u003cdiv id=\\\"home-page\\\"\u003e\\n \u003cdiv class=\\\"btn-group\\\"\u003e\\n \u003cbutton class=\\\"bg-dark js-filter\\\" data-type=\\\"全部\\\"\u003e全部\u003c/button\u003e\\n \u003cbutton class=\\\"bg-blue js-filter\\\" data-type=\\\"新聞\\\"\u003e新聞\u003c/button\u003e\\n \u003cbutton class=\\\"bg-red js-filter\\\" data-type=\\\"愛情\\\"\u003e愛情\u003c/button\u003e\\n \u003cbutton class=\\\"bg-purple js-filter\\\" data-type=\\\"八卦\\\"\u003e八卦\u003c/button\u003e\\n \u003cbutton class=\\\"bg-orange js-filter\\\" data-type=\\\"購物\\\"\u003e購物\u003c/button\u003e\\n \u003cbutton class=\\\"bg-yellow js-filter\\\" data-type=\\\"笑話\\\"\u003e笑話\u003c/button\u003e\\n \u003cbutton class=\\\"bg-cyan js-filter\\\" data-type=\\\"閒聊\\\"\u003e閒聊\u003c/button\u003e\\n \u003cbutton class=\\\"bg-dark float-right js-show-form-page\\\"\u003e發文\u003c/button\u003e\\n \u003c/div\u003e\\n \u003cdiv id=\\\"post-list\\\"\u003e\\n \u003c!-- \u003cdiv class=\\\"post-item card\\\" data-id=\\\"123\\\"\u003e\\n \u003ch3\u003e\u003cspan class=\\\"tag bg-orange\\\"\u003e文章類型\u003c/span\u003e文章標題\u003c/h3\u003e\\n \u003cp\u003e文章內容文章內容文章內容文章內容文章內容文章內容文章內容文章內容文章內容......\u003c/p\u003e\\n \u003cspan class=\\\"gray\\\"\u003e2020-11-12\u003c/span\u003e\\n \u003c/div\u003e\\n \u003cdiv class=\\\"post-item card\\\" data-id=\\\"456\\\"\u003e\\n \u003ch3\u003e\u003cspan class=\\\"tag bg-orange\\\"\u003e文章類型\u003c/span\u003e文章標題\u003c/h3\u003e\\n \u003cp\u003e文章內容文章內容文章內容文章內容文章內容文章內容文章內容文章內容文章內容......\u003c/p\u003e\\n \u003cspan class=\\\"gray\\\"\u003e2020-11-12\u003c/span\u003e\\n \u003c/div\u003e\\n \u003cdiv class=\\\"post-item card\\\" data-id=\\\"7\\\"\u003e\\n \u003ch3\u003e\u003cspan class=\\\"tag bg-orange\\\"\u003e文章類型\u003c/span\u003e文章標題\u003c/h3\u003e\\n \u003cp\u003e文章內容文章內容文章內容文章內容文章內容文章內容文章內容文章內容文章內容......\u003c/p\u003e\\n \u003cspan class=\\\"gray\\\"\u003e2020-11-12\u003c/span\u003e\\n \u003c/div\u003e --\u003e\\n \u003c/div\u003e\\n \u003ch3 class=\\\"text-center\\\" id=\\\"bottom-text\\\"\u003e底部\u003c/h3\u003e\\n \u003c/div\u003e\\n \\n \\n \u003c!--======================= 新增文章頁面 =======================--\u003e\\n \u003cdiv id=\\\"form-page\\\"\u003e\\n \u003cdiv class=\\\"card\\\"\u003e\\n \u003cselect id=\\\"form-type\\\"\u003e\\n \u003coption value=\\\"\\\"\u003e請選擇文章類型\u003c/option\u003e\\n \u003coption value=\\\"新聞\\\"\u003e新聞\u003c/option\u003e\\n \u003coption value=\\\"愛情\\\"\u003e愛情\u003c/option\u003e\\n \u003coption value=\\\"八卦\\\"\u003e八卦\u003c/option\u003e\\n \u003coption value=\\\"購物\\\"\u003e購物\u003c/option\u003e\\n \u003coption value=\\\"笑話\\\"\u003e笑話\u003c/option\u003e\\n \u003coption value=\\\"閒聊\\\"\u003e閒聊\u003c/option\u003e\\n \u003c/select\u003e\\n \u003cinput id=\\\"form-title\\\" type=\\\"text\\\" placeholder=\\\"文章標題...\\\"\u003e\\n \u003ctextarea id=\\\"form-content\\\" rows=\\\"8\\\" cols=\\\"40\\\" placeholder=\\\"文章內容 (必須滿 20 字以上)(標點符號,空格也算一個字)...\\\"\u003e\u003c/textarea\u003e\\n \u003c/div\u003e\\n \u003cdiv class=\\\"btn-group\\\"\u003e\\n \u003cbutton class=\\\"bg-gray js-show-post-list\\\"\u003e取消\u003c/button\u003e \\n \u003cbutton class=\\\"bg-orange js-create-post\\\"\u003e送出\u003c/button\u003e\\n \u003c/div\u003e\\n \u003c/div\u003e\\n \\n \\n \u003c!--======================= 文章檢視頁面 =======================--\u003e\\n \u003cdiv id=\\\"post-page\\\"\u003e\\n \u003cdiv class=\\\"btn-group\\\"\u003e\\n \u003cbutton class=\\\"bg-orange js-show-post-list\\\"\u003e返回文章列表\u003c/button\u003e\\n \u003c/div\u003e\\n \\n \u003cdiv class=\\\"postItem card\\\"\u003e\\n \u003ch3\u003e\\n \u003cspan class=\\\"tag bg-orange\\\" id=\\\"post-type\\\"\u003e類型\u003c/span\u003e\\n \u003cspan id=\\\"post-title\\\"\u003e標題\u003c/span\u003e\\n (\u003cspan id=\\\"post-author\\\"\u003e作者\u003c/span\u003e)\\n \u003c/h3\u003e\\n \u003cp id=\\\"post-content\\\"\u003e文章內容文章內容文章內容....\u003c/p\u003e\\n \u003cspan id=\\\"post-date\\\"\u003e2020-01-01\u003c/span\u003e\\n \u003c/div\u003e\\n \\n \u003ch3 class=\\\"text-center\\\" id=\\\"comment-length\\\"\u003e 20 則留言\u003c/h3\u003e\\n \\n \u003cdiv class=\\\"card\\\"\u003e\\n \u003cinput type=\\\"text\\\" id=\\\"comment-input\\\"\u003e\\n \u003cbutton class=\\\"bg-orange js-create-comment\\\"\u003e留言\u003c/button\u003e\\n \u003c/div\u003e\\n \\n \u003cdiv id=\\\"comment-list\\\"\u003e\\n \u003c!-- \u003cdiv class=\\\"comment-item card\\\"\u003e\\n \u003cstrong\u003e小明\u003c/strong\u003e\\n \u003cspan\u003e留言內容留言內容留言內容...\u003c/span\u003e\\n \u003cspan class=\\\"float-right gray\\\"\u003e2020-01-01\u003c/span\u003e\\n \u003c/div\u003e\\n \u003cdiv class=\\\"comment-item card\\\"\u003e\\n \u003cstrong\u003eTony\u003c/strong\u003e\\n \u003cspan\u003eblabalba\u003c/span\u003e\\n \u003cspan class=\\\"float-right gray\\\"\u003e2020-11-12\u003c/span\u003e\\n \u003c/div\u003e\\n \u003cdiv class=\\\"comment-item card\\\"\u003e\\n \u003cstrong\u003e小明\u003c/strong\u003e\\n \u003cspan\u003e留言內容留言內容留言內容...\u003c/span\u003e\\n \u003cspan class=\\\"float-right gray\\\"\u003e2020-01-01\u003c/span\u003e\\n \u003c/div\u003e --\u003e\\n \u003c/div\u003e\\n \u003c/div\u003e\\n \\n\u003c/body\u003e\\n\u003c/html\u003e\\n\",\"css\":\"body {\\n padding: 30px;\\n color: #444444;\\n background-color: #eeeeee;\\n}\\n\\n#form-page,\\n#post-page {\\n display: none;\\n}\\n#form-page,\\n#post-page,\\n#home-page {\\n max-width: 600px;\\n margin: auto;\\n}\\n\\n.btn-group {\\n margin: 15px 0px;\\n}\\n\\n.post-item {\\n font-size: 0.9rem;\\n cursor: pointer;\\n margin: 30px 0px;\\n}\\n\\n.comment-item {\\n margin: 15px 0px;\\n}\\n\\n.post-item h3,\\n.post-item p {\\n margin: 10px 0px;\\n}\\n\\n.card {\\n padding: 15px;\\n border-radius: 5px;\\n background-color: #ffffff;\\n box-shadow: 0px 2px 4px rgba(0, 0, 0, .1);\\n}\\n\\nbutton {\\n padding: 5px 10px;\\n border-width: 0;\\n border-radius: 5px;\\n box-shadow: 0px 2px 4px rgba(0, 0, 0, .1);\\n font-size: 0.9rem;\\n color: #ffffff;\\n}\\n.tag {\\n color: #ffffff;\\n padding: 2px 6px;\\n display: inline-block;\\n margin-right: 5px;\\n border-radius: 5px;\\n}\\n.bg-cyan {\\n background-color: #1bbc9c;\\n}\\n.bg-green {\\n background-color: #2fcc70;\\n}\\n.bg-blue {\\n background-color: #2a80b9;\\n}\\n.bg-yellow {\\n background-color: #f1c40f;\\n}\\n.bg-orange {\\n background-color: #f49c14;\\n}\\n.bg-red {\\n background-color: #e84b3d;\\n}\\n.bg-purple {\\n background-color: #9c59b8;\\n}\\n.bg-dark {\\n background-color: #34495e;\\n}\\n.bg-gray {\\n background-color: #808b8d;\\n}\\n\\n\\n.gray {\\n color: #aaaaaa;\\n}\\n\\n.float-right {\\n float: right;\\n}\\n\\n.text-center {\\n text-align: center;\\n}\\n\\n\\n#form-page select,\\n#form-page input,\\n#form-page textarea {\\n width: 100%;\\n box-sizing: border-box;\\n margin: 15px auto;\\n display: block;\\n border: 1px solid #ccc;\\n border-radius: 5px;\\n padding: 10px;\\n font-size: 0.9rem;\\n}\\n#form-page select,\\n#form-page input {\\n height: 30px;\\n}\\n#post-page input {\\n width: calc(100% - 55px);\\n box-sizing: border-box;\\n border: 1px solid #ccc;\\n border-radius: 5px;\\n padding: 8px;\\n font-size: 0.9rem;\\n}\",\"js\":\"//目前問題:切換文章顯示頁面時,總是會隔一段時間才刷新頁面(一定可以改)\\nvar post = DB.table('post'); //文章的資料表\\nvar comment = DB.table('comment'); //留言的資料表\\nvar userName = prompt('請輸入名稱');\\nvar postId; //為了讓createComment()也能用,因此用全域變數\\ncomment.delete({});\\n\\n$('.js-show-form-page').click(showFormPage); //「發文」按鈕點擊時,切換表單頁面\\n$('.js-show-post-list').click(showHomePage); //「取消」按鈕點擊時,切換文章列表頁面\\n$('#home-page').on('click', '.post-item', showPostPage); //「取消」按鈕點擊時,切換文章列表頁面(動態綁定)\\npost.read({}, updatePostList);\\n\\n\\n\\n\\n// 切換「文章檢視」頁面\\nfunction showPostPage () {\\n $('#home-page').hide();\\n $('#post-page').show();\\n $('#form-page').hide();\\n postId = $(this).data('id'); //$(this)中存的是一個div(整個文章白框中的所有東西)\\n //alert(postId);\\n post.read({\\n id: postId\\n }, updatePost);\\n comment.read({\\n postId: postId\\n }, updateComment);\\n}\\n\\n\\n\\n\\n// 切換「文章新增」頁面\\nfunction showFormPage () {\\n $('#home-page').hide();\\n $('#post-page').hide();\\n $('#form-page').show();\\n}\\n\\n\\n\\n\\n// 切換「文章列表」頁面\\nfunction showHomePage () {\\n $('#home-page').show();\\n $('#post-page').hide();\\n $('#form-page').hide();\\n}\\n\\n\\n\\n\\n$('.js-create-post').click(createPost); //「送出」按鈕點擊\\n$('.js-filter').click(filter); //「分類」按鈕點擊\\n$('.js-create-comment').click(createComment); // 新增留言\\n\\n\\n\\n\\n\\n// 新增文章到資料表\\nfunction createPost () {\\n var type = $('#form-type').val();\\n var title = $('#form-title').val();\\n var content = $('#form-content').val();\\n if (type === '' || title === '' || content.length \u003c 20) {\\n alert('有東西沒填到喔!');\\n } else {\\n $('#form-type').val('');\\n $('#form-title').val('');\\n $('#form-content').val('');\\n post.create({\\n type: type,\\n title: title,\\n content: content,\\n author: userName,\\n date: new Date()\\n }, console.log);\\n showHomePage();\\n post.read({}, updatePostList);\\n }\\n\\n}\\n\\n\\n\\n\\n// 更新首頁的文章列表\\nfunction updatePostList (data) {\\n $('#post-list').empty();\\n data.forEach(function(d) {\\n var type_class = typeToClass(d.type);\\n var post_html = `\u003cdiv class=\\\"post-item card\\\" data-id=\\\"${d.id}\\\"\u003e\\n \u003ch3\u003e\u003cspan class=\\\"tag ${type_class}\\\"\u003e${d.type}\u003c/span\u003e${d.title}\u003c/h3\u003e\\n \u003cp\u003e${d.content.slice(0, 20)}\u003c/p\u003e\\n \u003cspan class=\\\"gray\\\"\u003e${d.date.slice(0, 10)}\u003c/span\u003e\\n \u003c/div\u003e`;\\n $('#post-list').append(post_html);\\n });\\n if (data.length \u003e 0) {\\n $('#bottom-text').text('底部');\\n } else {\\n $('#bottom-text').text('無相關文章');\\n }\\n}\\n\\n\\n\\n\\n// 顯示特定類型的文章\\nfunction filter () {\\n var type = $(this).data('type');\\n if (type == '全部') {\\n post.read({}, updatePostList);\\n } else {\\n post.read({\\n type: type\\n }, updatePostList);\\n }\\n}\\n\\n\\n\\n\\n// 顯示指定文章\\nfunction updatePost (data) {\\n $('#post-type').text(data[0].type); //因data為陣列,因此需用[0]取出陣列中第一項(也是唯一一項),此時才會將陣列變為物件\\n $('#post-title').text(data[0].title);\\n $('#post-content').text(data[0].content);\\n $('#post-author').text(data[0].author);\\n $('#post-date').text(data[0].date.slice(0, 10));\\n $('#post-type').removeClass();\\n $('#post-type').addClass('tag');\\n $('#post-type').addClass(typeToClass(data[0].type));\\n}\\n\\n\\n\\n\\n// 新增文章\\nfunction createComment () {\\n var content = $('#comment-input').val();\\n $('#comment-input').val('');\\n comment.create({\\n author: userName,\\n content: content,\\n date: new Date(),\\n postId: postId\\n }, console.log);\\n comment.read({\\n postId: postId\\n }, updateComment);\\n}\\n\\n\\n\\n\\n// 更新留言\\nfunction updateComment (data) {\\n $('#comment-length').text(data.length + '則留言');\\n $('#comment-list').empty();\\n data.forEach(function(d) {\\n var comment = `\u003cdiv class=\\\"comment-item card\\\"\u003e\\n \u003cstrong\u003e${d.author}\u003c/strong\u003e\\n \u003cspan\u003e${d.content}\u003c/span\u003e\\n \u003cspan class=\\\"float-right gray\\\"\u003e${d.date.slice(0, 10)}\u003c/span\u003e\\n \u003c/div\u003e`; //.slice()是用來切割字串\\n $('#comment-list').append(comment);\\n });\\n}\\n\\n\\n\\n\\n// 根據文章類型對應顏色的標籤\\nfunction typeToClass (type) {\\n if (type == '新聞') {\\n return 'bg-blue';\\n } else if (type == '愛情') {\\n return 'bg-red';\\n } else if (type == '八卦') {\\n return 'bg-purple';\\n } else if (type == '購物') {\\n return 'bg-orange';\\n } else if (type == '笑話') {\\n return 'bg-yellow';\\n } else if (type == '閒聊') {\\n return 'bg-cyan';\\n }\\n}\"}","created_at":"2020-12-13T13:40:21.697+08:00","updated_at":"2022-12-17T14:33:23.198+08:00","name":"社群網站(完整版) 副本 副本","language":"web","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/212219/b8e77abc17454b97cee8e9adbc7b5d32.jpg"},"parent_id":126094,"plugin":"const seeds = [\n {\n \"type\": \"笑話\",\n \"title\": \"很大的鴨子\",\n \"content\": \"大可大,非常大。\",\n \"author\": \"misomochi\",\n \"date\": \"2020-01-01T00:00:00.000Z\",\n \"comments\": [\n {\n \"author\": \"XXXXHAY:\",\n \"content\": \"下去\",\n \"date\": \"2001-08-24T04:19:00.000Z\"\n },\n {\n \"author\": \"nighthunt:\",\n \"content\": \"我覺得很可以欸\",\n \"date\": \"2001-08-24T04:28:00.000Z\"\n },\n {\n \"author\": \"nighthunt:\",\n \"content\": \"有爆的潛力\",\n \"date\": \"2001-08-23T16:00:00.000Z\"\n },\n {\n \"author\": \"a2396494:\",\n \"content\": \"道啦幹\",\n \"date\": \"2001-08-24T04:43:00.000Z\"\n },\n {\n \"author\": \"XXXXHAY:\",\n \"content\": \"樓上\",\n \"date\": \"2001-08-23T16:00:00.000Z\"\n },\n {\n \"author\": \"nighthunt:\",\n \"content\": \"沒人覺得好笑嗎QQ\",\n \"date\": \"2001-08-24T04:47:00.000Z\"\n },\n {\n \"author\": \"benden:\",\n \"content\": \"其實蠻幽默的\",\n \"date\": \"2001-08-24T05:07:00.000Z\"\n },\n {\n \"author\": \"w36501:\",\n \"content\": \"還可以\",\n \"date\": \"2001-08-24T05:28:00.000Z\"\n },\n {\n \"author\": \"mono5566:\",\n \"content\": \"登登登登\",\n \"date\": \"2001-08-24T06:50:00.000Z\"\n },\n {\n \"author\": \"bobwoodybuzz:\",\n \"content\": \"好笑\",\n \"date\": \"2001-08-24T06:50:00.000Z\"\n },\n {\n \"author\": \"polobolo:\",\n \"content\": \"我覺得很好笑\",\n \"date\": \"2001-08-24T06:52:00.000Z\"\n },\n {\n \"author\": \"Geniusla:\",\n \"content\": \"給你過\",\n \"date\": \"2001-08-24T07:19:00.000Z\"\n },\n {\n \"author\": \"lo950425:\",\n \"content\": \"good\",\n \"date\": \"2001-08-24T07:24:00.000Z\"\n },\n {\n \"author\": \"eric19980722:\",\n \"content\": \"嘴角失守\",\n \"date\": \"2001-08-24T07:26:00.000Z\"\n },\n {\n \"author\": \"g895723100:\",\n \"content\": \"我覺得可以\",\n \"date\": \"2001-08-24T07:26:00.000Z\"\n },\n {\n \"author\": \"mathedu:\",\n \"content\": \"道德經對吧\",\n \"date\": \"2001-08-24T07:28:00.000Z\"\n },\n {\n \"author\": \"a78905589:\",\n \"content\": \"可以\",\n \"date\": \"2001-08-24T07:36:00.000Z\"\n },\n {\n \"author\": \"imce:\",\n \"content\": \"我笑了給推\",\n \"date\": \"2001-08-24T07:45:00.000Z\"\n },\n {\n \"author\": \"dino008:\",\n \"content\": \"過\",\n \"date\": \"2001-08-24T07:47:00.000Z\"\n },\n {\n \"author\": \"c22748872:\",\n \"content\": \"很靠北阿wwwwww\",\n \"date\": \"2001-08-24T07:49:00.000Z\"\n },\n {\n \"author\": \"TanB:\",\n \"content\": \"好吧\",\n \"date\": \"2001-08-24T07:49:00.000Z\"\n },\n {\n \"author\": \"iamfreeze:\",\n \"content\": \"有啊\",\n \"date\": \"2001-08-24T07:55:00.000Z\"\n },\n {\n \"author\": \"tp6al4:\",\n \"content\": \"有笑\",\n \"date\": \"2001-08-23T16:00:00.000Z\"\n },\n {\n \"author\": \"Blue24581:\",\n \"content\": \"大可\",\n \"date\": \"2001-08-24T08:07:00.000Z\"\n },\n {\n \"author\": \"brian1219:\",\n \"content\": \"哈哈\",\n \"date\": \"2001-08-23T16:00:00.000Z\"\n },\n {\n \"author\": \"leonaacee:\",\n \"content\": \"微。好笑\",\n \"date\": \"2001-08-24T08:10:00.000Z\"\n },\n {\n \"author\": \"kuan50118:\",\n \"content\": \"可以\",\n \"date\": \"2001-08-24T08:27:00.000Z\"\n },\n {\n \"author\": \"bob3847:\",\n \"content\": \"有笑\",\n \"date\": \"2001-08-24T08:28:00.000Z\"\n },\n {\n \"author\": \"alan15161718:\",\n \"content\": \"可以\",\n \"date\": \"2001-08-24T08:32:00.000Z\"\n }\n ]\n },\n {\n \"type\": \"新聞\",\n \"title\": \"鮑威爾左手掌骨折 將無限期休兵\",\n \"content\": `鮑威爾左手掌骨折 將無限期休兵\n\n2020-02-02 10:34聯合報 / 記者毛琬婷/即時報導\n\n本季打出亮眼表現的暴龍隊得分後衛鮑威爾(Norman Powell)又傳出傷情,他在昨天與活塞隊的比賽中不慎弄傷左手掌,造成左手第四掌骨骨折,將無限期休戰。\n\n鮑威爾本季才因肩傷缺席了11場比賽,他從去年12月19日後就未再上場,直到1月13日對戰馬刺隊的比賽才順利歸隊,而他本季也一掃前4季場均只有個位數的低迷表現,本季出賽\n38場繳出場均15.3分、3.9籃板、1.7助攻的成績,成為暴龍重要得分來源之一。\n\n不過今天傳出鮑威爾左手掌骨折的消息,球隊也將他放進傷兵名單,且歸期未定,而他不是本季暴龍遭遇傷病的其中一員,羅瑞(Kyle Lowry)、席亞康(Pascal Siakam)、小\n加索(Marc Gasol)、伊巴卡(Serge Ibaka)、范弗利特(Fred VanVleet)等人也都曾因傷缺陣達雙位數。\n\n在傷兵頻頻的情況下,暴龍仍展現團隊陣容深度,目前以35勝14負的戰績暫居東區第2,近期更打出一股10連勝氣勢,距離追平隊史最長11連勝只差一步。`,\n \"author\": \"phoenix286\",\n \"date\": \"Sun Feb 2 14:07:34 2020\",\n \"comments\": [\n {\n \"author\": \"SilenceWFL\",\n \"content\": \"今年是不是衝到姓Powell的\",\n \"date\": \"02/02 14:08\"\n },\n {\n \"author\": \"tgmrvmle\",\n \"content\": \"真的,獨行俠的Powell也受大傷\",\n \"date\": \"02/02 14:14\"\n },\n {\n \"author\": \"a11011788\",\n \"content\": \"好慘\",\n \"date\": \"02/02 14:14\"\n },\n {\n \"author\": \"a3221715\",\n \"content\": \"還以為是Ball==\",\n \"date\": \"02/02 14:18\"\n },\n {\n \"author\": \"a3221715\",\n \"content\": \"真的==\",\n \"date\": \"02/02 14:22\"\n },\n {\n \"author\": \"DPP48\",\n \"content\": \"諾曼砲停機檢修中\",\n \"date\": \"02/02 14:32\"\n },\n {\n \"author\": \"taiwanalien\",\n \"content\": \"也太巧...\",\n \"date\": \"02/02 14:34\"\n },\n {\n \"author\": \"frank8979\",\n \"content\": \"嚇死想說我球怎麼了\",\n \"date\": \"02/02 14:37\"\n },\n {\n \"author\": \"o0991758566\",\n \"content\": \"還以為是球哥\",\n \"date\": \"02/02 14:40\"\n },\n {\n \"author\": \"MichaelRedd\",\n \"content\": \"以為是球哥,嚇一跳\",\n \"date\": \"02/02 14:47\"\n },\n {\n \"author\": \"jk8177919\",\n \"content\": \"蠻多場都是靠他救的\",\n \"date\": \"02/02 14:48\"\n },\n {\n \"author\": \"OmtRtugh\",\n \"content\": \"砲哥QQ\",\n \"date\": \"02/02 14:54\"\n },\n {\n \"author\": \"Rayshief\",\n \"content\": \"諾門砲qq\",\n \"date\": \"02/02 14:58\"\n },\n {\n \"author\": \"EriCartman\",\n \"content\": \"我也以為是球\",\n \"date\": \"02/02 15:09\"\n },\n {\n \"author\": \"TexasFlood\",\n \"content\": \"叫柏瑋的沒一個遜咖\",\n \"date\": \"02/02 15:13\"\n },\n {\n \"author\": \"eric050692\",\n \"content\": \"10連勝的重要功臣....QQ\",\n \"date\": \"02/02 15:23\"\n },\n {\n \"author\": \"windowdoor\",\n \"content\": \"以為是球哥\",\n \"date\": \"02/02 15:39\"\n },\n {\n \"author\": \"dajyunlin\",\n \"content\": \"早日康復\",\n \"date\": \"02/02 16:09\"\n },\n {\n \"author\": \"dannyshan\",\n \"content\": \"球哥+1\",\n \"date\": \"02/02 16:39\"\n },\n {\n \"author\": \"tim8333\",\n \"content\": \"諾曼砲\",\n \"date\": \"02/02 16:57\"\n }\n ]\n },\n {\n \"type\": \"笑話\",\n \"title\": \"小明練武功\",\n \"content\": \"\\n 小明是個習武之人,有一天一位大師要傳授畢生絕學給小明 ,小明便開始苦練基礎 ,\\n 每天到筋疲力盡為止。\\n 在傳授那天 ,大師對著小明說:「你這呆徒!\\n 不留一點體力,我要怎麼把功夫傳給你?」\\n 小明:「可是師父,留體力學,好難。」\",\n \"author\": \"bbo214\",\n \"date\": \"2020-01-01T00:00:00.000Z\",\n \"comments\": [\n {\n \"author\": \"accin:\",\n \"content\": \"幹我被當3次\",\n \"date\": \"2001-12-16T16:00:00.000Z\"\n },\n {\n \"author\": \"Agdanpanda:\",\n \"content\": \"有笑給推\",\n \"date\": \"2001-12-17T04:38:00.000Z\"\n },\n {\n \"author\": \"automaton:\",\n \"content\": \"被當的都給我推起來!!\",\n \"date\": \"2001-12-17T04:45:00.000Z\"\n },\n {\n \"author\": \"henry8168:\",\n \"content\": \"XD\",\n \"date\": \"2001-12-17T04:46:00.000Z\"\n },\n {\n \"author\": \"VerilogMai:\",\n \"content\": \"推\",\n \"date\": \"2001-12-17T05:03:00.000Z\"\n },\n {\n \"author\": \"iamnotme:\",\n \"content\": \"XD\",\n \"date\": \"2001-12-17T05:06:00.000Z\"\n },\n {\n \"author\": \"bravo223999:\",\n \"content\": \"可以\",\n \"date\": \"2001-12-17T05:14:00.000Z\"\n },\n {\n \"author\": \"ggsm1598:\",\n \"content\": \"沒學過給推\",\n \"date\": \"2001-12-17T05:31:00.000Z\"\n },\n {\n \"author\": \"juston01:\",\n \"content\": \"好難QQ\",\n \"date\": \"2001-12-17T05:37:00.000Z\"\n },\n {\n \"author\": \"st9240208:\",\n \"content\": \"QQ被當過\",\n \"date\": \"2001-12-17T05:45:00.000Z\"\n },\n {\n \"author\": \"AppleApe:\",\n \"content\": \"真的有夠難\",\n \"date\": \"2001-12-17T05:47:00.000Z\"\n },\n {\n \"author\": \"regen1999:\",\n \"content\": \"推\",\n \"date\": \"2001-12-17T05:55:00.000Z\"\n },\n {\n \"author\": \"cclon543:\",\n \"content\": \"微笑帶過\",\n \"date\": \"2001-12-17T05:55:00.000Z\"\n },\n {\n \"author\": \"s11479324:\",\n \"content\": \"被當過嗚嗚\",\n \"date\": \"2001-12-17T06:07:00.000Z\"\n },\n {\n \"author\": \"lovekangin:\",\n \"content\": \"還好我不用學\",\n \"date\": \"2001-12-16T16:00:00.000Z\"\n },\n {\n \"author\": \"teleportcat:\",\n \"content\": \"Ez\",\n \"date\": \"2001-12-17T06:11:00.000Z\"\n },\n {\n \"author\": \"W96U:\",\n \"content\": \"不錯\",\n \"date\": \"2001-12-17T06:13:00.000Z\"\n },\n {\n \"author\": \"calvin0319:\",\n \"content\": \"可以\",\n \"date\": \"2001-12-17T06:25:00.000Z\"\n },\n {\n \"author\": \"jack011900:\",\n \"content\": \"不錯\",\n \"date\": \"2001-12-17T06:27:00.000Z\"\n },\n {\n \"author\": \"MyKal1001:\",\n \"content\": \"笑死\",\n \"date\": \"2001-12-17T06:31:00.000Z\"\n },\n {\n \"author\": \"caligeeinin:\",\n \"content\": \"物理系念到大四終於被確定是學武之人\",\n \"date\": \"2001-12-17T06:32:00.000Z\"\n },\n {\n \"author\": \"rpg666123:\",\n \"content\": \"沒學過推個\",\n \"date\": \"2001-12-17T06:33:00.000Z\"\n },\n {\n \"author\": \"kkes0001:\",\n \"content\": \"可以\",\n \"date\": \"2001-12-17T06:41:00.000Z\"\n },\n {\n \"author\": \"ganhua:\",\n \"content\": \"先推再說xD\",\n \"date\": \"2001-12-17T06:41:00.000Z\"\n },\n {\n \"author\": \"warren8877:\",\n \"content\": \"推\",\n \"date\": \"2001-12-17T06:42:00.000Z\"\n },\n {\n \"author\": \"LAD22:\",\n \"content\": \"幹\",\n \"date\": \"2001-12-16T16:00:00.000Z\"\n },\n {\n \"author\": \"LAD22:\",\n \"content\": \"固體\",\n \"date\": \"2001-12-17T06:43:00.000Z\"\n },\n {\n \"author\": \"LAD22:\",\n \"content\": \"中興大學土木系\",\n \"date\": \"2001-12-16T16:00:00.000Z\"\n },\n {\n \"author\": \"chiang1058:\",\n \"content\": \"哈哈哈哈嗚嗚嗚嗚QAQ\",\n \"date\": \"2001-12-17T06:46:00.000Z\"\n },\n {\n \"author\": \"hate56:\",\n \"content\": \"真的好難QQ\",\n \"date\": \"2001-12-17T06:48:00.000Z\"\n },\n {\n \"author\": \"ryuri:\",\n \"content\": \"可以wwwww\",\n \"date\": \"2001-12-17T06:48:00.000Z\"\n }\n ]\n },\n {\n \"type\": \"笑話\",\n \"title\": \"什麼飲料最好玩?\",\n \"content\": \"喝剩的飲料\",\n \"author\": \"xuan9612\",\n \"date\": \"2020-01-01T00:00:00.000Z\",\n \"comments\": [\n {\n \"author\": \"nighthunt:\",\n \"content\": \"還行啦\",\n \"date\": \"2001-05-23T17:52:00.000Z\"\n },\n {\n \"author\": \"wasgavin0410:\",\n \"content\": \"我覺得很好笑啊靠北\",\n \"date\": \"2001-05-23T17:54:00.000Z\"\n },\n {\n \"author\": \"ben7431495:\",\n \"content\": \"哇尬意DNF\",\n \"date\": \"2001-05-23T17:59:00.000Z\"\n },\n {\n \"author\": \"cobrangelk:\",\n \"content\": \"我居然笑了\",\n \"date\": \"2001-05-23T18:16:00.000Z\"\n },\n {\n \"author\": \"bomb1000:\",\n \"content\": \"清新\",\n \"date\": \"2001-05-23T18:23:00.000Z\"\n },\n {\n \"author\": \"axion6012:\",\n \"content\": \"不錯\",\n \"date\": \"2001-05-23T18:24:00.000Z\"\n },\n {\n \"author\": \"puremanly:\",\n \"content\": \"就喝剩的飲料\",\n \"date\": \"2001-05-23T18:32:00.000Z\"\n },\n {\n \"author\": \"jeeplong:\",\n \"content\": \"行\",\n \"date\": \"2001-05-23T18:37:00.000Z\"\n },\n {\n \"author\": \"luckydodo520:\",\n \"content\": \"超好笑\",\n \"date\": \"2001-05-23T18:46:00.000Z\"\n },\n {\n \"author\": \"siensien:\",\n \"content\": \"不錯\",\n \"date\": \"2001-05-23T18:50:00.000Z\"\n },\n {\n \"author\": \"uohZemllac:\",\n \"content\": \"有笑有推\",\n \"date\": \"2001-05-23T18:56:00.000Z\"\n },\n {\n \"author\": \"jeffmao5566:\",\n \"content\": \"還行啊\",\n \"date\": \"2001-05-23T19:21:00.000Z\"\n },\n {\n \"author\": \"nvalue:\",\n \"content\": \"XDDDD\",\n \"date\": \"2001-05-23T19:29:00.000Z\"\n },\n {\n \"author\": \"ZhiShan:\",\n \"content\": \"求解釋\",\n \"date\": \"2001-05-23T20:15:00.000Z\"\n },\n {\n \"author\": \"ryuri:\",\n \"content\": \"靠北我他媽笑了\",\n \"date\": \"2001-05-23T20:25:00.000Z\"\n },\n {\n \"author\": \"twin1949tw:\",\n \"content\": \"樓上,好玩的台語就叫喝剩\",\n \"date\": \"2001-05-23T20:28:00.000Z\"\n },\n {\n \"author\": \"loveinmars:\",\n \"content\": \"自動出現黃立成的聲音\",\n \"date\": \"2001-05-23T20:47:00.000Z\"\n },\n {\n \"author\": \"Cottonz:\",\n \"content\": \"XDDDD\",\n \"date\": \"2001-05-23T21:08:00.000Z\"\n },\n {\n \"author\": \"aqrt66558:\",\n \"content\": \"XDDDD\",\n \"date\": \"2001-05-23T21:18:00.000Z\"\n },\n {\n \"author\": \"MrPenguinn:\",\n \"content\": \"超老\",\n \"date\": \"2001-05-23T21:23:00.000Z\"\n },\n {\n \"author\": \"saikong:\",\n \"content\": \"靠北\",\n \"date\": \"2001-05-23T16:00:00.000Z\"\n }\n ]\n },\n {\n \"type\": \"購物\",\n \"title\": \"1/25~2/8 PCHOMEx街口優惠8%\",\n \"content\": `提醒ㄧ下 第二週今天開始了\n街口帳戶或是銀行帳戶扣款儲值PChome $2500\n會有200現金回饋+50的街口幣\n之後可用來搭配Line導購5%以上來購買商品\n用儲值進去導購是可以得到回饋的:)`,\n \"author\": \"polarbeer\",\n \"date\": \"Sat Feb 1 00:41:32 2020\",\n \"comments\": [\n {\n \"author\": \"line70107\",\n \"content\": \"補圖\",\n \"date\": \"2001-01-24T16:00:00.000Z\"\n },\n {\n \"author\": \"nentendo\",\n \"content\": \"試了一下無法使用街口結帳…\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"sieda\",\n \"content\": \"line導購只有1%啊\",\n \"date\": \"2001-01-24T17:34:00.000Z\"\n },\n {\n \"author\": \"jamesmile\",\n \"content\": \"哪裡有2500啊怎麼沒看到@@\",\n \"date\": \"2001-01-24T17:35:00.000Z\"\n },\n {\n \"author\": \"davidaustin\",\n \"content\": \"500+2000\",\n \"date\": \"2001-01-24T17:35:00.000Z\"\n },\n {\n \"author\": \"nentendo\",\n \"content\": \"導購的可以用街口結帳嗎?\",\n \"date\": \"2001-01-24T17:36:00.000Z\"\n },\n {\n \"author\": \"adrianex77\",\n \"content\": \"是先用街口結帳,未來買商品才用導購然後購物金付款\",\n \"date\": \"2001-01-24T17:37:00.000Z\"\n },\n {\n \"author\": \"adrianex77\",\n \"content\": \",買購物金導購不回饋\",\n \"date\": \"2001-01-24T17:37:00.000Z\"\n },\n {\n \"author\": \"sieda\",\n \"content\": \"1000+1500\",\n \"date\": \"2001-01-24T17:38:00.000Z\"\n },\n {\n \"author\": \"jamesmile\",\n \"content\": \"阿擬嘎\",\n \"date\": \"2001-01-24T16:00:00.000Z\"\n },\n {\n \"author\": \"nentendo\",\n \"content\": \"啊!忘了儲值不能用導購,不過我用APP也無法用街口\",\n \"date\": \"2001-01-24T17:43:00.000Z\"\n },\n {\n \"author\": \"nentendo\",\n \"content\": \"結帳,只好改網頁版了\",\n \"date\": \"2001-01-24T17:43:00.000Z\"\n },\n {\n \"author\": \"sieda\",\n \"content\": \"https://i.imgur.com/LqrDJmk.jpg\",\n \"date\": \"2001-01-24T17:43:00.000Z\"\n },\n {\n \"author\": \"cip604\",\n \"content\": \"感謝 已儲值2500\",\n \"date\": \"2001-01-24T17:44:00.000Z\"\n },\n {\n \"author\": \"sieda\",\n \"content\": \"我用app結帳可以用街口啊\",\n \"date\": \"2001-01-24T17:44:00.000Z\"\n },\n {\n \"author\": \"erik8866\",\n \"content\": \"請問下周還有一次嗎??\",\n \"date\": \"2001-01-24T16:00:00.000Z\"\n },\n {\n \"author\": \"nentendo\",\n \"content\": \"我也記得之前可以,但現在不知為何沒選項可選\",\n \"date\": \"2001-01-24T17:53:00.000Z\"\n },\n {\n \"author\": \"nentendo\",\n \"content\": \"https://i.imgur.com/eEWWOMd.jpg\",\n \"date\": \"2001-01-24T17:53:00.000Z\"\n },\n {\n \"author\": \"adrianex77\",\n \"content\": \"1/25-1/31一次上限200\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"willko\",\n \"content\": \"活動期間本來就不能用街口幣折抵啊\",\n \"date\": \"2001-01-24T16:00:00.000Z\"\n }\n ]\n },\n {\n \"type\": \"愛情\",\n \"title\": \"該送禮物嗎\",\n \"content\": `我男30 對方女26\n有打算在情人節告白\n不知道要不要送情人節禮物呢?\n如果告白死就QQ了\n目前有牽手親吻 但就是沒有確立關係\n所以對方FB還是寫單身\n認識時間只有三個月 但我想要確立關係 會不會太急呢?\n如果要送禮物 我該告白時一起送 還是得到答覆後再拿出呢?\n另外假設進展順利\n一開始就送手錶合適嗎? 其實對方已經有手表了\n但手錶代表的意義蠻深的 所以有想送 但怕隔年不好提升禮物等級(?)\n或是首飾類(手鐲 項鍊)比較好? 對方喜歡耳環 但之前有送過了\n請各位幫忙給點意見 謝謝大家`,\n \"author\": \"risD\",\n \"date\": \"Sun Feb 2 17:10:00 2020\",\n \"comments\": [\n {\n \"author\": \"jidou:\",\n \"content\": \"三個月差不多要進展了,親吻還不說交往,我會以為想要玩喔\",\n \"date\": \"2001-02-02T09:12:00.000Z\"\n },\n {\n \"author\": \"Firenzea:\",\n \"content\": \"送手表的意義是啥?一只很貴?\",\n \"date\": \"2001-02-02T09:12:00.000Z\"\n },\n {\n \"author\": \"Firenzea:\",\n \"content\": \"錶\",\n \"date\": \"2001-02-02T09:12:00.000Z\"\n },\n {\n \"author\": \"jidou:\",\n \"content\": \"可是她是不是只想玩,想不想要交往,文章裡面沒有資訊\",\n \"date\": \"2001-02-02T09:12:00.000Z\"\n },\n {\n \"author\": \"jason032323:\",\n \"content\": \"先告白成功後再送\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"jason032323:\",\n \"content\": \"物不是重點\",\n \"date\": \"2001-02-01T16:00:00.000Z\"\n },\n {\n \"author\": \"Firenzea:\",\n \"content\": \"我是認為\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"Firenzea:\",\n \"content\": \"主權」的感覺\",\n \"date\": \"2001-02-01T16:00:00.000Z\"\n },\n {\n \"author\": \"davery:\",\n \"content\": \"親吻了還不算喔...趕快告白比較實在\",\n \"date\": \"2001-02-02T09:14:00.000Z\"\n },\n {\n \"author\": \"tellthe:\",\n \"content\": \"答應後再送啦,不然會有拿人手短的感覺XDDD也不要一起,\",\n \"date\": \"2001-02-02T09:17:00.000Z\"\n },\n {\n \"author\": \"tellthe:\",\n \"content\": \"又不是交換禮物\",\n \"date\": \"2001-02-02T09:17:00.000Z\"\n },\n {\n \"author\": \"wea567:\",\n \"content\": \"感覺牽手親吻已經是確立關係了啦。只是欠缺告白的儀式之類\",\n \"date\": \"2001-02-02T09:20:00.000Z\"\n },\n {\n \"author\": \"wea567:\",\n \"content\": \"的\",\n \"date\": \"2001-02-02T09:20:00.000Z\"\n },\n {\n \"author\": \"risD:\",\n \"content\": \"對...缺了儀式\",\n \"date\": \"2001-02-01T16:00:00.000Z\"\n },\n {\n \"author\": \"risD:\",\n \"content\": \"手錶我查是有表白跟分分秒秒一起走的意思\",\n \"date\": \"2001-02-02T09:39:00.000Z\"\n },\n {\n \"author\": \"RaiGend0519:\",\n \"content\": \"別送\",\n \"date\": \"2001-02-02T09:40:00.000Z\"\n },\n {\n \"author\": \"RaiGend0519:\",\n \"content\": \"情人節約出去直接定生死\",\n \"date\": \"2001-02-02T09:41:00.000Z\"\n },\n {\n \"author\": \"risD:\",\n \"content\": \"謝謝tell\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"Firenzea:\",\n \"content\": \"那要表白(?)跟分分秒秒一起走的話不是現在嗎?\",\n \"date\": \"2001-02-02T09:41:00.000Z\"\n },\n {\n \"author\": \"risD:\",\n \"content\": \"不送是怕有些女生認為這點心意都不願給之類的?\",\n \"date\": \"2001-02-02T09:42:00.000Z\"\n },\n {\n \"author\": \"Firenzea:\",\n \"content\": \"總不會在一起後才要送手錶表白吧\",\n \"date\": \"2001-02-01T16:00:00.000Z\"\n },\n {\n \"author\": \"Firenzea:\",\n \"content\": \"一起走了?\",\n \"date\": \"2001-02-02T09:42:00.000Z\"\n },\n {\n \"author\": \"RaiGend0519:\",\n \"content\": \"啊如果她不想進一步,你送她接受就變渣女,她不接受\",\n \"date\": \"2001-02-02T09:42:00.000Z\"\n },\n {\n \"author\": \"RaiGend0519:\",\n \"content\": \"你又尷尬,兩條都4死路R\",\n \"date\": \"2001-02-02T09:42:00.000Z\"\n },\n {\n \"author\": \"RaiGend0519:\",\n \"content\": \"都已經做到這份上了,先定生死再說\",\n \"date\": \"2001-02-02T09:43:00.000Z\"\n },\n {\n \"author\": \"risD:\",\n \"content\": \"啊啊啊\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"meishan31:\",\n \"content\": \"不要\",\n \"date\": \"2001-02-02T09:52:00.000Z\"\n },\n {\n \"author\": \"gjiiiiii:\",\n \"content\": \"第一次看到手錶等於分分秒秒一起走XDD\",\n \"date\": \"2001-02-02T09:55:00.000Z\"\n },\n {\n \"author\": \"NSRC:\",\n \"content\": \"早就有男友了\",\n \"date\": \"2001-02-02T09:55:00.000Z\"\n },\n {\n \"author\": \"risD:\",\n \"content\": \"gji我google的啦\",\n \"date\": \"2001-02-02T09:57:00.000Z\"\n }\n ]\n },\n {\n \"type\": \"購物\",\n \"title\": \"買麥當勞或肯德基送漢堡王\",\n \"content\": `★ 活動辦法|憑「當日」購買麥當勞或肯德基的「套餐」發票明細,即可免費兌換漢堡王\n全新限時主打星「義式青醬烤時蔬雞腿堡」或者「義式青醬烤時蔬里肌堡」一個!\n★ 兌換數量|限量一萬份,數量有限,換完為止\n★ 活動日期|即日起至12/10\n★ 活動門市|全台漢堡王門市 (P.S.機場店\u0026兒童樂園店不適用)\n\n★ 注意事項|\n1.每日上午10:30後供應。\n2.活動商品數量限一萬份,換完為止。\n3.每人僅可兌換一次,每次限兌換一個漢堡。\n4.兌換時需出示發票明細紙本,若破損不全或填載模糊不清,恕不提供兌換。\n5.未附明細之紙本發票、電子載具恕不適用。\n6.活動限臨櫃兌換,外送恕不適用。\n7.若發生問題或不可抗力因素導致活動無法進行,漢堡王有保留變更或終止本活動時間、\n內容之權利。`,\n \"author\": \"greenruler\",\n \"date\": \"Thu Dec 5 11:12:42 2019\",\n \"comments\": [\n {\n \"author\": \"b10485762000:\",\n \"content\": \"12/05\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"macrose\",\n \"content\": \"首先,你要找的到漢堡王\",\n \"date\": \"2001-12-05T03:13:00.000Z\"\n },\n {\n \"author\": \"sdhpipt\",\n \"content\": \"好奇妙的活動\",\n \"date\": \"2001-12-04T16:00:00.000Z\"\n },\n {\n \"author\": \"wenzao6040\",\n \"content\": \"哈這麼狂\",\n \"date\": \"2001-12-05T03:16:00.000Z\"\n },\n {\n \"author\": \"xufuu\",\n \"content\": \"高雄還沒開幕\",\n \"date\": \"2001-12-04T16:00:00.000Z\"\n },\n {\n \"author\": \"xufuu\",\n \"content\": \"點點卡點便宜的解任務\",\n \"date\": \"2001-12-05T03:18:00.000Z\"\n },\n {\n \"author\": \"Deltak\",\n \"content\": \"https://i.imgur.com/IiE7oMH.png\",\n \"date\": \"2001-12-05T03:25:00.000Z\"\n },\n {\n \"author\": \"kingoftenor\",\n \"content\": \"http://bit.ly/2rjb9Un\",\n \"date\": \"2001-12-05T03:26:00.000Z\"\n },\n {\n \"author\": \"kingoftenor\",\n \"content\": \"官方fb\",\n \"date\": \"2001-12-05T03:26:00.000Z\"\n },\n {\n \"author\": \"a10141013\",\n \"content\": \"這什麼?\",\n \"date\": \"2001-12-05T03:26:00.000Z\"\n },\n {\n \"author\": \"chris0123\",\n \"content\": \"肯德基報優惠碼,有可能不被認可為套餐?\",\n \"date\": \"2001-12-05T03:27:00.000Z\"\n },\n {\n \"author\": \"RainbowHeart:\",\n \"content\": \"12/05\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"oba5566\",\n \"content\": \"用一萬份免費漢堡來增加對手業績???\",\n \"date\": \"2001-12-05T03:28:00.000Z\"\n },\n {\n \"author\": \"tantai99\",\n \"content\": \"\\\"當日\\\"發票\",\n \"date\": \"2001-12-05T03:28:00.000Z\"\n },\n {\n \"author\": \"peanutboy\",\n \"content\": \"記得近半年一年有新開蠻多家漢堡王的\",\n \"date\": \"2001-12-05T03:29:00.000Z\"\n },\n {\n \"author\": \"annheilong\",\n \"content\": \"這活動也太神祕\",\n \"date\": \"2001-12-04T16:00:00.000Z\"\n },\n {\n \"author\": \"peanutboy\",\n \"content\": \"這策略很像某人說支持什麼之類的…\",\n \"date\": \"2001-12-04T16:00:00.000Z\"\n },\n {\n \"author\": \"RainbowHeart:\",\n \"content\": \"12/05\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"e04bank\",\n \"content\": \"好狂\",\n \"date\": \"2001-12-05T03:37:00.000Z\"\n },\n {\n \"author\": \"gogotalk\",\n \"content\": \"這招看不懂\",\n \"date\": \"2001-12-05T03:40:00.000Z\"\n },\n {\n \"author\": \"hydra7\",\n \"content\": \"狂\",\n \"date\": \"2001-12-05T03:42:00.000Z\"\n },\n {\n \"author\": \"willion003\",\n \"content\": \"交大剛好有一間\",\n \"date\": \"2001-12-05T03:46:00.000Z\"\n }\n ]\n },\n {\n \"type\": \"新聞\",\n \"title\": \"英國正式脫歐 結束47年歐盟成員身分\",\n \"content\": `經過三年半,英國決定在台灣時間2月1號早上7點,正式脫歐。英國首相強生強調,脫歐\n對英國來講,是新的開始而非結束。\n\n英國當地時間1月31號晚間11點,倫敦大笨鐘的影像投影在倫敦唐寧街10號首相官邸,預\n錄的鐘聲響徹雲霄,也代表英國正式脫離歐盟,結束了長達47年的歐盟成員身份,成為史\n上第一個脫歐的國家。同一時間,英國脫歐黨號召大批民眾聚集在國會大廈外的廣場,慶\n祝這歷史性的時刻。\n\n現場民眾表示,「太棒了,這一刻等太久了,為了脫歐付出了很大代價。」也有民眾指出\n,「我非常興奮,太棒了,這也是我們想要的,這是一場辛苦的奮戰,波瑞斯(強生)加油\n。」\n`,\n \"author\": \"S7617921\",\n \"date\": \"Sat Feb 1 21:24:54 2020\",\n \"comments\": [\n {\n \"author\": \"charco:\",\n \"content\": \"脫歐被肺炎蓋過了\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"GhostFather:\",\n \"content\": \"我豪男過\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"chocoball:\",\n \"content\": \"然後明年又要申請加入?\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"avgirl:\",\n \"content\": \"歐盟就是一個笑話阿...........\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"kaodio:\",\n \"content\": \"不會再辦個入歐公投喔\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"xianfen:\",\n \"content\": \"沒空\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"Brad255:\",\n \"content\": \"歐盟還能撐幾年?\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"luckysummer:\",\n \"content\": \"偷偷來\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"ewjfd:\",\n \"content\": \"881\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"oscarwu3041:\",\n \"content\": \"蘇格蘭:幹\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"koushimei:\",\n \"content\": \"一堆左膠國家的組合\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"judoyang:\",\n \"content\": \"軟脫歐??\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"cloudcuckoo:\",\n \"content\": \"推特英國鄉民還在崩潰,可憐哪\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"lusifa2007:\",\n \"content\": \"這樣是恢復各國關稅?\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"ECZEMA:\",\n \"content\": \"歷史大事啊!\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"tomchow76:\",\n \"content\": \"英國脫歐是一種歷史的必然\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"panny2010:\",\n \"content\": \"脫歐完還要嘲笑一下歐盟XD\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"tomchow76:\",\n \"content\": \"都在跟歐陸國家對槓\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"vincent0911x:\",\n \"content\": \"短期也沒啥影響\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"kinomon:\",\n \"content\": \"神串留名\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"SuperBMW:\",\n \"content\": \"英格蘭\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"alasa15:\",\n \"content\": \"歐盟有這麼久了!?\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"Horie:\",\n \"content\": \"脱\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"audi0909:\",\n \"content\": \"媽我在這裡,我是歐派\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n },\n {\n \"author\": \"ZXKUQYB:\",\n \"content\": \"想起剛投出脫歐結果時國內政客的狼狽樣XD\",\n \"date\": \"2001-01-31T16:00:00.000Z\"\n }\n ]\n },\n]\n\nvar post = DB.table('post'); //文章的資料表\nvar comment = DB.table('comment'); //留言的資料表\nfunction initDB () {\n post.delete({})\n comment.delete({})\n \n comment_arr = []\n \n seeds.forEach(function (p, idx) {\n \n p.date = new Date(p.date)\n var comments = p.comments\n delete p['comments']\n \n post.create(p, obj =\u003e {\n comments = comments.map(function (c) {\n c.postId = obj.id\n c.date = new Date(c.date)\n return c\n });\n comment_arr = comment_arr.concat(comments)\n \n comment.create(comment_arr, console.log)\n })\n });\n}\n\n","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":294,"hashid":"vngsyyenq","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3716906,"file_name":"koding.png","project_id":212219,"asset_id":186956,"created_at":"2020-12-13T13:40:21.713+08:00","updated_at":"2020-12-13T13:40:21.713+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦