graphitefriction / useful-content

Curated resources and references about content. Categories include: story arcs, bias, chunking, etc.
0 stars 0 forks source link

From Blobs to Chunks: Structured Content in WordPress #18

Open WhiteShark5 opened 10 years ago

WhiteShark5 commented 10 years ago

http://www.cmsmyth.com/2013/05/rom-blobs-to-chunks-structured-content-in-wordpress/

WhiteShark5 commented 10 years ago

Author: John Eckman Blog Post 05/09/2013

Content has its own internal structure separate from the specific presentations which might be made of it. This core notion of separation of content from presentation has been a challenge ever since. We just can’t seem to come to grips with the notion that the web is different than print, and that rather than trying to control the output across device types, contexts, and users, we ought to aim for flexibility.

Enter Content Strategy While the approaches like progressive enhancement, adaptive web design, and responsive web design have helped the situation significantly, by helping realize the goal of flexible presentations rendering reasonably on various devices, form factors, and contexts, they only account for content presentation. Content strategists, most notably Karen McGrane (Content Strategy for Mobile) and Sara Wachter-Boettcher (Content Everywhere) have forced us all to recognize that without structured content – without forcing the content management systems and strategies we’re dependent upon to recognize, capture, and make use of structured content – we can’t ever truly be prepared for a world of adaptive content. The apparent flexibility of the WYSIWYG blob in fact prevents us from realizing the best presentation for each context; if we want true flexibility, we need structured content.

WordPress has often been the poster child for – or represented the anti-pattern of – unstructured content. McGrane wites: If your organization is using a blogging platform like WordPress as its CMS, you know what this looks like. Content creators get one big field for the body of their content, and it’s like their own personal playground. WordPress’ focus on a WYSIWYG authoring experience and the legacy of posts/pages has been loved by authors and content creators, because it allows a great degree of flexibility, or what authors see as flexibility. In fact, one of Matt Mullenweg’s favorite features in WordPress is “distraction free writing mode” in which everything but that “one big field” disappears into the background.

That apparent flexibility, however, comes at a longer term cost because the content it captures is not structured. What WordPress stores in the database is a messy melange of plain text, html markup, references to images and other assets like files, headings, sub-headings, paragraphs, and “shortcodes” which are specific snippets of text designed to be understood by plugins and transformed on display into consumable html. WordPress plugins, themes, and templates can and will impact the presentation layer, adding styling onto that markup and processing shortcodes, but their ability to have structured, regularized, programmatic access to specific parts of the content (in order to execute rules) is very limited, because of the flexibility allowed to the person inputting the content.

If you have a content model, WordPress can be made to respect that model and provide interfaces for content creators which encourage require structured content and rich metadata. Some basic structure and metadata are already built in, of course: title, body, excerpt, author, categories, tags, featured image, and (depending on what plugins you’ve elected) SEO-related metadata. Setting a featured image, for example, stores a specific relationship between the post or page and the media asset that can be presented different ways in different contexts: often, the featured image is included with the excerpt on list style pages in a smaller size, and becomes a hero image on “single article” type pages. WordPress has also for a long time also allowed the notion of custom meta data, which requires some content modeling and some development, but enables users to add specific fields to content entries representing specific parts of the structure.