Sunday, August 31, 2003
quote of the day
With a little time, and a little help, and a little thinking, I managed to be able to get a "Quote of the Day" section on this blog, that will not require much effort to update.
Thanks to Glenn, a fellow TypePadder, for giving me the kernel of the how-to. Glenn posted a tip on the TypePad User Group about doing the "Quote of the Day" concept. What he does is pretty elegant, but for a newbie like myself the words (if they are even words): blogger API, XML-RPC, perl, and cron may as well have been Sanskrit, and I told him so in my reply to his initial post.
However, as I am somewhat of a quote junkie, I really wanted this. So, I mulled over it, occasionally re-reading Glenn's post, and trying to puzzle it out conceptually. Still not much luck.
The aha! moment...
...came tonight when I decided I'd try to circumvent some of the excess coding, giving up some of the functionality (like automatic updating of the list using a txt file and cron) and simply seeing if I could update the quote by making a separate blog entry each day. This will not be a big burden to me, as I have several notebooks and published books of quotes to choose from. This way, instead of doing a random quote, I can pick one based on my mood at the time.
Anyhow, I managed to lose the functionality Glenn built in, but I also lost all of those odd words that I only understood a little bit.
The result is what you see at the top of the page, just under the banner. To change it, I have to either: make a new post (in a separate blog), or change the current one on a daily basis. New posts will allow an archive of old quotes, but will also take up disk space.
What it required (in TypePad):
- a Pro account (with the abilitiy to create multiple blogs)
- a few new lines in my current CSS.
- a few new lines in my current index.html
- a new index template built (with exactly one line in it).
- a new blog called "quotes".
Please excuse me if I seem terribly full of myself, but this is a bit of a breakthrough for me.
Good Night.
09:36 PM in Weblogs
Comments
Woohoo, kudos to you! That's a good solution if you're not familar with Sanskrit :)
I was going to suggest you post this over on the User Group, but I see you've already done it.
Posted by: Glenn Slaven at Aug 31, 2003 10:14:35 PM
Oh, ho. Brilliant--the quotes from another of your own blogs...
This is definitely a technique I need to master. Thanks for posting about it.
And--nice place you've got here!
Lisa
Posted by: lisa at Sep 1, 2003 12:03:31 AM
Can we quote on that?
Posted by: Wheezer at Sep 2, 2003 10:36:45 PM
I jsut switched over to Pro and my computer language knowledge is about this big []. Is it terribly diffucult to do that? I really like that quote feature. Cuold you send me over some instructions? Thanks!
Dave
Posted by: Dave at Sep 8, 2003 9:22:50 PM
where is it posted at the user groups? i would like to have you are a guest writer and post this at the typepadistas directory.
please please pretty please
Posted by: liza at Oct 7, 2003 8:03:18 PM
