mipengine / mip-extensions-platform Goto Github PK
View Code? Open in Web Editor NEW[Deprecated] MIP 审核平台组件,请通过 mip2-extensions-platform 提交组件
License: MIT License
[Deprecated] MIP 审核平台组件,请通过 mip2-extensions-platform 提交组件
License: MIT License
您好,
近段时间在研究mip,根据公司的情况,提交了十几个组件,有成功上线的,有提交失败的,
面对这种提交失败的,除了可以看到一个审核结果外,用户不能够对这个组件进行删除的操作,
我觉得 “删除功能” 还是有必要的。
比如说:上传的组件因为名称问题而导致提交失败,这个时候,我需要把这个组件做一个删除的处理,
开发者联系方式:[email protected]
提交了1星期了,也没人审核。
目前组件审核平台一点登陆就直接进入到当前的百度账号了,但有的时候一个开发者开发多个网站,百度账号和我存组件的百度账号不是一个,这就导致了操作上的冲突,需要来回切换很麻烦。
之前用github提交的组件希望能够迁移到mip的组件审核平台。
百度账号是18126205921, 希望能把https://github.com/mipengine/mip-extensions-platform中的
mip-iask-ajax、mip-iask-business、mip-iask-ext、mip-iask-report 这4个组件迁移到https://www.mipengine.org/platform/mip#/extensions 平台中去,谢谢!
站长开发组件有时候确实没有按照百度规定的来开发,往往会有这样或者那样的问题。
审核的时候能否一次把所有问题都列出来呢?
比如上传一个组件,这次是这个问题,下次又换了个问题,再下次......
这样很影响开发进度的呀。
当然,如果这样的话,审核难度也确实会增大,工时也会延长,大家也都理解。
这个有什么办法能够解决吗?
按网站、功能、类型进行分类组件
目前《MIP个性化组件提交规范》规定:
1.2 不应该使用外链JS (SHOULD NOT)
为了更好的页面性能,不建议以外链的方式引入JS。开发者本站维护的脚本必须封装为组件或AMD方式引入。广告,第三方统计等JS,请在代码注释中说明用途及服务提供商。未来会上线第三方JS引入机制,新机制上线后不允许引用更多外链JS。
解读为:
广告&统计等第三方提供的JS可以外链,站长自己的JS需要使用AMD require方式引用。
但带来以下问题:
各站编码规范不统一,不能顺滑通过fecs校验, 不符合组件提交标准。
mip-xx-A 和 mip-xx-B 都引用由自己维护的 common.js通用库,目前只能将common.js 复制两份,放在两个组件中,不便于维护。
关于这点,请大家提出自己的意见及解决方法。
该组件需要在一进入页面就执行加载,检测DOM节点上的一些属性来做绑定,不能做懒加载
所以build方法不能改为firstInviewCallback
具体问题请看 mipengine/mip2#267
希望把mip-wkad-config关联到我的组件后台。以后用组件后台提交该组件。
<mip-list
template="mip-template-id"
src="http://xxx?a=a&b=b"
id="mip-list"
has-more
pnName="pageNum"
pn=2
timeout="3000"
synchronous-data>
<script type="application/json">
// 略
</script>
<template type="mip-mustache" id="mip-template-id">
<div>
<li>{{key}}: {{value}}</li>
</div>
</template>
</mip-list>
<div class="mip-list-more" on="tap:mip-list.more"> 点击查看更多 </div>
经测试,当使用preLoad参数的时候,点击查看更多按钮有反应,会向后台请求数据;而当使用synchronous-data参数的时候,点击无反应
组件内部可以直接调用页面上的js变量吗?不行的话,通过什么方法可以调用页面上的js变量?
mip网站做好了,希望提交到百度收录,是到熊掌号的天级收录里面提交还是到资源中心的mip里面提交?
在那里比较合适?
<mip-ys137-ad id="1" from="mip"><div class="baidu-union-pics"><mip-ad type="baidu-wm-ext" domain="dm50.ys137.com" token="ezrvaobii"><div id="ezrvaobii"></div></mip-ad></div></mip-ys137-ad>
代码见如上,mip-ys137-ad主要实现,异步请求后端广告数据,如果后端无返回广告数据,则展现默认的百度联盟广告。
异常问题:访问自有域名下的mip页面(https://mip.xxx.com/xxx.html)时,可以正常加载mip-ad组件并展现广告。
当页面缓存到百度mip服务端时(https://m.baidu.com/paw/c/s/mip.xxx.com/xxx.html),无法正常加载mip-ad组件,无法展现广告。
问题链接如下:
mip缓存链接:https://m.baidu.com/paw/c/s/mip.ys137.com/tnb/422254.html
,主要添加一些新的功能,是我在审核重新提交,还是直接pull request?
代码少了 : function
,使用了 ES6 的语法导致编译报错。
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.