One day's progress writing the new blog
Posted by sam, Mon Feb 18 17:01:14 UTC 2008
I'm happily working away on my new blog on my free time. I think I'm going to call it Fullerton, after the El stop I get on to ride to work every day.
Fullerton right now is very bare. I can post articles, and that's it. I've spent a lot of time trying to get the css working. The only data structure I have at this point is Articles. I have two controllers, articles, and frontpage. This morning I figured out how to get Atom feed helpers working in rails. So now I can get RSS syndication going.
I wonder which feed format is better to use: RSS or Atom? Should I provide both? Seems like a worthwhile endeavor.
I really like being able to type blog entries in Textmate and then having it post them out to Mephisto. I'm going to have to replicate this feature in Fullerton.
Luckily, ActiveResource provides me with a restful web service, replacing the balky ActionWebService. I have to fork off the Blogging textmate bundle (or create a new one) to enable Restful blogging.
So here's a thought:
POST http://localhost:3000/articles
(active resource formatted xml, with authentication)
All I plan on doing at this point is the standard CRUD with active resource.
I hope to get that up and running today. Stay tuned.
On the design front, I have Markdown enabled for writing. Next up, I need to get vibrant ink styled filtered text macros enabled.
Routing wise, i'll have to get permalinks setup, and learn the real way to do rails routing. I've been getting by on just using Resources for now.
Another feature I hope to add is a tag cloud. That's later down the line



