Blogger Calendar
Dear reader,
For more convenient navigating through my blog I created a calendar on the right side of the page just under a "Posts By Date" heading. If you don't see it or if you get an error loading the page, please let me know it in comments (be sure to say the name and the version of your browser).
For blogger users: this calendar is my blogger archive hack that uses JavaScript and blogger daily archives. If you want to have it on your own blog you have to follow these steps:
- Change "Archive Frequency" to "Daily" in your blog's settings (tab "Archiving")
- Change "Archive Index Date Format" to something like "December 22, 2005" on "Formatting" tab
- Insert the following lines into the template of your blog inside <head> tag:
<script language="JavaScript" src="http://romakas.balticom.lv/css/calendar.js"> </script>
<link href="http://romakas.balticom.lv/css/calendar.css" rel="stylesheet" type="text/css"/>
- Insert the following code inside <div id="sidebar"> tag:
<h2 class="sidebar-title">Posts By Date</h2>
<MainPage>
<div id="div-archive-calendar" style="width:200px;height:180px;"></div>
<script language="JavaScript">
<BloggerArchives>
vArcDates.push('<$BlogArchiveName$>');
vArcLinks.push('<$BlogArchiveURL$>');
</BloggerArchives>
drawCalendar();
</script>
</MainPage>
<ArchivePage>
<script language="JavaScript">
drawURLBack("<$BlogURL$>");
</script>
</ArchivePage>
There are several limitations of this hack due to specifics of blogger archive entries. That was the reason I have restricted blogger calendar to show only on the main page.
You can copy files calendar.js and calendar.css, just leave my name there in comments and a link to my blog.
P.S. The calendar works with old blogger templates, but I still didn't check new blogger templates.
P.P.S. If you want to change the size of the calendar, modify line <div id="div-archive-calendar" style="width:200px;height:180px;"></div>
If it doesn't work or you found any error, let me know. Regards, Romkas
Hi, Romka
I am Internet Explorer user and I don't see anything on the right side under Post By Date.
Could you please be so kind and check the situation?!
Best regards and best greetings from Riga!
Dace
Thanks a lot, Dace!
A bug with kHTML browser is fixed. Internet Explorer will be the next!
Looks like it works for Internet Explorer 6.0. Please tell me the version of your browser as well!
This is really cool!
Thank you, mela! I already have two TODOs:
1) use some other brosing through months, because the current jumps the page,
2) make the past months to remain after you click.
I developed a Java Servlet application that I also call the "Blogger Calendar". The Blogger version can be demoed here --> http://blog.qisoftware.com or here --> http://qisoftware-support.blogspot.com.
The WordPress version which is also a Java Servlet with a JDBC interface. It can be demoed here --> http://qisoftware.com/qblog/...
Great interface... I will add it to my list of blogging addons -- here --> http://forums.qisoftware.com/viewtopic.php?t=38
Q...
Hi, Q...! Thank you for adding my calendar to your super list. I see there many of good things I can use too! Regards, R.
Yes, but at the end of September, after I finish one article.
your calendar is awesome. could you please give me the info on the code? I would like to put it on my blog. Thanks!
i using mozilla firefox, can you teach me how to do it?
Hello !
I love the simplicity of your calendar, and I truly wish to implement a calendar at the top of my "links" list, allowing viewers to chose specific workshop days, not previous posts. Is this possible, and how? Thanks a million to help!
Hey this is very cool, can I get one for me?
Thamk you for your calendar, It'll be really useful for my blog.
:-)
Thank you for your calendar, It look kool... But it dont match my blog... coz my i have a black background... do u think u can do somethin about it? Thanks alot n have a Great Day ahead...
Hi guys! I'd be really proud if some of you starts to use the calendar and I'm very happy to receive the comments.. About the styles: if you know about CSS, you can just replace my stylesheet file to your own, or just define calendar styles exactly in your blogger template (look into http://romakas.balticom.lv/css/calendar.css for the names of the styles). If you're not familiar with CSS: I will try to make my default style more universal, so it fits different backgrounds.
Thank you! I'm a very beginner knit blogger, but thanks to you I was able to put on a calendar on my blog. Thanks so much!!!
Thank you so much, its really cool:)
Hi Romka,
I really thank you for your effort on providing such a excellent Blogger Calendar. I am new to Blogger, and have been confused of Calendar stuff for few days. I really like your works. I am wondering if it is OK to let me copy the Javascript and CSS codes and paste them directly on my webpage template, instead of link to your site. I hope this is fine with you. Again, I really appreciate your Blogger Calendar.
Thanks for this. Have made a few changes to the style sheet and it matches my blog perfectly.
Just one thing though, is there any way to make the table stretch to 100% of the side bar (on mine this is 200px wide) as currently when I move from month to month the calendar changes width?
Thanks :)
Really like the look of this. How can I get it into the new 'Page Elements' version of the Blogger Template?
To Mark Brad: well, I am new to to new Blogger, so I guess I have to create a new blog and to play a bit with it, so I don't spoil the old one :)
To Marcus: about changing width - yes, it is a little issue, I will try to find out something! ;)
Romka,
I received this error:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The content of elements must consist of well-formed character data or markup.
Pls help me what to do..thanks.
Syazni
hi romka,
thks for sharing the codes to adding the calendar. when i added the quotes, the calendar expands in width on days with posts i.e. out of alignment... with a bullet on it...
could you kindly advise how i can rectify this? many thanks.
Wow.. great script!!
Thanks a lot.
I just wondering could you please update the script so we can use the calendar with "Archive Frequency Setting" set to "Monthly".
Hi Romka, for some reason I dont manage to put your calendar, might be doing something wrong as Im a real begginer! I get the following message:
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The content of elements must consist of well-formed character data or markup.
Could you please tell me what im doing wrong? thanks, caroypipetrip
Hi Romka
Sometimes, some of my posts are not reflected on the calendar. Today's entry for instance. Today's date was not highlighted on the calendar and so are some of my other previous posts.
Can you please tell me what did I do wrong?
Thanks!
Chic
Hei I got the calendar up and running but it does not highlight the days which I did postings. Hope you can help me out!
Thanks
A. Mike
Hi your calendar seems to work for a particular month only. However now that it is June, the entries are not highlighted. Please help! I really like this calendar! Email me your response @ grace.pans@gmail.com Thanks!
To maernee: let me see your blog, was not enough info to understand the problem
To AdinNk: this calendar uses the dates from archive entry list, if you set it to months it won't work
To Caro&Pipe: I changed something, so try again. Also, I'm using old blogger templates, with new it might not work.
To chic: I don't know, if you show me an instance I might help
To A.Mike: most probably your archive dates are not in the right format, e.g. June 4, 2008
To Magg: Can I see your blog? That might help ...
heys i'd like to ask why my calander doesn't show the months and the mo,tu,we,thu things?
Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!
YOU ROCK DUDE! thanks so much! it'll be nice if there were PINK, lol. but ITS GREAT!!!
Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!
I want to quote your post in my blog. It can?
And you et an account on Twitter?
Hi, Q...! Thank you for adding my calendar to your super list. I see there many of good things I can use too!
Add a Comment