Skip to content

Proposed - Allow for the h-geo properties to be added to an h-entry #29

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

Open
dshanske opened this issue Aug 13, 2022 · 6 comments
Open

Comments

@dshanske
Copy link
Member

This encompasses the proposed properties for h-entry of p-latitude and p-longitude, and probably covers p-altitude on this basis even though this was not proposed.

The reason for allowing these, as opposed to p-location as an embedded h-geo, would be in cases where nested microformats are not preferable, and a simplified structure preferred.

So, these would represent the location of the h-entry in coordinates, which could alternatively be represented as a nested p-location. In this case, a p-location could still be present representing a textual version of a location name.

@dshanske
Copy link
Member Author

Related indieweb/microsub#45

@sknebel
Copy link
Member

sknebel commented Aug 13, 2022

would be in cases where nested microformats are not preferable, and a simplified structure preferred.

What are those cases?

@dshanske
Copy link
Member Author

For one, Micropub and Microsub, which use simplified mf2 vocabulary.

@sknebel
Copy link
Member

sknebel commented Aug 13, 2022

I don't see where microsub has an issue with nested formats? For micropub, I personally don't think adding more variants and special cases to mf2 just to extend support for the form-encoded variant is positive for effort overall, and the JSON form again does not have problems with nested formats.

@dshanske
Copy link
Member Author

@sknebel Microsub tries to go for a simplified representation. But, point taken there.

Added this based on these properties being on the proposed list. Will leave this open for commentary. Maybe the solution is the proposal is rejected.

@sknebel
Copy link
Member

sknebel commented Aug 13, 2022

sure, not complaining that you made the issue - to the contrary, thanks for doing the bookkeeping :)

Maybe to phrase my objection more generally: My concern is that this adds another variation of how things can be marked up, that most consumers will normalize in some fashion anyways (e.g. to generate jf2, or post markup, or ...) and that then all consumers need to handle, while I don't see a real benefit for publishers over the existing markup for location - it doesn't add anything we can't already express.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants