Monday, February 10, 2003

I'm running into lots of ASP.NET errors with my blog stuff... it works great locally, but when I let Radio FTP it up to the server it gets hosed... i'll have to follow up with my admin tomorrow (that's you Brian! <G>)
10:33:28 PM    comment []

Still not ready to release my source for my blogging stuff i'm playing with, but I did get a brain dead simple RSS feed working... (again, this is all temporary, so don't subscribe)...

I thought I'd get some feedback from my architecture...

There is one XML file (*.dayentry.xml) per date. There are multiple entries per date. This allows for queries about what days have logs without ever parsing any files. This means the calendar can be populated with a simple file system query. In addition there is an "extra" file (*.dayextra.xml) per date that contains the user editable stuff (comments, trackbacks, etc.). Each entry can have n categories associated with it, and the system auto-generates a categoryCache.xml file when any entry is modified.

One thing that I need to do is have a mapping from the entry id (guid) to a URL. I figure that I could either change my architecture to have a single file per entry (like Radio), or build some cache. I'm trying to figure out the frequency of hits. I'm guessing that 80% of the hits are on the homepage, so I want to optimize around populating the home page entries and calendar. However, it seems that permanent links are often followed... hmm...

The basic layout for a "dayentry" file is:

<DayEntry>
  <Date>GMT date</Date>
  <Entries>
    <Entry>
      <Content>...</Content>
      <Created>GMT date/time</Created>
      <Modified>GMT date/time</Modified>
      <UniqueId>GUID</UniqueId>
      <Title>...</Title>
      <Categories>semicolon demlited list</Categories>
    </Entry>
    <Entry>...</Entry>
  </Entries>
</DayEntry>

 


10:26:26 PM    comment []