content-type-standards
content-type-standards copied to clipboard
Media Response/Press Coverage
The idea is to have a collection of media responses which can be a lot of different things from links, to PDF scans or text hosted on the site itself.
The reason I do believe this doesn't work to be metadata is that it is some distinct entity with specific properties itself that are not tied to the other entity it relates to, e.g. a PDF Scan file.
Here is a quick example of what I mean:
Media Response
- mediaresponse_publish_date -> The date this was published
- mediaresponse_source -> The source of this, e.g. BBC
- mediaresponse_reference_id -> A post_id e.g. referencing a portfolio or product CP
- mediaresponse_url -> The url for an online publication
- mediaresponse_attachment -> PDF scan of a print publication
This continues on the discussion started here: https://github.com/justintadlock/content-type-standards/issues/1#issuecomment-95596734
Oops. sorry. To clarify, I was saying metadata in the universal / object->properties sense. Not necessarily WP metadata (tho' properties kinda have no choice but to become WP post meta at some point);
In any case, what I was proposing is that content is content (e.g., PDF) and it has some universal set of boilerplate properties (e.g., publication date, source, etc.) Think date+time stamp but on steroids.
Sure, there could be a Media Response object but at least some of its properties would be inherited from Content object.
p.s. fwiw there's a book called "Trillions" (http://trillions.maya.com/book-page/) where they discuss the idea of a content "container". That is - at the extreme - why should an image exist multiple times? Why not have a single instance of it and just keep reusing that? Mind you, this isn't the ideal example but hopefully it gets the point across.
I'm suggesting that once you look at Media Response - a type of content - you begin to see a pattern / abstraction (?) that can be applied to all content, and not just Media Response (since at some point a Media Response was probably created as some "object" of content on some other website. You just want to (so to speak) access the container and reuse it for your own use. But it's still (more or less) the same content object, which has properties.
p.s. My apologizes if I've steered this out of scope, off topic and/or too abstract / heady.
I am not sure if I got your idea.
So you say we shouldn't duplicate properties by creating a media response object but let the media response just be a container that kind of wraps an independently existing object like a PDF? Or are you saying that I shouldn't need to create my own object as it should already exist e.g. on some other site anyway? I'd be interested to understand what you mean as I'm also interested in clean and efficient content structure.
Anyway I am also a bit worried that even though your thoughts are worthwhile, we're still living in the WordPress realm which limits us to what is there like CPTs and post meta. But I guess that is what you meant by
steered this out of scope, off topic and/or too abstract / heady.
:wink: