Wednesday, February 21, 2007

Playing with my Blog

i came across several blogs which has the "recent posts" on their sidebars aside from the regular blog archive.
i want to have that feature in this blog of mine as well so i searched the template function on the dashboard but to no avail. i searched from the help topics but all they say is that i should have the classic template to be able to add the tags that they have.
the day came to a close and still i haven't figured out how to create that portion for my blog.

just this morning, the best of my eagerness to create the function for my blog grew stronger. i studied the html template of the blog and tinkered with it a few times, switched to classic template and then uploading my previous template (i messed up the layout a lot of times luckily i have saved the original template.) really cannot get it right so i decided to quit my endeavor...but still i wanted to have it in my blog....i looked and studied the html template one last time before i gave up on the idea totally when i figured something out....(this stuff is worth mentioning in the blogger hacks section. )anyway, i tried the code i figured out and somehow it works.
i'm sharing the code to everyone who wants to have the recent posts on their blogs and are using the new blogger layout and not the classic template.

brackets here b:widget id='BlogArchive2' locked='false' title='Recent Posts' type='BlogArchive' close tag brackets

enjoy the code, just leave a comment if you would like to ask questions or simply want some help.
this is the closest i can get it to be like a recent posts list.
knowledge of html is essential in determining the code structure since i tried posting this entry several times already and the code just seems to disappear thats why it looks like this.

No comments: