So!

That was really quite painful. I've discovered something new:

GameSummary objects exist on their own, except when they don't, which is always. They not only have RelatedMedia objects which relate them to .. things (not sure yet), but a feed must be created in the way of a ContentStore object. This feed is actually saved in it's rendered state, then parsed on the fly on first access(!) when it's used, which is everywhere.

Besides being convoluted and horribly complex for no good reason, it's also really failure prone. Stuff gets copied between the GameSummary and its ContentStore feed all the time, then parsed back out of the ContentStore. You never know when the 'original' data is going to be used, or when someone used the ContentStore by mistake, which means you have to keep them in sync all the time.

I wrote a script to add RelatedMedia objects to all the old GameSummary objects, but not to add the ContentStore objects. I've updated the API and it seems to be handling this stuff fine on my local copy.

There's an interesting problem I've discovered that'l need more explanation. GameSummary objects and ContentStore objects can live quite happily without titles, and the API does not mandate headlines (https://wiki.advance.net/display/tech/HSSN+web+service), and Freeze does not send them. However, because of the wonderful new SEO urls we have, which rely on an article having a title, the news detail pages basically break if there isn't a title.

StupidWork (last edited 2009-10-16 00:50:50 by localhost)

Edit and actions menu

  • Immutable Page
  • Info
  • Attachments