首页
留言
友链
壁纸
更多
直播
追番
统计
关于
Search
1
欢迎使用 Typecho
181 阅读
2
为Joe主题增加表情包
152 阅读
3
Java的一些基础知识总结
133 阅读
4
『转载』Linux文件自动备份百度网盘
132 阅读
5
Js 音频律动
122 阅读
默认分类
Java
Java基础知识
Java面向对象
JavaWeb服务
前端三剑客
HTML
JS
Typecho
前端小结
Vue
登录
/
注册
Search
标签搜索
Java
Servlet
HTML
面向对象
Web
Vue
JS
Typecho
Typora
Markdown
乐抖系统
Typecho主题
技术教程
类与对象
基础知识
Tomcat
Maven
Linux
MySQL
Mybatis
白衣少年
累计撰写
46
篇文章
累计收到
42
条评论
首页
栏目
默认分类
Java
Java基础知识
Java面向对象
JavaWeb服务
前端三剑客
HTML
JS
Typecho
前端小结
Vue
页面
留言
友链
壁纸
直播
追番
统计
关于
用户登录
登录
注册
搜索到
2
篇
标签为
Typecho
的文章
2022-10-27
为Joe主题增加表情包
成果展示文章编辑器教程开始一、添加表情过滤因为Joe主题之前被人恶意注入过xss,因此主题作者添加了关键词屏蔽,所以还要进行过滤拿到一个表情包后,在 windows 系统中下这样操作,在表情包文件夹内创建一个 文本文档dir /b > list.txt 保存后将文件后缀改为 bat ,然后再双击打开,就会生成一个 list.txt 文件生成的 list.txt 就包含了改目录下的全部文件名,就可以很方便的批处理。关键词拼串可以使用Excel进行,直接使用以下代码就行先把名字多余部分删除 按 ctrl+f打开替换然后开始使用公式=A2&$F$2&A3 =E2&$F$2&A4然后打开Joe/core/parse.php 文件,找到表情过滤在下面添加你表情的关键词与表情地址{tabs}{tabs-pane label="代码"}隐藏内容,请前往内页查看详情{/tabs-pane}{tabs-pane label="文件位置"}{/tabs-pane}{/tabs}这里有一个坑 ,因为原作者引用表情包地址是用的 urlencode() 函数,将文字转换为UrlEncode编码的字符所以图片地址应该为不带 % 的UrlEncode,因此可以在站长工具 UrlEncode编码/UrlDecode解码 中将图片list.txt的文字转码为UrlEncode字符串然后再复制到Excel中将% 替换为 空值 ,就像这样,和之前重命名部分一样虽然转码完成了,但是还要把图片名称都换成不带 % 的UrlEncode才行如果你是Windows系统就很简单了(Mac的同学自行百度批量修改文件名),同样是在Excel中进行拼串="ren "&A3&".gif "&C3&".gif"得到结果后,首先在表情包文件夹中创建一个red.txt 文件,然后将得到的结果粘贴到txt文件中保存注意:这里记得点另存为编码选择ANSI,不然可能会修改不了二、配置 OwO.json打开 Joe/assets/json 下的 joe.owo.json 文件在里面添加(请自行删除代码中的 删除 字符){"QQ":[{"icon":"assets/owo/qq/aini.gif","data":":$(aini)"},{"icon":"assets/owo/qq/aixin.gif","data":":$(aixin)"},{"icon":"assets/owo/qq/aoman.gif","data":":$(aoman)"},{"icon":"assets/owo/qq/baiyan.gif","data":":$(baiyan)"},{"icon":"assets/owo/qq/bangbangtang.gif","data":":$(bangbangtang)"},{"icon":"assets/owo/qq/baojin.gif","data":":$(baojin)"},{"icon":"assets/owo/qq/baoquan.gif","data":":$(baoquan)"},{"icon":"assets/owo/qq/bishi.gif","data":":$(bishi)"},{"icon":"assets/owo/qq/bizui.gif","data":":$(bizui)"},{"icon":"assets/owo/qq/cahan.gif","data":":$(cahan)"},{"icon":"assets/owo/qq/caidao.gif","data":":$(caidao)"},{"icon":"assets/owo/qq/chi.gif","data":":$(chi)"},{"icon":"assets/owo/qq/ciya.gif","data":":$(ciya)"},{"icon":"assets/owo/qq/dabing.gif","data":":$(dabing)"},{"icon":"assets/owo/qq/daku.gif","data":":$(daku)"},{"icon":"assets/owo/qq/dan.gif","data":":$(dan)"},{"icon":"assets/owo/qq/deyi.gif","data":":$(deyi)"},{"icon":"assets/owo/qq/doge.gif","data":":$(doge)"},{"icon":"assets/owo/qq/fadai.gif","data":":$(fadai)"},{"icon":"assets/owo/qq/fanu.gif","data":":$(fanu)"},{"icon":"assets/owo/qq/fendou.gif","data":":$(fendou)"},{"icon":"assets/owo/qq/ganga.gif","data":":$(ganga)"},{"icon":"assets/owo/qq/gouyin.gif","data":":$(gouyin)"},{"icon":"assets/owo/qq/guzhang.gif","data":":$(guzhang)"},{"icon":"assets/owo/qq/haixiu.gif","data":":$(haixiu)"},{"icon":"assets/owo/qq/hanxiao.gif","data":":$(hanxiao)"},{"icon":"assets/owo/qq/haobang.gif","data":":$(haobang)"},{"icon":"assets/owo/qq/haqian.gif","data":":$(haqian)"},{"icon":"assets/owo/qq/hecai.gif","data":":$(hecai)"},{"icon":"assets/owo/qq/hexie.gif","data":":$(hexie)"},{"icon":"assets/owo/qq/huaixiao.gif","data":":$(huaixiao)"},{"icon":"assets/owo/qq/jie.gif","data":":$(jie)"},{"icon":"assets/owo/qq/jingkong.gif","data":":$(jingkong)"},{"icon":"assets/owo/qq/jingxi.gif","data":":$(jingxi)"},{"icon":"assets/owo/qq/jingya.gif","data":":$(jingya)"},{"icon":"assets/owo/qq/juhua.gif","data":":$(juhua)"},{"icon":"assets/owo/qq/keai.gif","data":":$(keai)"},{"icon":"assets/owo/qq/kelian.gif","data":":$(kelian)"},{"icon":"assets/owo/qq/koubi.gif","data":":$(koubi)"},{"icon":"assets/owo/qq/ku.gif","data":":$(ku)"},{"icon":"assets/owo/qq/kuaikule.gif","data":":$(kuaikule)"},{"icon":"assets/owo/qq/kulou.gif","data":":$(kulou)"},{"icon":"assets/owo/qq/kun.gif","data":":$(kun)"},{"icon":"assets/owo/qq/lanqiu.gif","data":":$(lanqiu)"},{"icon":"assets/owo/qq/leiben.gif","data":":$(leiben)"},{"icon":"assets/owo/qq/lenghan.gif","data":":$(lenghan)"},{"icon":"assets/owo/qq/liuhan.gif","data":":$(liuhan)"},{"icon":"assets/owo/qq/liulei.gif","data":":$(liulei)"},{"icon":"assets/owo/qq/nanguo.gif","data":":$(nanguo)"},{"icon":"assets/owo/qq/OK.gif","data":":$(OK)"},{"icon":"assets/owo/qq/penxue.gif","data":":$(penxue)"},{"icon":"assets/owo/qq/piezui.gif","data":":$(piezui)"},{"icon":"assets/owo/qq/pijiu.gif","data":":$(pijiu)"},{"icon":"assets/owo/qq/qiang.gif","data":":$(qiang)"},{"icon":"assets/owo/qq/qiaoda.gif","data":":$(qiaoda)"},{"icon":"assets/owo/qq/qinqin.gif","data":":$(qinqin)"},{"icon":"assets/owo/qq/qiudale.gif","data":":$(qiudale)"},{"icon":"assets/owo/qq/quantou.gif","data":":$(quantou)"},{"icon":"assets/owo/qq/saorao.gif","data":":$(saorao)"},{"icon":"assets/owo/qq/se.gif","data":":$(se)"},{"icon":"assets/owo/qq/shengli.gif","data":":$(shengli)"},{"icon":"assets/owo/qq/shouqiang.gif","data":":$(shouqiang)"},{"icon":"assets/owo/qq/shuai.gif","data":":$(shuai)"},{"icon":"assets/owo/qq/shui.gif","data":":$(shui)"},{"icon":"assets/owo/qq/tiaopi.gif","data":":$(tiaopi)"},{"icon":"assets/owo/qq/touxiao.gif","data":":$(touxiao)"},{"icon":"assets/owo/qq/tu.gif","data":":$(tu)"},{"icon":"assets/owo/qq/tuosai.gif","data":":$(tuosai)"},{"icon":"assets/owo/qq/weiqu.gif","data":":$(weiqu)"},{"icon":"assets/owo/qq/weixiao.gif","data":":$(weixiao)"},{"icon":"assets/owo/qq/woshou.gif","data":":$(woshou)"},{"icon":"assets/owo/qq/wozuimei.gif","data":":$(wozuimei)"},{"icon":"assets/owo/qq/wunai.gif","data":":$(wunai)"},{"icon":"assets/owo/qq/xia.gif","data":":$(xia)"},{"icon":"assets/owo/qq/xiaojiujie.gif","data":":$(xiaojiujie)"},{"icon":"assets/owo/qq/xiaoku.gif","data":":$(xiaoku)"},{"icon":"assets/owo/qq/xiaoyanger.gif","data":":$(xiaoyanger)"},{"icon":"assets/owo/qq/xieyanxiao.gif","data":":$(xieyanxiao)"},{"icon":"assets/owo/qq/xigua.gif","data":":$(xigua)"},{"icon":"assets/owo/qq/xu.gif","data":":$(xu)"},{"icon":"assets/owo/qq/yangtuo.gif","data":":$(yangtuo)"},{"icon":"assets/owo/qq/yinxian.gif","data":":$(yinxian)"},{"icon":"assets/owo/qq/yiwen.gif","data":":$(yiwen)"},{"icon":"assets/owo/qq/youhengheng.gif","data":":$(youhengheng)"},{"icon":"assets/owo/qq/youling.gif","data":":$(youling)"},{"icon":"assets/owo/qq/yun.gif","data":":$(yun)"},{"icon":"assets/owo/qq/zaijian.gif","data":":$(zaijian)"},{"icon":"assets/owo/qq/zhayanjian.gif","data":":$(zhayanjian)"},{"icon":"assets/owo/qq/zhemo.gif","data":":$(zhemo)"},{"icon":"assets/owo/qq/zhouma.gif","data":":$(zhouma)"},{"icon":"assets/owo/qq/zhuakuang.gif","data":":$(zhuakuang)"},{"icon":"assets/owo/qq/zuohengheng.gif","data":":$(zuohengheng)"}],"Bilibili":[{"icon":"assets/owo/bilibili/doge.gif","data":":#(doge)"},{"icon":"assets/owo/bilibili/E4BAB2E4BAB2.gif","data":":#(亲亲)"},{"icon":"assets/owo/bilibili/E581B7E7AC91.gif","data":":#(偷笑)"},{"icon":"assets/owo/bilibili/E5868DE8A781.gif","data":":#(再见)"},{"icon":"assets/owo/bilibili/E58F91E68092.gif","data":":#(发怒)"},{"icon":"assets/owo/bilibili/E58F91E8B4A2.gif","data":":#(发财)"},{"icon":"assets/owo/bilibili/E58FAFE788B1.gif","data":":#(可爱)"},{"icon":"assets/owo/bilibili/E59090E8A180.gif","data":":#(吐血)"},{"icon":"assets/owo/bilibili/E59186.gif","data":":#(呆)"},{"icon":"assets/owo/bilibili/E59195E59090.gif","data":":#(呕吐)"},{"icon":"assets/owo/bilibili/E59BB0.gif","data":":#(困)"},{"icon":"assets/owo/bilibili/E59D8FE7AC91.gif","data":":#(坏笑)"},{"icon":"assets/owo/bilibili/E5A4A7E4BDAC.gif","data":":#(大佬)"},{"icon":"assets/owo/bilibili/E5A4A7E593AD.gif","data":":#(大哭)"},{"icon":"assets/owo/bilibili/E5A794E5B188.gif","data":":#(委屈)"},{"icon":"assets/owo/bilibili/E5AEB3E7BE9E.gif","data":":#(害羞)"},{"icon":"assets/owo/bilibili/E5B0B4E5B0AC.gif","data":":#(尴尬)"},{"icon":"assets/owo/bilibili/E5BEAEE7AC91.gif","data":":#(微笑)"},{"icon":"assets/owo/bilibili/E6809DE88083.gif","data":":#(思考)"},{"icon":"assets/owo/bilibili/E6838AE59093.gif","data":":#(惊吓)"},{"icon":"assets/owo/bilibili/E68993E884B8.gif","data":":#(打脸)"},{"icon":"assets/owo/bilibili/E68A93E78B82.gif","data":":#(抓狂)"},{"icon":"assets/owo/bilibili/E68AA0E9BCBBE5AD90.gif","data":":#(抠鼻子)"},{"icon":"assets/owo/bilibili/E6969CE79CBCE7AC91.gif","data":":#(斜眼笑)"},{"icon":"assets/owo/bilibili/E697A0E5A588.gif","data":":#(无奈)"},{"icon":"assets/owo/bilibili/E69995.gif","data":":#(晕)"},{"icon":"assets/owo/bilibili/E6B581E6B197.gif","data":":#(流汗)"},{"icon":"assets/owo/bilibili/E6B581E9BCBBE8A180.gif","data":":#(流鼻血)"},{"icon":"assets/owo/bilibili/E782B9E8B59E.gif","data":":#(点赞)"},{"icon":"assets/owo/bilibili/E7949FE6B094.gif","data":":#(生气)"},{"icon":"assets/owo/bilibili/E7949FE79785.gif","data":":#(生病)"},{"icon":"assets/owo/bilibili/E79691E997AE.gif","data":":#(疑问)"},{"icon":"assets/owo/bilibili/E799BDE79CBC.gif","data":":#(白眼)"},{"icon":"assets/owo/bilibili/E79DA1E79D80.gif","data":":#(睡着)"},{"icon":"assets/owo/bilibili/E7AC91E593AD.gif","data":":#(笑哭)"},{"icon":"assets/owo/bilibili/E885BCE88586.gif","data":":#(腼腆)"},{"icon":"assets/owo/bilibili/E889B2.gif","data":":#(色)"},{"icon":"assets/owo/bilibili/E8B083E79AAE.gif","data":":#(调皮)"},{"icon":"assets/owo/bilibili/E98499E8A786.gif","data":":#(鄙视)"},{"icon":"assets/owo/bilibili/E997ADE598B4.gif","data":":#(闭嘴)"},{"icon":"assets/owo/bilibili/E99ABEE8BF87.gif","data":":#(难过)"},{"icon":"assets/owo/bilibili/E9A68B.gif","data":":#(馋)"},{"icon":"assets/owo/bilibili/E9BB91E4BABAE997AEE58FB7.gif","data":":#(黑人问号)"},{"icon":"assets/owo/bilibili/E9BC93E68E8C.gif","data":":#(鼓掌)"}],"热词系列":[{"icon":"assets/owo/bilibili/AWSL.png","data":":#(AWSL)"},{"icon":"assets/owo/bilibili/BE7AB99E69C89E688BF.png","data":":#(B站有房)"},{"icon":"assets/owo/bilibili/DNA.png","data":":#(DNA)"},{"icon":"assets/owo/bilibili/E4B889E8BF9E.png","data":":#(三连)"},{"icon":"assets/owo/bilibili/E4B88DE5ADA4E9B89F.png","data":":#(不孤鸟)"},{"icon":"assets/owo/bilibili/E4B88DE684A7E698AFE4BDA0.png","data":":#(不愧是你)"},{"icon":"assets/owo/bilibili/E4B8A4E99DA2E58C85E5A4B9E88A9DE5A3AB.png","data":":#(两面包夹芝士)"},{"icon":"assets/owo/bilibili/E4BB99E4BABAE68C87E8B7AF.png","data":":#(仙人指路)"},{"icon":"assets/owo/bilibili/E4BC98E99B85.png","data":":#(优雅)"},{"icon":"assets/owo/bilibili/E4BDA0E58FAFE79C9FE6989F.png","data":":#(你可真星)"},{"icon":"assets/owo/bilibili/E4BDA0E5B881E69C89E4BA86.png","data":":#(你币有了)"},{"icon":"assets/owo/bilibili/E4BDA0E7BB86E59381.png","data":":#(你细品)"},{"icon":"assets/owo/bilibili/E4BF9DE68AA4.png","data":":#(保护)"},{"icon":"assets/owo/bilibili/E5868DE69DA5E4BABFE9818D.png","data":":#(再来亿遍)"},{"icon":"assets/owo/bilibili/E58FAFE4BBA5.png","data":":#(可以)"},{"icon":"assets/owo/bilibili/E590B9E78886.png","data":":#(吹爆)"},{"icon":"assets/owo/bilibili/E59295E59295.png","data":":#(咕咕)"},{"icon":"assets/owo/bilibili/E5938EE591A6E4B88DE99499E593A6.png","data":":#(哎呦不错哦)"},{"icon":"assets/owo/bilibili/E5A49AE8B0A2E6ACBEE5BE85.png","data":":#(多谢款待)"},{"icon":"assets/owo/bilibili/E5A4A7E5B888E79083.png","data":":#(大师球)"},{"icon":"assets/owo/bilibili/E5A4BAE7AC8BE59190.png","data":":#(夺笋呐)"},{"icon":"assets/owo/bilibili/E5A5A5E58A9BE7BB99.png","data":":#(奥力给)"},{"icon":"assets/owo/bilibili/E5A5BDE5AEB6E4BC99.png","data":":#(好家伙)"},{"icon":"assets/owo/bilibili/E5A5BDE6B4BB.png","data":":#(好活)"},{"icon":"assets/owo/bilibili/E5A5BDE880B6.png","data":":#(好耶)"},{"icon":"assets/owo/bilibili/E5A699E5958A.png","data":":#(妙啊)"},{"icon":"assets/owo/bilibili/E5AE8CE7BB93E69292E88AB1.png","data":":#(完结撒花)"},{"icon":"assets/owo/bilibili/E5AEB3.png","data":":#(害)"},{"icon":"assets/owo/bilibili/E5AFB9E8B1A1.png","data":":#(对象)"},{"icon":"assets/owo/bilibili/E5B88CE69C9BE6B2A1E4BA8B.png","data":":#(希望没事)"},{"icon":"assets/owo/bilibili/E5BCA0E4B889.png","data":":#(张三)"},{"icon":"assets/owo/bilibili/E68891E585A8E983BDE8A681.png","data":":#(我全都要)"},{"icon":"assets/owo/bilibili/E68891E593ADE4BA86.png","data":":#(我哭了)"},{"icon":"assets/owo/bilibili/E68891E5A4AAE58D97E4BA86.png","data":":#(我太南了)"},{"icon":"assets/owo/bilibili/E68891E8A382E5BC80E4BA86.png","data":":#(我裂开了)"},{"icon":"assets/owo/bilibili/E68891E985B8E4BA86.png","data":":#(我酸了)"},{"icon":"assets/owo/bilibili/E68993E58DA1.png","data":":#(打卡)"},{"icon":"assets/owo/bilibili/E68E92E99DA2.png","data":":#(排面)"},{"icon":"assets/owo/bilibili/E69C89E58685E591B3E4BA86.png","data":":#(有内味了)"},{"icon":"assets/owo/bilibili/E69C89E7949FE4B98BE5B9B4.png","data":":#(有生之年)"},{"icon":"assets/owo/bilibili/E6A087E58786E7BB93E5B180.png","data":":#(标准结局)"},{"icon":"assets/owo/bilibili/E6A2A6E5B9BBE88194E58AA8.png","data":":#(梦幻联动)"},{"icon":"assets/owo/bilibili/E6B3AAE79BAE.png","data":":#(泪目)"},{"icon":"assets/owo/bilibili/E6B49BE6B0B4E5A4A9E4BE9D.png","data":":#(洛水天依)"},{"icon":"assets/owo/bilibili/E783ADE4B98E.png","data":":#(热乎)"},{"icon":"assets/owo/bilibili/E78783E8B5B7E69DA5E4BA86.png","data":":#(燃起来了)"},{"icon":"assets/owo/bilibili/E788B1E4BA86E788B1E4BA86.png","data":":#(爱了爱了)"},{"icon":"assets/owo/bilibili/E788B7E585B3E69BB4.png","data":":#(爷关更)"},{"icon":"assets/owo/bilibili/E788B7E99D92E59B9E.png","data":":#(爷青回)"},{"icon":"assets/owo/bilibili/E78BBCE781AB.png","data":":#(狼火)"},{"icon":"assets/owo/bilibili/E78C9BE794B7E5BF85E79C8B.png","data":":#(猛男必看)"},{"icon":"assets/owo/bilibili/E79C9FE9A699.png","data":":#(真香)"},{"icon":"assets/owo/bilibili/E79FA5E8AF86E5A29EE58AA0.png","data":":#(知识增加)"},{"icon":"assets/owo/bilibili/E79FA5E8AF86E79BB2E58CBA.png","data":":#(知识盲区)"},{"icon":"assets/owo/bilibili/E7A0B4E998B2E4BA86.png","data":":#(破防了)"},{"icon":"assets/owo/bilibili/E7A59EE4BB99UP.png","data":":#(神仙UP)"},{"icon":"assets/owo/bilibili/E7A68FE5BBBAE888B0.png","data":":#(福建舰)"},{"icon":"assets/owo/bilibili/E7A780.png","data":":#(秀)"},{"icon":"assets/owo/bilibili/E88A9CE6B996E8B5B7E9A39E.png","data":":#(芜湖起飞)"},{"icon":"assets/owo/bilibili/E8BF99E6ACA1E4B880E5AE9A.png","data":":#(这次一定)"},{"icon":"assets/owo/bilibili/E98092E8AF9DE7AD92.png","data":":#(递话筒)"},{"icon":"assets/owo/bilibili/E994A4.png","data":":#(锤)"},{"icon":"assets/owo/bilibili/E99587E7AB99E4B98BE5AE9D.png","data":":#(镇站之宝)"},{"icon":"assets/owo/bilibili/E997AEE58FB7.png","data":":#(问号)"},{"icon":"assets/owo/bilibili/E9A5AEE88CB6E58588E595A6.png","data":":#(饮茶先啦)"},{"icon":"assets/owo/bilibili/E9AB98E4BAA7.png","data":":#(高产)"}],"泡泡":[{"icon":"assets/owo/paopao/E591B5E591B5_2x.png","data":"::(呵呵)"},{"icon":"assets/owo/paopao/E59388E59388_2x.png","data":"::(哈哈)"},{"icon":"assets/owo/paopao/E59090E8888C_2x.png","data":"::(吐舌)"},{"icon":"assets/owo/paopao/E5A4AAE5BC80E5BF83_2x.png","data":"::(太开心)"},{"icon":"assets/owo/paopao/E7AC91E79CBC_2x.png","data":"::(笑眼)"},{"icon":"assets/owo/paopao/E88AB1E5BF83_2x.png","data":"::(花心)"},{"icon":"assets/owo/paopao/E5B08FE4B996_2x.png","data":"::(小乖)"},{"icon":"assets/owo/paopao/E4B996_2x.png","data":"::(乖)"},{"icon":"assets/owo/paopao/E68D82E598B4E7AC91_2x.png","data":"::(捂嘴笑)"},{"icon":"assets/owo/paopao/E6BB91E7A8BD_2x.png","data":"::(滑稽)"},{"icon":"assets/owo/paopao/E4BDA0E68782E79A84_2x.png","data":"::(你懂的)"},{"icon":"assets/owo/paopao/E4B88DE9AB98E585B4_2x.png","data":"::(不高兴)"},{"icon":"assets/owo/paopao/E68092_2x.png","data":"::(怒)"},{"icon":"assets/owo/paopao/E6B197_2x.png","data":"::(汗)"},{"icon":"assets/owo/paopao/E9BB91E7BABF_2x.png","data":"::(黑线)"},{"icon":"assets/owo/paopao/E6B3AA_2x.png","data":"::(泪)"},{"icon":"assets/owo/paopao/E79C9FE6A392_2x.png","data":"::(真棒)"},{"icon":"assets/owo/paopao/E596B7_2x.png","data":"::(喷)"},{"icon":"assets/owo/paopao/E6838AE593AD_2x.png","data":"::(惊哭)"},{"icon":"assets/owo/paopao/E998B4E999A9_2x.png","data":"::(阴险)"},{"icon":"assets/owo/paopao/E98499E8A786_2x.png","data":"::(鄙视)"},{"icon":"assets/owo/paopao/E985B7_2x.png","data":"::(酷)"},{"icon":"assets/owo/paopao/E5958A_2x.png","data":"::(啊)"},{"icon":"assets/owo/paopao/E78B82E6B197_2x.png","data":"::(狂汗)"},{"icon":"assets/owo/paopao/what_2x.png","data":"::(what)"},{"icon":"assets/owo/paopao/E79691E997AE_2x.png","data":"::(疑问)"},{"icon":"assets/owo/paopao/E985B8E788BD_2x.png","data":"::(酸爽)"},{"icon":"assets/owo/paopao/E59180E592A9E788B9_2x.png","data":"::(呀咩爹)"},{"icon":"assets/owo/paopao/E5A794E5B188_2x.png","data":"::(委屈)"},{"icon":"assets/owo/paopao/E6838AE8AEB6_2x.png","data":"::(惊讶)"},{"icon":"assets/owo/paopao/E79DA1E8A789_2x.png","data":"::(睡觉)"},{"icon":"assets/owo/paopao/E7AC91E5B0BF_2x.png","data":"::(笑尿)"},{"icon":"assets/owo/paopao/E68C96E9BCBB_2x.png","data":"::(挖鼻)"},{"icon":"assets/owo/paopao/E59090_2x.png","data":"::(吐)"},{"icon":"assets/owo/paopao/E78A80E588A9_2x.png","data":"::(犀利)"},{"icon":"assets/owo/paopao/E5B08FE7BAA2E884B8_2x.png","data":"::(小红脸)"},{"icon":"assets/owo/paopao/E68792E5BE97E79086_2x.png","data":"::(懒得理)"},{"icon":"assets/owo/paopao/E58B89E5BCBA_2x.png","data":"::(勉强)"},{"icon":"assets/owo/paopao/E788B1E5BF83_2x.png","data":"::(爱心)"},{"icon":"assets/owo/paopao/E5BF83E7A28E_2x.png","data":"::(心碎)"},{"icon":"assets/owo/paopao/E78EABE791B0_2x.png","data":"::(玫瑰)"},{"icon":"assets/owo/paopao/E7A4BCE789A9_2x.png","data":"::(礼物)"},{"icon":"assets/owo/paopao/E5BDA9E899B9_2x.png","data":"::(彩虹)"},{"icon":"assets/owo/paopao/E5A4AAE998B3_2x.png","data":"::(太阳)"},{"icon":"assets/owo/paopao/E6989FE6989FE69C88E4BAAE_2x.png","data":"::(星星月亮)"},{"icon":"assets/owo/paopao/E992B1E5B881_2x.png","data":"::(钱币)"},{"icon":"assets/owo/paopao/E88CB6E69DAF_2x.png","data":"::(茶杯)"},{"icon":"assets/owo/paopao/E89B8BE7B395_2x.png","data":"::(蛋糕)"},{"icon":"assets/owo/paopao/E5A4A7E68B87E68C87_2x.png","data":"::(大拇指)"},{"icon":"assets/owo/paopao/E8839CE588A9_2x.png","data":"::(胜利)"},{"icon":"assets/owo/paopao/haha_2x.png","data":"::(haha)"},{"icon":"assets/owo/paopao/OK_2x.png","data":"::(OK)"},{"icon":"assets/owo/paopao/E6B299E58F91_2x.png","data":"::(沙发)"},{"icon":"assets/owo/paopao/E6898BE7BAB8_2x.png","data":"::(手纸)"},{"icon":"assets/owo/paopao/E9A699E89589_2x.png","data":"::(香蕉)"},{"icon":"assets/owo/paopao/E4BEBFE4BEBF_2x.png","data":"::(便便)"},{"icon":"assets/owo/paopao/E88DAFE4B8B8_2x.png","data":"::(药丸)"},{"icon":"assets/owo/paopao/E7BAA2E9A286E5B7BE_2x.png","data":"::(红领巾)"},{"icon":"assets/owo/paopao/E89CA1E7839B_2x.png","data":"::(蜡烛)"},{"icon":"assets/owo/paopao/E99FB3E4B990_2x.png","data":"::(音乐)"},{"icon":"assets/owo/paopao/E781AFE6B3A1_2x.png","data":"::(灯泡)"},{"icon":"assets/owo/paopao/E5BC80E5BF83_2x.png","data":"::(开心)"},{"icon":"assets/owo/paopao/E992B1_2x.png","data":"::(钱)"},{"icon":"assets/owo/paopao/E592A6_2x.png","data":"::(咦)"},{"icon":"assets/owo/paopao/E591BC_2x.png","data":"::(呼)"},{"icon":"assets/owo/paopao/E586B7_2x.png","data":"::(冷)"},{"icon":"assets/owo/paopao/E7949FE6B094_2x.png","data":"::(生气)"},{"icon":"assets/owo/paopao/E5BCB1_2x.png","data":"::(弱)"},{"icon":"assets/owo/paopao/E78B97E5A4B4_2x.png","data":"::(狗头)"}],"阿鲁":[{"icon":"assets/owo/aru/E9AB98E585B4_2x.png","data":":@(高兴)"},{"icon":"assets/owo/aru/E5B08FE68092_2x.png","data":":@(小怒)"},{"icon":"assets/owo/aru/E884B8E7BAA2_2x.png","data":":@(脸红)"},{"icon":"assets/owo/aru/E58685E4BCA4_2x.png","data":":@(内伤)"},{"icon":"assets/owo/aru/E8A385E5A4A7E6ACBE_2x.png","data":":@(装大款)"},{"icon":"assets/owo/aru/E8B59EE4B880E4B8AA_2x.png","data":":@(赞一个)"},{"icon":"assets/owo/aru/E5AEB3E7BE9E_2x.png","data":":@(害羞)"},{"icon":"assets/owo/aru/E6B197_2x.png","data":":@(汗)"},{"icon":"assets/owo/aru/E59090E8A180E58092E59CB0_2x.png","data":":@(吐血倒地)"},{"icon":"assets/owo/aru/E6B7B1E6809D_2x.png","data":":@(深思)"},{"icon":"assets/owo/aru/E4B88DE9AB98E585B4_2x.png","data":":@(不高兴)"},{"icon":"assets/owo/aru/E697A0E8AFAD_2x.png","data":":@(无语)"},{"icon":"assets/owo/aru/E4BAB2E4BAB2_2x.png","data":":@(亲亲)"},{"icon":"assets/owo/aru/E58FA3E6B0B4_2x.png","data":":@(口水)"},{"icon":"assets/owo/aru/E5B0B4E5B0AC_2x.png","data":":@(尴尬)"},{"icon":"assets/owo/aru/E4B8ADE68C87_2x.png","data":":@(中指)"},{"icon":"assets/owo/aru/E683B3E4B880E683B3_2x.png","data":":@(想一想)"},{"icon":"assets/owo/aru/E593ADE6B3A3_2x.png","data":":@(哭泣)"},{"icon":"assets/owo/aru/E4BEBFE4BEBF_2x.png","data":":@(便便)"},{"icon":"assets/owo/aru/E78CAEE88AB1_2x.png","data":":@(献花)"},{"icon":"assets/owo/aru/E79AB1E79C89_2x.png","data":":@(皱眉)"},{"icon":"assets/owo/aru/E582BBE7AC91_2x.png","data":":@(傻笑)"},{"icon":"assets/owo/aru/E78B82E6B197_2x.png","data":":@(狂汗)"},{"icon":"assets/owo/aru/E59090_2x.png","data":":@(吐)"},{"icon":"assets/owo/aru/E596B7E6B0B4_2x.png","data":":@(喷水)"},{"icon":"assets/owo/aru/E79C8BE4B88DE8A781_2x.png","data":":@(看不见)"},{"icon":"assets/owo/aru/E9BC93E68E8C_2x.png","data":":@(鼓掌)"},{"icon":"assets/owo/aru/E998B4E69A97_2x.png","data":":@(阴暗)"},{"icon":"assets/owo/aru/E995BFE88D89_2x.png","data":":@(长草)"},{"icon":"assets/owo/aru/E78CAEE9BB84E7939C_2x.png","data":":@(献黄瓜)"},{"icon":"assets/owo/aru/E982AAE681B6_2x.png","data":":@(邪恶)"},{"icon":"assets/owo/aru/E69C9FE5BE85_2x.png","data":":@(期待)"},{"icon":"assets/owo/aru/E5BE97E6848F_2x.png","data":":@(得意)"},{"icon":"assets/owo/aru/E59090E8888C_2x.png","data":":@(吐舌)"},{"icon":"assets/owo/aru/E596B7E8A180_2x.png","data":":@(喷血)"},{"icon":"assets/owo/aru/E697A0E68980E8B093_2x.png","data":":@(无所谓)"},{"icon":"assets/owo/aru/E8A782E5AF9F_2x.png","data":":@(观察)","text":"观察"},{"icon":"assets/owo/aru/E69A97E59CB0E8A782E5AF9F_2x.png","data":":@(暗地观察)"},{"icon":"assets/owo/aru/E882BFE58C85_2x.png","data":":@(肿包)"},{"icon":"assets/owo/aru/E4B8ADE69EAA_2x.png","data":":@(中枪)"},{"icon":"assets/owo/aru/E5A4A7E59BA7_2x.png","data":":@(大囧)"},{"icon":"assets/owo/aru/E591B2E78999_2x.png","data":":@(呲牙)"},{"icon":"assets/owo/aru/E68AA0E9BCBB_2x.png","data":":@(抠鼻)"},{"icon":"assets/owo/aru/E4B88DE8AFB4E8AF9D_2x.png","data":":@(不说话)"},{"icon":"assets/owo/aru/E592BDE6B094_2x.png","data":":@(咽气)"},{"icon":"assets/owo/aru/E6ACA2E591BC_2x.png","data":":@(欢呼)"},{"icon":"assets/owo/aru/E99481E79C89_2x.png","data":":@(锁眉)"},{"icon":"assets/owo/aru/E89CA1E7839B_2x.png","data":":@(蜡烛)"},{"icon":"assets/owo/aru/E59D90E7AD89_2x.png","data":":@(坐等)"},{"icon":"assets/owo/aru/E587BBE68E8C_2x.png","data":":@(击掌)"},{"icon":"assets/owo/aru/E6838AE5969C_2x.png","data":":@(惊喜)"},{"icon":"assets/owo/aru/E5969CE69E81E8808CE6B3A3_2x.png","data":":@(喜极而泣)"},{"icon":"assets/owo/aru/E68ABDE7839F_2x.png","data":":@(抽烟)"},{"icon":"assets/owo/aru/E4B88DE587BAE68980E69699_2x.png","data":":@(不出所料)"},{"icon":"assets/owo/aru/E684A4E68092_2x.png","data":":@(愤怒)"},{"icon":"assets/owo/aru/E697A0E5A588_2x.png","data":":@(无奈)"},{"icon":"assets/owo/aru/E9BB91E7BABF_2x.png","data":":@(黑线)"},{"icon":"assets/owo/aru/E68A95E9998D_2x.png","data":":@(投降)"},{"icon":"assets/owo/aru/E79C8BE783ADE997B9_2x.png","data":":@(看热闹)"},{"icon":"assets/owo/aru/E68987E880B3E58589_2x.png","data":":@(扇耳光)"},{"icon":"assets/owo/aru/E5B08FE79CBCE79D9B_2x.png","data":":@(小眼睛)"},{"icon":"assets/owo/aru/E4B8ADE58880_2x.png","data":":@(中刀)"}],"颜文字":[{"icon":"|´・ω・)ノ","data":"|´・ω・)ノ"},{"icon":"ヾ(≧∇≦*)ゝ","data":"ヾ(≧∇≦*)ゝ"},{"icon":"(☆ω☆)","data":"(☆ω☆)"},{"icon":"(╯‵□′)╯︵┴─┴","data":"(╯‵□′)╯︵┴─┴"},{"icon":" ̄﹃ ̄","data":" ̄﹃ ̄"},{"icon":"(/ω\)","data":"(/ω\)"},{"icon":"∠( ᐛ 」∠)_","data":"∠( ᐛ 」∠)_"},{"icon":"(๑•̀ㅁ•́ฅ)","data":"(๑•̀ㅁ•́ฅ)"},{"icon":"→_→","data":"→_→"},{"icon":"୧(๑•̀⌄•́๑)૭","data":"୧(๑•̀⌄•́๑)૭"},{"icon":"٩(ˊᗜˋ*)و","data":"٩(ˊᗜˋ*)و"},{"icon":"(ノ°ο°)ノ","data":"(ノ°ο°)ノ"},{"icon":"(´இ皿இ`)","data":"(´இ皿இ`)"},{"icon":"⌇●﹏●⌇","data":"⌇●﹏●⌇"},{"icon":"(ฅ´ω`ฅ)","data":"(ฅ´ω`ฅ)"},{"icon":"(╯°A°)╯︵○○○","data":"(╯°A°)╯︵○○○"},{"icon":"φ( ̄∇ ̄o)","data":"φ( ̄∇ ̄o)"},{"icon":"ヾ(´・ ・`。)ノ\"","data":"ヾ(´・ ・`。)ノ\""},{"icon":"( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃","data":"( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃"},{"icon":"(ó﹏ò。)","data":"(ó﹏ò。)"},{"icon":"Σ(っ °Д °;)っ","data":"Σ(っ °Д °;)っ"},{"icon":"( ,,´・ω・)ノ\"(´っω・`。)","data":"( ,,´・ω・)ノ\"(´っω・`。)"},{"icon":"╮(╯▽╰)╭ ","data":"╮(╯▽╰)╭ "},{"icon":"o(*////▽////*)q ","data":"o(*////▽////*)q "},{"icon":">﹏<","data":">﹏<"},{"icon":"( ๑´•ω•) \"(ㆆᴗㆆ)","data":"( ๑´•ω•) \"(ㆆᴗㆆ)"},{"icon":"(。•ˇ‸ˇ•。)","data":"(。•ˇ‸ˇ•。)"}]}将上文中转码后的名称列成 Excel 表格,并在某单元格(比如图例中的 H2 ~ H5)输入前缀=$H$2&C2&$H$3&$H$4&A2&$H$5然后对于每一行输入公式进行字符串拼接之后可以将表格复制到 Excel 转 json 中获取相应的 json 文件,就不需要一个个做啦 ww做完后将其复制到 joe.owo.json 就好了三、上传表情包文件将重命名后的表情包文件上传到 Joe/assets/owo 文件夹中,当然你也可以上传到其他地方,只要能访问到就行然后在打开网站查看效果就好啦~表情包合集{cloud title="表情包合集" type="lz" url="https://wwt.lanzoub.com/b02vobjng" password="toolka"/}
2022年10月27日
152 阅读
4 评论
8 点赞
2022-10-26
Typecho上传附件失败最佳解决方法
1. 打开/var/Typecho/Common.php 这个文件,找到下面这段代码:public static function isAppEngine(){ return !empty($_SERVER['HTTP_APPNAME']) // SAE || !!getenv('HTTP_BAE_ENV_APPID') // BAE || !!getenv('SERVER_SOFTWARE') // BAE 3.0 || (ini_get('acl.app_id') && class_exists('Alibaba')) // ACE || (isset($_SERVER['SERVER_SOFTWARE']) && strpos($_SERVER['SERVER_SOFTWARE'],'Google App Engine') !== false) // GAE ; }修改为:public static function isAppEngine(){ return false; }修改之后重启服务器,发现不起作用。2.继续下面的工作:找到usr/uploads这个文件夹,修改777权限,linux和Windows系统修改的方法不同,但网上都有很多介绍:Windows下网站目录777可读写权限设置方法 然后重启服务器,上传附件成功。3.但是又遇到了问题,上传一个图片之后,加入文章里面发现根本打不开这个图片,单独在浏览器输入这个图片的URL,显示:401 - Unauthorized: Access is denied due to invalid credentials.You do not have permission to view this directory or page using the credentials that you supplied.继续工作,打开IIS服务器,找到网站下面的uploads目录,点击选择权限,继续进行上面修改777的操作,修改之后重启服务器,完美解决!博主的发现我发现还是有个问题,就是每个图片上传之后,还是不能直接打开,需要到IIS上单独对文件修改权限,才能访问,有解决的还请指导一下!感谢typecho交流群里的建议,给uploads开放everyone全部权限!试了一下,文件可以继承文件夹的权限了,但是每次还需要刷新everyone才可以,有解决办法欢迎指教!另外默认的上传附件大小为2M,修改的话,可以打开PHP里面的php.ini这个文件,修改以下三项upload_max_filesize = 1000M; post_max_size = 1000M; max_execution_time=600;保存之后,最大可上传附件就设置为1000M了。
2022年10月26日
79 阅读
0 评论
7 点赞