This page (set up just so I could see how Blogger works) is a portal
to our adventures in food and drink, recipes, disasters, triumphs...


Please use the links below or go directly to the real blog from OUR kitchen



` ` `


29 April 2010

April 2010 blog entries

 
Thursday, 29 April 2010
spaghettini with chicken livers (PPN#161)
summary: recipe for spaghettini with chicken livers; information about Presto Pasta Nights

Sunday, 18 April 2010
Wordless(ish) Non-Wednesday: easy egg cracking
summary: EZ egg cracker; learning from TV; using one hand, two hands or more to crack an egg; hard-boiled egg party trick; a not-quite-wordless not-quite-Wednesday post

Friday, 16 April 2010
...so beautiful (cough)
summary: recipe for chicken livers, inspired by two recipes in SAVEUR magazine (issues #127 and #117); ...so beautiful... information about Beautiful Blogger Award;

Monday, 12 April 2010
ISO rennet: another exercise in futility
summary: searching for rennet in Toronto

Thursday, 8 April 2010
stuffed manicotti from scratch (PPN)
summary: recipe for Manicotti stuffed with spinach, homemade ricotta baked in sauce made with fresh tomatoes; information about Presto Pasta Nights

Tuesday, 6 April 2010
Happiness is... a new (to us) juicer
summary: new (to us) juicer; fruits vs vegetables; happy 101 award recipients (meme);

Thursday, 1 April 2010
Homemade Chocolate Cream Eggs
summary: recipe for homemade chocolate cream eggs; (Filed under: food & drink, note the date, posts with recipes, starter)

23 April 2010

show/hide the blogger navbar

 
*bump*
(originally posted 6 November 2007)
reposted 6 February 2008, 6 November 2008, 6 July 2009, 16 September 2009, 23 November 2009

********************************************

It has been bothering me for a while that my email address is in full view at the top of the page whenever I am logged on. I do realize that it is only viewable by me and that others see their email addresses at the top of the page. However, if I were to log in to blogger or google on a shared computer in a public place, anyone could easily take note of my email address. I get plenty of spam as it is and don't really like the idea of adding even more.

Also, it has come to my attention that the "next blog" link may turn up a blog with really questionable content. I really dislike the idea of linking to unknown drivel. (I don't mind linking to drivel that I KNOW about... ;-))

I have searched and searched for a way to disable the "next blog" link and change the navbar so that the user nickname rather than the email address shows.

I did not find anything about that other than some hacks to remove the navbar entirely. I'm reluctant to do this as it is likely to be a violation of the blogger TOS.

However, I did find a very nice little javascript at Derya's WebResource.axd. I have modified it a little so that the words change depending on whether the navbar is visible or not. The nice thing about this is that it cannot be construed as a violation of the TOS because of the visible link to the blogger navigation bar.

Here is the coding to copy and paste somewhere above <head>:

<script type="text/javascript" language="javascript">
var showHeader=false;
function ShowHideNav()
{
showHeader=!showHeader;
var nav=document.getElementById("navbar-iframe");
if (showHeader)
{
nav.style.visibility="visible";
nav.style.display="block";
}
else
{
nav.style.visibility="hidden";
nav.style.display="none";
}
var nav=document.getElementById("warning");
if (showHeader)
{
// when the navbar is visible, the phrase after innerHTML will be seen
document.getElementById('warning').innerHTML="Please be wary of "next blog" link - there is questionable content on many blogs";
}
else
{
// when the navbar is invisible, the phrase after innerHTML will be seen
document.getElementById('warning').innerHTML="to search the blog; sign in and out of blogger; etc. etc.";
}
var nav=document.getElementById("showit");
if (showHeader)
{
// When the navbar is visible the word will be "Hide "
document.getElementById('showit').innerHTML="Hide ";
}
else
{
// When the navbar is invisible the word will be "Show "
document.getElementById('showit').innerHTML="Show ";
}

}
</script>
<style type="text/css">
#navbar-iframe {
visibility: hidden;
display: none;
}
</style>


And here is the coding to copy and paste somewhere below <body>

<small><span id="showhide" onclick="ShowHideNav();" title="Please be wary of "next blog" link">
<b><u><span id="showit">Show</span> Blogger Navigation Bar
<a href="http://derya-webresource.blogspot.com" title="derya-webresource.blogspot.com">...</a>
</u></b><br />
<span id="warning">to search the blog; sign in and out of blogger; etc. etc.</span></small>


The result is the following phrase when the navbar is invisible:

Show Blogger Navigation Bar
to search the blog; sign in and out of blogger; etc. etc.


that changes to this when the navbar is visible:

Hide Blogger Navigation Bar
Please be wary of "next blog" link - there is questionable content on many blogs


The words "Show" and "Hide" are housed in a span with the spec id="showit". To change those words, go to the first piece of coding and look for var nav=document.getElementById("showit"); and see the notes below.

The second phrase is housed in a span with the spec id="warning". To change those words, go to the coding in the header and look for var nav=document.getElementById("warning"); and see the notes below that.

I hope this all made sense!!

16 April 2010

To enable Blogger "word verification for comments"

 
*bump*
*bump* (reposted 16 June, 16 Mar, 16 Sept 2009, 16 Nov 2009; 2 Aug, 16 Nov, 2 Jul, 2 Feb 2007; 2 November, 2 Aug, 1 Feb 2006)
*bump* (originally posted 13 September 2005)

********************************************


Blogger has added a new, sadly much needed feature to help prevent comment spam. To enable this feature on your Blogger blog, go to

Dashboard --> Change Settings --> Settings --> Comments

and check "yes" for Show word verification for comments. And that's all there is to it.

You can also choose whether or not to allow anonymous posting from a dropdown list beside Who Can Comment? on the Settings --> Comments page. The choices are "only members" (this means one must have a Blogger account to post a comment), "anyone" and "only members of this blog" (this means one must have a Blogger acount AND be a member of the blog). Unfortunately, there does not seem to be an option for disallowing anonymous posts but allowing non blogger accounts to post.

15 April 2010

Display links to recent comments on Blogger sidebar

 
*bump*
(reposted 15 June, 15 March, 15 September, 15 November 2009; 15 September, 15 November, 1 July 2007; 1 November, 1 August, 1 February 2006; 1 October 2005)
(originally posted 17 April 2005)

**********************************************


You can display links to recent comments on the sidebar by adding the recent comments hack

Add up to 10 links to most recent comments on your blogger sidebar. Go to: Found at:

recent comments hack from bloggerhacks.blogspot.com (http://bloggerhacks.blogspot.com/2004/09/farrago-recent-comments-hack-103.html)

to see how. Select ALL of the following coding. Copy and paste it into your sidebar coding where you want to see the recent comments listed.


<!-- **** FARRAGO RECENT COMMENTS HACK **** -->
<!-- Version 1.03 -->
<!-- Copyright &copy; 2004 Ebenezer Orthodoxy -->
<!-- was at http://boggerhacks.blogspot.com -->
<!-- ************** OPTIONS *************** -->
<script type="text/javascript" language="JavaScript1.2">
var titleText = "Recent Comments"; // heading on sidebar
var numberToShow = 5; // number of comments to show on sidebar
var displayTemplate = "[name]:<br/>[title]"; // formatting of comment link
var nameIsLink = true; // whether to add links to commenters' profiles
</script>
<!-- ********* CODE DO NOT CHANGE ******** -->
<script type="text/javascript" language="JavaScript1.2">
var comments=new Array(0);var title = "";
var itemurl = "";
function getSortDate(strDate){var d=new Date(strDate);
var day=''+d.getDate();if(day.length==1)day='0'+day;
var month=''+(d.getMonth()+1);if(month.length==1)
month='0'+month;var hour=''+d.getHours();
if(hour.length==1)hour='0'+hour;var min=''+
d.getMinutes();if(min.length==1)min='0'+min;var sec=''+
d.getSeconds();if(sec.length==1)sec= '0'+sec;
var sortDate=''+d.getFullYear()+month+day+hour+min+sec;
return sortDate;}
function recentComment(t,u,i,a,d){var rcmnt=
document.getElementById('frch'+i).innerHTML;
while(rcmnt.indexOf("\n") > -1)rcmnt=
rcmnt.replace("\n","");while(rcmnt.indexOf(" />") > -1)
rcmnt=rcmnt.replace(" />","/>");
while(rcmnt.indexOf(" <a/>") > -1)rcmnt=
rcmnt.replace(" <a/>","<a/>");var author=a;var pos=
rcmnt.toLowerCase().lastIndexOf('<br><a></a>posted by');
var pos2=
rcmnt.toLowerCase().lastIndexOf('<br><a></a><a></a>');
var pos3=
rcmnt.toLowerCase().lastIndexOf('<br/><a/><a/>');
var pos4=
rcmnt.toLowerCase().lastIndexOf('<br/><a></a><a></a>');
var aoffset=pos+6;if (pos3 > -1) pos2=pos3;
if (pos4 > -1) pos2=pos4;
if (pos2 > -1){pos=pos2;aoffset=
rcmnt.toLowerCase().lastIndexOf('<a><b> </b></a>');
if (aoffset==-1)aoffset=
rcmnt.toLowerCase().lastIndexOf('<a><b></b></a>')-1;}
if (pos > -1){author=
rcmnt.substr(aoffset+15,rcmnt.length-1);var expt="";
expt=rcmnt.substr(0,pos-4).replace(/(<([^>]+)>)/ig,"");}
else expt=rcmnt.replace(/(<([^>]+)>)/ig,"");
author=author.replace("<A ","<a ");
if (expt.length > 50){expt=expt.substr(0,50);
if (expt.lastIndexOf(' ') > -1)
expt=expt.substr(0,expt.lastIndexOf(' '));expt+='...';}
expt=expt.replace('"',"\"");expt=expt.replace("'","\'");
if (!nameIsLink)author=author.replace(/(<([^>]+)>)/ig,"");
var st=getSortDate(d)+'<li>'+displayTemplate+'</li>';
st=st.replace('[name]',author);
st=st.replace('[title]','<a title="'+expt+'" href="'+
u+'#c'+i+'">'+t+'</a>');comments.push(st);}</script>
<MainPage><h2 class="sidebar-title">
<script type="text/javascript" language="JavaScript1.2">
document.write(titleText+'</h2>');</script>
<Blogger>
<span id="frcht<$BlogItemNumber$>"
style="visibility:hidden;position:absolute;">
<BlogItemTitle><$BlogItemTitle$></BlogItemTitle></span>
<script type="text/javascript" language="JavaScript1.2">
title=
document.getElementById('frcht<$BlogItemNumber$>').innerHTML;
itemurl='<$BlogItemPermalinkURL$>';</script>
<BlogItemCommentsEnabled><BlogItemComments>
<span id="frch<$BlogCommentNumber$>"
style="visibility:hidden;position:absolute;">
<$BlogCommentBody$></span>
<script type="text/javascript" language="JavaScript1.2">
recentComment(title,itemurl,'<$BlogCommentNumber$>',
'<$BlogCommentAuthor$>','<$BlogCommentDateTime$>');
</script></BlogItemComments>
</BlogItemCommentsEnabled></Blogger><ul>
<script type="text/javascript" language="JavaScript1.2">
comments.sort();comments.reverse();
for (i=0; i<10 && i < comments.length && i < numberToShow; i++){
var s=comments[i];s=s.substr(14,s.length-1); document.write(s);}
</script><br/><br/><span
style="font-size:7pt;text-align:center;width:100%;border-top:1px dashed;">
<a title="Farrago Recent Comments Hack from BloggerHacks was at http://bloggerhacks.blogspot.com"
name="bloggerhacks.blogspot.com">BloggerHacks</a> </span>
</ul></MainPage>
<!-- END FARRAGO RECENT COMMENTS HACK -->


To customize the hack, look for
var titleText = "Recent Comments"; // heading on sidebar
You can put anything you want inside the quotation marks.

To change the number of recent comments that are shown on the sidebar, look for:
var numberToShow = 5; // number of comments to show on sidebar
Where the "5" is, you can type any number between 1 and 10

To customize what is shown for each link, look for:
var displayTemplate = "[name]:<br/>[title]"; // formatting of comment link
[name] is the name of the commenter; <br/> puts a line break after the name of the commenter; [title] is the title of the post being commented on.

To link to commenters' profiles or not, look for:
var nameIsLink = true; // whether to add links to commenters' profiles
true adds the link; false displays just the commenters' names without linking to their profiles.