Exclude Optimole URLs from Schema Images
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
未指定文件、测试或入口点。首先追踪 Optimole 在哪里重写图像 URL,以及如何处理 script tags 中的 schema markup。完成标准是:可选的排除功能能够阻止 Optimole URLs 出现在 schema images 中,同时保持其他图像优化行为不变。
由索引模型根据 Issue 内容生成。
描述
What problem does this address?
Images referenced inside of schema markup (for example, rich product snippets) typically send the Optimole image URL to the search engines, not the clean, local URL.
For example:
https://mlyqxds8ijge.i.optimole.com/w:2048/h:1152/q:80/f:best/https://some-site.com/wp-content/uploads/image.jpg
Instead of:
https://some-site.com/wp-content/uploads/image.jpg
What is your proposed solution?
It would be ideal if Optimole could optionally exclude the images referenced inside of the schema markup so they get a normal URL and not the Optimole URL. Basically, I think we want the option to excluded images inside of script tags, or script tags with an ID or class:
<script id="website-schema" type="application/ld+json">...schema content...</script>Will this feature require documentation? (Optional)
None
- 主要语言
- PHP
- 星标
- 74
- 派生
- 14
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 22
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Codeinwp/optimole-wp 的其他 Issue
-
Image URL replacement passes an integer cache token to the Optimole SDK可能已有人在做 @selul 于 6 天前认领。 未关闭bug bug-report bug-report-triage crash-report
难度 3/5 1-2 天 新手友好度 55/100
Codeinwp/optimole-wp#1187 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Image parser uses a data: placeholder from data-src as the image URL, so the real src misses srcset enhancement可能已有人在做 @selul 于 6 天前认领。 未关闭bug bug-report
难度 4/5 1-2 天 新手友好度 56/100
Codeinwp/optimole-wp#1186 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
customer report feature-request-triage
难度 5/5 一周以上 新手友好度 35/100
Codeinwp/optimole-wp#1179 ·
维护者通常 1 天内回复
-
customer report feature-request-triage
难度 4/5 3-5 天 新手友好度 54/100
Codeinwp/optimole-wp#1178 ·
维护者通常 1 天内回复
-
bug bug-report bug-report-triage crash-report
难度 4/5 3-5 天 新手友好度 45/100
Codeinwp/optimole-wp#1163 · 4 条评论 ·
维护者通常 1 天内回复
查看 Codeinwp/optimole-wp 的全部 Issue
相似的 Issue
-
type/bug
难度 2/5 1-3 小时 新手友好度 62/100
flarum/framework#5301 · 1 条评论 ·
维护者通常 1 天内回复
-
Add TuneIn-DirMon in the bot list可能已有人在做 @liviuconcioiu 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
matomo-org/device-detector#8424 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 63/100
维护者通常 1 天内回复
-
affecting 5.2 only affecting 5.3 only bug
难度 2/5 1-3 小时 新手友好度 82/100
moodle-an-hochschulen/moodle-theme_boost_union#1463 ·
维护者通常 1 天内回复
-
Course help wanted Sensei
难度 2/5 1-3 小时 新手友好度 75/100