LOFTER 标签
LOFTER标签
分享者: xiao233666 (525)发布时间: 2023/10/06
修改了登录地址
用我半吊子的CSS知识稍微美化了内容页
{ "articleStyle": 0, "customOrder": 19, "enableJs": true, "enabled": true, "enabledCookieJar": false, "header": "{\n\"Content-Type\": \"application\/x-www-form-urlencoded;charset=utf-8\"\n}", "lastUpdateTime": 0, "loadWithBaseUrl": true, "loginUrl": "https:\/\/www.lofter.com", "ruleArticles": "<js>result.replace(\/null\/g,'')<\/js>\n$.response.items[*]||$.response.posts[*]||$.data.blogs[*]", "ruleContent": "<js>\nif(baseUrl.match(\/detail\/)){\nurl='{{$.response.posts[0].post.blogPageUrl}}';\njava.ajax(url);\n}else{result}\n<\/js>\n@css:.selfinfo h1,.g-mnc,div[class~=cont]:eq(0),.main\n.box,.ct@html\n<js>\nresult.replace(\/<h1><a href=\"\\\/\">([^<]+)<\\\/a><\\\/h1>\/,'')\n<\/js>\n##(.*?class=\"nctitle\">|<!-- Pager -->)[\\s\\S]+|(?<=\\<p\\>)(\\s| )*|bigimgwidth=\"[^\"]+\"|bigimgheight=\"[^\"]+\"|style=\".*\"", "ruleDescription": "", "ruleImage": "$.post.firstImageUrl||$.bigAvaImg##(http.*?(?:png|jpg))##$1###", "ruleLink": "@js:url='{{$.post.blogPageUrl||$.blogId}}';\nid='{{$.post.id}}';\nif(url.match(\/_blogid_\\d+\/)){\nmain=url.match(\/(_blogid_.*?)\\\/\/)[1];\nbody=\"blogdomain=\"+main+\"&postid=\"+id;\nresult='https:\/\/api.lofter.com\/oldapi\/post\/detail.api?product=lofter-android-6.11.3,{\"method\":\"POST\",\"body\":\"'+String(body)+'\"}';\n}else{result=url}", "ruleNextPage": "page", "rulePubDate": "$.post.publishTime\n@js:result?java.timeFormat(parseInt(result)):''", "ruleTitle": "$.post.title||$.post.digest||$.blogNiceName||$.blogNickName\n<js>\na=result.replace(\/^(.{0,15})\/,'$1').replace(\/<.*?>\/g,'');\njava.put('text',a);\na<\/js>", "singleUrl": false, "sortUrl": "最新::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag={{source.getVariable()}}&type=new,{\"method\": \"POST\",\"body\":\"null\"}\n最热::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag={{source.getVariable()}}&type=total,{\"method\": \"POST\",\"body\":\"null\"}\n月榜::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag={{source.getVariable()}}&type=week,{\"method\": \"POST\",\"body\":\"null\"}\n周榜::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag={{source.getVariable()}}&type=week,{\"method\": \"POST\",\"body\":\"null\"}\n日榜::https:\/\/api.lofter.com\/oldapi\/tagPosts.api?product=lofter-android-6.13.0&method=newTagSearch&offset={{(page-1) *22}}&limit=22&firstpermalink=null&tag={{source.getVariable()}}&type=date,{\"method\": \"POST\",\"body\":\"null\"}", "sourceComment": "1、需登录。\n2、在源变量处设置想看的标签。\n3、原作者:关耳。本人只做了微量改动。", "sourceGroup": "LOFTER", "sourceIcon": "https:\/\/img.yoti.cn\/uploadimg\/ico\/2021\/0126\/1611654381730956.png", "sourceName": "LOFTER\n标签", "sourceUrl": "LOFTER标签", "style": "h2,h2 a{\n\ttext-decoration: none;\n\ttext-align: left;\n\tfont-size: 123%;\n\tbackground-color: Gray;\n\tcolor: white;\n\tmargin-top: 7%;\n\tmargin-bottom: 12%;\n\tmargin-left: 3%;\n\tmargin-right: 3%;\n\t}\ndiv p {\n\tline-height: 1.6;\n\ttext-indent:2em;\n\tmargin-left: 3%;\n\tmargin-right: 3%;\n\t}\n.g-mnc,.main,.box,.ct,img,.pic img{\n\twidth:100%;\n\t}", "variableComment": "在这里填写标签名,保存,刷新分类。\n记得刷新分类!记得刷新分类!记得刷新分类!" }