Blog News

St.Ego's Blog + CMS Blog + Friday Nite Fone Tag
Browse in : All > Topics > St.Ego's Blog
All > Topics > CMS Blog
All > Topics > F.N.F.T.
Any of these categories - All of these categories

A Broader Emotional Blogging Range

Posted by: St.Ego on September 09, 2008 4:20:00 AM (997 Reads)

After spending several weeks posting status updates to the site that include my mood, I decided that I needed to begin using a broader vocabulary to describe my emotional state. Aside from producing a boringly repetative pattern, I simply felt that my range of emotion encompassed more than I was taking the time to specify.

How best to make this process easier to facilitate?

LiveJournal has a rather large array of emotions to choose from when posting content. The list is large enough that I felt it worth replicating, for convenience. After all, the end goal is to cross-post blog entries to my various profiles, including LiveJournal, so it only makes sense to use data that it is already trained to expect.

Keep reading to find out how I ended up implementing the feature...

Since the Articles publication type that I selected already has a "mood" field, I simply modified the template to place a new dropdown in front of the textfield and populated it with the LiveJournal mood options.

Next, I added Javascript to my field so that, every time it changed, the value selected would be duplicated to the textfield.

Now, I can select from one of the available moods scraped from LiveJournal or I can type in my own to use.

From here, I would like to begin sorting the available moods into general types (good moods vs bad moods vs neutral moods) and color code them in the dropdown for faster/easier selection.

Of course, that still leaves me without a LiveJournal API client to cross-post with, but we'll get there...

Keywords : blogging mood

There are no comments attached to this item. You must be registered and logged in to post comments!

Options:
View Article Map
View Archives