-
Notifications
You must be signed in to change notification settings - Fork 2
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
Color properties #6
Comments
Since the feed is HTML, this would be a matter of reading the CSS for the feed. I don't think properties are required here. |
@dshanske, one would need an entire browser to parse the CSS and derive from it these various color values. |
You would need to use one of the microformats2 prefixes ( Are there examples of feed readers that customize colors via some other properties (e.g. RSS or Atom properties)? Documenting the real world use-cases and existing formats is an important part of advancing new microformats2 properties. |
@adamkhan Have you seen this proposal? https://indieweb.org/whostyle |
I'm not against the idea per se, just not sure about it being a property. |
@gRegorLove, thanks for responding. I'm new to microformats2 and didn't know there were set prefixes — which in itself is pretty cool, that the prefixes are also a standard. It seems these color ones would fit best under the existing "h-". And you got it, I am indeed building a feed reader that customizes colors per feed! @dshanske Thanks for the heads-up re whostyle — I'm looking into it. |
Even then, it's more of a styling attribute that's represented in a separate CSS file, not (typically) in the HTML itself. I mentioned existing formats like RSS or ATOM to see how they might already handle this type of styling, which could help guide if/how to best represent this as a microformat property. Welcome to microformats! If you haven't yet, check out the microformats process. We're also on IRC if you have any questions about publishing or consuming microformats. |
Also, I've just seen Apple's JSON format for Apple News — it's worth observing what they are doing, seems to me. See https://developer.apple.com/documentation/apple_news/apple_news_format. |
Probably the biggest real-world use-case would be Apple News. They have their own proprietary format — perhaps it's worth worth emulating those fields that AAPL decided they need in order to present feeds well. |
A feed could have its preferred color properties to help display it. My suggestion for their naming (prefixed by "c" for color):
The text was updated successfully, but these errors were encountered: