phpgao / baidusubmit Goto Github PK
View Code? Open in Web Editor NEWA typecho plugin
A typecho plugin
由于 Action.php 中路径为:
$this->_dir = '.' . __TYPECHO_PLUGIN_DIR__ . '/BaiduSubmit/inc/';
而解压后的文件夹名称为 BaiduSubmit-0.2 或 BaiduSubmit-master 因此造成上传插件后启用时出错。
typecho升级1.2后日志页面变成空白了
第一次用sitemap相关的插件,可能我使用上有误,我先把插件下了下来,放到插件文件夹了,也改了文件名(改成了要求的BaiduSubmit),这时候启用成功,然后去百度站长弄了下.可能是百度站长更新了的缘故,有三个接口了,分别是推送删除更新,我选了默认推送的,是"http://data.zz.baidu.com/urls?site=112.74.125.7&token=tewTmtKdNhAzI2jW",然后放进了插件设置里的 接口调用地址 ,然后我也去百度站长里是sitemap下设置了下自己博客的sitemap地址,按照你教程说的添加了http://112.74.125.7/baidu_sitemap.xml.
接下来就先自己手动试了下更新,但提示说获取错误(在百度站长里的信息),然后我去博客里更新了下自己之前写的文章,插件提示说成功了...然而百度站长里的sitemap获取到的url永远是0...
接口地址使用百度熊掌号的API接口连接后,日志里就出现失败的错误信息:unKnows host!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.