-
Notifications
You must be signed in to change notification settings - Fork 6
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
reduce instances where photo is implied #21
Comments
The example in aaronpk/XRay#55 is rule
while https://collect.readwriterespond.com/zenpress/ triggers an even simpler step
|
On Aaron’s site it seems to accidentally catch the header graphic. But I wonder if there aren’t other examples of accidentally implied photos are out in the wild. Some things I can think of:
|
I have an example of this where an element with an explicit <div class="h-card">
<img src="/logo.png" class="u-logo" alt="">
<p>
<b class="p-name p-org">Organization Name</b><br>
<span class="p-street-address">1234 Example</span><br>
<span class="p-locality">City</span>, <span class="p-region">State</span> <span class="p-postal-code">12345</span> <span class="p-country">US</span>
</p>
<p>
Phone: <a href="tel:1234567890" class="p-tel">(123) 456-7890</a><br>
Fax: (234) 567-8901
Email: <a href="mailto:info@example.com" class="u-email">info@example.com</a>
</p>
</div> {
"items": [
{
"type": [
"h-card"
],
"properties": {
"name": [
"Organization Name"
],
"org": [
"Organization Name"
],
"street-address": [
"1234 Example"
],
"locality": [
"City"
],
"region": [
"State"
],
"postal-code": [
"12345"
],
"country": [
"US"
],
"tel": [
"(123) 456-7890"
],
"logo": [
"/logo.png"
],
"email": [
"mailto:info@example.com"
],
"photo": [
"/logo.png"
]
}
}
],
"rels": {},
"rel-urls": {},
"debug": {
"package": "https://packagist.org/packages/mf2/mf2",
"version": "v0.4.3",
"note": [
"This output was generated from the php-mf2 library available at https://github.com/indieweb/php-mf2",
"Using the masterminds/html5 HTML parser",
"Please file any issues with the parser at https://github.com/indieweb/php-mf2/issues"
]
}
} |
Proposed resolution per IRC discussion right now:
with
|
Resolution: proposal accepted. No objections in above discussion, and positive opinions (👍) from three implementors on the proposal. Proposal implementation in mf2py per microformats/mf2py#135 is sufficient to demonstrate implementability. Editing specification accordingly. (Originally published at: http://tantek.com/2018/358/t2/) |
Like #6, a similar thing is happening with the
photo
property.I have a blocking issue on XRay where this is causing problems: aaronpk/XRay#55
Here is a URL with this problem: https://collect.readwriterespond.com/zenpress/
The text was updated successfully, but these errors were encountered: