Code Monkey home page Code Monkey logo

resources's People

Contributors

a632079 avatar adaxh avatar balrogsxt avatar freejishu avatar greenhat616 avatar nexmoe avatar o8x avatar qqiwu avatar ritterhou avatar smartfox97 avatar sy-records avatar vanfantasy2333 avatar xiaoman1221 avatar yxzlwz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

resources's Issues

有关自助提交友情链接的须知

要求

  • 符合社会主义核心价值观
  • 站点有一定的内容
  • 站点有一定的流量
  • 站点有一定的影响力
  • 谢绝推广/广告等商业行为
  • 至少 人品 还算不错
  • 站点必须强制 HTTPS 访问

提示

列表存储在 resources/json/friendship.json 文件中。
一个完整的友链信息类似这样:

{
  "name": "你的站点名称",
  "link": "你的站点地址(包含 https 前缀)",
  "icon": "你的站点图标地址,必须允许第三方源引用;如果开启了白名单,请将 hitokoto.cn 加入白名单",
  "desc": "简单介绍你的站点吧"
}

icon 图标地址必须支持https,因为一言使用https,浏览器会将非https链接自动转换为https链接,若https不通会导致头像无法加载。

我们还提供了一些语法糖、可以替代 icon 字段。

如果你想使用 Gravatar 作为你的站点图标的话,你可以:

  • 使用 email 字段,里面填写你的 email 地址;友链页面将自动转换 email 为有效的 Gravatar 地址并改写 icon 字段。
  • 如果你不想公开你的 email 地址的话,你可以使用 hash 字段。它是你邮箱的 md5 值。实现原理与 email 一致。

如果你想使用你的 QQ 头像作为你的站点图标的话,你可以:

  • 使用 qq 字段,友链页面将自动转换 qq 为有效的 QQ 高清头像地址,并改写 icon 字段。
    • 我们使用 QQ 高清头像地址,如果你的 QQ 非会员的话,此地址可能为 404;此种情况我们不会接受。

自主提交的方式

  1. fork 我们的 resources 仓库
  2. 在你 fork 的仓库中添加你自己的信息
  3. 向我们提交 Pull Request
  4. 等待我们处理

审核流程及上线说明

  • 我们不定期审核、不保证一定处理你提交的 Pull Request。我们在时间充足的前提下,会仔细查看你提交的信息。
  • 审核通过后,列表更新的时间受制于 jsdelivr 缓存更新的时间。

友链头像失效

感谢大家对一言的支持与热爱!
在2023年4月2日的维护中,我们发现有部分小伙伴的友情链接头像已经过期了。如果您被此条消息@到,则证明当前在大多数人的网络环境下您的头像链接无法正常加载在一言的友链页面。

如何修复

修复也非常简单:和新增时一样,提一个Pr修改链接,然后@管理员来进行合并;链接请保证**大陆的大多数用户可正常访问,且必须使用https(一言已加入HSTS Preload)。

您也可以使用Gravatar,此时只需在链接处填写 md5(email) 即可,就像这样:

{
"name": "freejishu",
"link": "https://www.freejishu.com",
"hash": "998a4820101c5491c986a7faf10457c8",
"desc": "Code · Thinking · ACG"
},

如果您实在找不到地方存放,或其他特殊情况导致**大陆访问不太正常,您可联系管理员确认头像,您的友链头像将由一言代为托管。

最后,再次感谢您一直以来对一言的支持!

问题列表

@AdaXH Url来自Sina,疑似Sina已经将该图片删除

@nexmoe avatar.mixcm.com 关闭了连接
https://xiaoshu.app/icon.png 会301到 https://xiaoshu.app/

@yxzlwz 链接展示为404

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.