Technology of the New News Workflow
Upcoming SlideShare
Loading in...5
×
 

Technology of the New News Workflow

on

  • 3,999 views

My presentation at WordCamp Miami - Feb 20, 2010. ...

My presentation at WordCamp Miami - Feb 20, 2010.

Covering True/Slant's enhancements to WordPress MU - Editorial and cross-network / multi-site.

Get more details on this topic at http://trueslant.com/rogertheriault/

Statistics

Views

Total Views
3,999
Views on SlideShare
3,983
Embed Views
16

Actions

Likes
0
Downloads
13
Comments
1

3 Embeds 16

http://www.linkedin.com 10
http://www.slideshare.net 4
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • This site is built on WordPress MU, with about 300 contributors, each with their own blog (“site”). If you’re familiar with WordPress MU, you’ll understand that out of the box, no plugins, each blog/site stands apart. You can’t search across blogs, you can’t query posts across blogs. It’s great for each blog – nice fast pageloads. But to integrate the network installation into one presence, you need to build on this great WordPress platform. I’m going to walk you through some of the things True/Slant can do, including editorial workflows – not everything you see is automated. And then I’ll get into techniques and methods to combine multiple blogs into something bigger than the sum of its parts.
  • This is one blog. This particular one by Matt Taibbi who also writes for Rolling Stone. The functionality here is pretty simple, just a few sidebar pieces to show content from the rest of the site, and what we call an Activity Feed showing what the contributor has done in the past few weeks. We started this before BuddyPress was really available, and haven’t had a chance to check it out – in case you were wondering if there’s any BPress in True/Slant. Not yet…
  • Here’s another contributor. This is the main page – very similar, and a common theme.
  • And here’s another. They are all the same theme, just different content and writers. So why not stop here? Because it’s more than just one writer, just like any newspaper is more than just one column.
  • Here are some of the bits we put on the home page. With 300 contributors, there are a lot of viewpoints. We have basically one full-time editor picking content to feature. And to keep him productive, we’ve created a few tools. But some things are automated.
  • Many users arrive on our site at a specific post. Our chance to engage them starts on the single post page. These sidebar modules will attract users to other posts on the site.
  • Here’s our footer. The most popular posts, recent contributors, and the last few posts and comments wind up here. This is all automatic.
  • Rather than just posts from this contributor, we feature related posts from all blogs. We also have what we call topic streams. They aren’t exactly categories or tags; a post can be assigned to multiple topics; this exposes them to the site-wide topic streams.
  • We call these Live Streams, but they’re more like topics. Posts can be assigned to multiple topics, based on - which category they are in in their home blog, or - an editor’s manual selection per post (either forcing a post into a topic, or possibly excluding it) Inside the streams, we can have posts and various status updates – such as this bit that lists recently recommended posts in the stream. In the sidebar, we can feature a post. All the editor needs to do is hover over the story, and click a link.
  • This is how an editor manually overrides the automatic topic assignment. Here, the contributor’s Category placed this post into the World topic, but the editor manually added the post to the Haiti Earthquake topic as well.
  • A user can follow contributors and topics, once you follow them, you can receive email alerts, and this handy drop-down shows you the latest updates.
  • We modularized our code, so that we can hook in additional features later. When we added Facebook Share, and Email alerts, we did not have to modify the Follow code or change the Follow workflow for the user. If a user is not connected to Facebook, the Facebook part doesn’t appear.
  • Everything a user does on the site can be displayed to other users.
  • We implemented this with a special master table, listing all events. We indexed it and made some keys unique, so that there’s only one record, with the latest timestamp.
  • We created several editorial tools, which add to the automation. The idea is to get the best content exposed, We have data to help us – eg post views, trends, comments. But don’t make it hard for the editor, And certainly don’t make anyone jump through hoops We use a lot of AJAX, which is only exposed to privileged users
  • This is one of the first, and simplest customizations we did.
  • The only thing you need to do here is increment comment_karma in the comment table by 1, and use that to set a class on the comment. Also, alerts hooks into the comment being called out action, so we can send a note to the original commenter.
  • We also enabled an interface on the backend to curate comments from the comment list; green here indicates a called-out comment.
  • Our home page needed a bit fancier set of tools, to create and arrange posts in panels.
  • This network header editor allows editors to prioritize panels, hide them, change or re-crop the thumbnails and headlines, etc.
  • To make search results fast across all blogs, we Added a new column to our shadow posts and comments table with just the searchable text of the post Made a fulltext index of that Intercepted the standard search query and queried our shadow table instead We also derive topics and contributors to provide refinement tools and links in the sidebar
  • We also give contributors some tools – this is my dashboard Blog stats, top posts, referers all via internal stats (which we use in many other ways)
  • Needs work
  • One big issue we faced early was combining the multiple blogs into one. Does it make sense to use RSS feeds if the database is right there? What other information do we need? And – we’d still need to pull 300 feeds! Forget that!
  • This is a normal, single “site” or blog.
  • When you have two blog sites, you have to use a JOIN to query both tables at the same time (eg to find the latest post)
  • When you have 300 blogs/sites, a normalized database is hard to deal with for reads. It would kill performance.
  • Solution: de-normalize the data; we hooked into the post update and comment update actions and copied the data into this shadow table. Adding a blog_id column.
  • No point in using this for each blog; WordPress handles things fine.

Technology of the New News Workflow Technology of the New News Workflow Presentation Transcript

  • Technology of the New News Workflow* Roger Theriault True/Slant *featuring WordPress MU
  • True/Slant
  • Contributors - Taibbi
  • Contributors – Colin Horgan
  • Contributors – Miles Obrien
  • Content surfaces on main site
  • Inbound Traffic
    • >80% of inbound traffic is to individual posts
    • We also need to expose these users to True/Slant via the single page template
  • Widgets
  • Related Posts and Streams
  • Topic Streams How to combine?
    • Every author has a different way to organize categories, and a different opinion of what belongs
    • We devised a ½ editorial, ½ automated Topic
    • Fed by designating categories from specific contributors
    • Fine tuned by manipulating on a post by post basis
  • Streams
  • Streams
    • Editorial overrides
    • Default based on post categories
    • AJAX of course
  • Following
  • Following
    • Simple list of contributor ids (and topics) stored for each user
    • AJAX controls
    • Other modules use the follow data (eg: email alerts, Facebook)
  • User Activity Feed
    • Constant stream of user activity on the site
    • Posts
    • Comments by user
    • Comments on user’s post
    • Headline Grabs
    • New follows
    • Etc.
  • User Activity Feed
    • Master activity table
    • Multiple unique indexes
      • Event type
      • Acting user
      • Receiving user
      • Timestamp
      • Blog id
      • Post id or Link id
      • Comment id
    • Reciprocal events for receiver
  • Editorial
    • Surface compelling content
    • Leverage existing information
    • Simple interface
    • Don’t get in anyone’s way
  • Comment Curation
    • Surface the best comments
    • But permit the entire thread to be seen
    • Show in streams and activity feeds
    • Keeps conversations civilized
  • Comment Curation
    • Simple AJAX controls to “Call Out” a comment
    • Alerts hook into it to send user notifications
    • Rest is templates
  • Comment Curation
  • News Now
  • Network Header
  • Search
  • Contributor Tools
  • Technical Challenges
    • How to integrate so many blogs?
    • Consistent experience
    • Fast performance
  • Caveat – what we are doing is OK
    • No need to write everything as a separate plugin
    • Need flexibility
    • For easy scalability and maintenance, build hooks and filters in
    • Be ready to throw a bunch of code away
    • Don’t hack core! Copy and change functions if needed.
  • Editorial - AJAX
    • Editors can’t always remember which tab in Admin to go to, so we put everything right in front of them
    • Lots of hover – click elements for editors
    • Some even for contributors
      • Curate Comments
    • On backend, simple option storage usually is sufficient for editorial data
    • Consistent UI elements eliminate complexity
    • Conditional loading of editor elements and scripts
  • RSS – no
  • WordPress tables Posts Table
  • WordPress MU tables Posts Table Posts Table
  • WordPress MU tables Posts Table Posts Table Posts Table Posts Table X 300 ?
  • Shadow tables Posts Table Posts Table Posts Table Posts Table X 300 Master Posts Table
  • Shadow Tables
    • Topic Streams
    • Search
    • Related Posts
    • Activity Feed data
    • Stats data
    • not individual blog posts
  • Thank You
    • Roger Theriault [email_address]
    • http://trueslant.com/rogertheriault/
    • True/Slant http://trueslant.com/
    • “ News is more than what happens”