Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add 'feed' to allowed protocols for links #26362

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

westonruter
Copy link
Member

@westonruter westonruter commented Jan 15, 2020

I came across a WordPress theme that was using the feed URI scheme. The WordPress AMP plugin removed the link because this protocol is not allowed. However, I believe it should be. Clicking such feed links on Mac OS results in the Apple News app being opened:

image

Example:

<a href="feed:https://weston.ruter.net/feed/">RSS</a>

@amp-owners-bot
Copy link

Hey @ampproject/wg-caching, these files were changed:

  • validator/validator-main.protoascii

Copy link
Contributor

@honeybadgerdontcare honeybadgerdontcare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this list usually stays closely align to amp-social-share. You may wish to add it there as well. https://github.com/ampproject/amphtml/blob/master/extensions/amp-social-share/validator-amp-social-share.protoascii#L35

@westonruter
Copy link
Member Author

@honeybadgerdontcare thanks. Would adding to amp-social-share make sense, though? You can't really share onto a feed like you can to email, Twitter, etc.

@honeybadgerdontcare
Copy link
Contributor

@westonruter NSO, just pointing the relationship out.

@Gregable Gregable merged commit c1f26f8 into ampproject:master Feb 12, 2020
honeybadgerdontcare added a commit that referenced this pull request Feb 18, 2020
* cl/294727468 Revision bump for #26399

* cl/294760377 Revision bump for #26403

* cl/294785564 Revision bump for #26362

* cl/294931948 Allow input type=button.

* revert extra pubdate

Co-authored-by: Greg Grothaus <ggrothau@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants