<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" gd:etag="W/&quot;C08CR34_fCp7ImA9WhRVEkw.&quot;"><id>tag:blogger.com,1999:blog-934829683866516411</id><updated>2012-01-10T17:11:06.044+01:00</updated><category term="feeds" /><category term="templates" /><category term="tools" /><category term="tutorials" /><category term="sidebar" /><category term="google maps" /><category term="news" /><category term="hacks" /><category term="bugs" /><category term="gadgets" /><category term="widgets" /><category term="vista" /><title>Beautiful Beta</title><subtitle type="html">Exploring the beauty of Blogger Beta</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://beautifulbeta.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://beautifulbeta.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/934829683866516411/posts/default?start-index=4&amp;max-results=3&amp;redirect=false&amp;v=2" /><author><name>Hans</name><uri>http://www.blogger.com/profile/02078382171984328010</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/_JM8-yOL0YAY/SZkmEBkUvmI/AAAAAAAABG0/4_GnFZucG4Q/S220/hacker.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>95</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>3</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/beautifulbeta" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="blogspot/beautifulbeta" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DkQNQ3wzeip7ImA9WxVWEUs.&quot;"><id>tag:blogger.com,1999:blog-934829683866516411.post-4679523940858643724</id><published>2009-02-20T21:51:00.003+01:00</published><updated>2009-02-20T22:13:12.282+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-20T22:13:12.282+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tutorials" /><category scheme="http://www.blogger.com/atom/ns#" term="hacks" /><title>Post Summary And Read More</title><content type="html">My old friends here are very well aware of the Peek-A-Boo-Posts hack that Ramani and I came up with several years ago. It required quite some template hacking and javascript too.&lt;br /&gt;&lt;br /&gt;In this tutorial you will learn how to tweak your blog without any javascript to get a similar effect. On our homepage, all posts will show a short summary, followed by a "Read More" link. Clicking the "Read More"-link will bring up the post page with the full post text.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Step 1: Back up your template&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;Open the Layout|Edit HTML-tab on your Dashboard, and download the template as an XML-file to your harddisk. If anything goes wrong, upload it again and there will be no problem at all.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Step 2: Modify the template code&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;Scroll down and look for the following piece of code:&lt;br /&gt;&lt;pre&gt;&amp;lt;div class='post-body entry-content'&amp;gt;&lt;br /&gt;  &amp;lt;data:post.body/&amp;gt;&lt;br /&gt;  &amp;lt;div style='clear: both;'/&amp;gt; &amp;lt;!-- clear for photos floats --&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt;This is the piece of template code that displays the post-body on the screen. We have to add a few lines of code here:&lt;br /&gt;&lt;pre&gt;&amp;lt;div class='post-body entry-content'&amp;gt;&lt;br /&gt;  &lt;span style="color:#ff0000;"&gt;&amp;lt;b:if cond='data:blog.homepageUrl == data:blog.url'&amp;gt;&lt;br /&gt;    &amp;lt;style type='text/css'&amp;gt;.restofpost {display:none;}&amp;lt;/style&amp;gt;&lt;br /&gt;  &amp;lt;/b:if&amp;gt;&lt;/span&gt;&lt;br /&gt;  &amp;lt;data:post.body/&amp;gt;&lt;br /&gt;  &lt;span style="color:#ff0000;"&gt;&amp;lt;b:if cond='data:post.link'&amp;gt;&lt;br /&gt;    &amp;lt;a expr:href='data:post.link'&amp;gt;Read more...&amp;lt;/a&amp;gt;&lt;br /&gt;  &amp;lt;b:else/&amp;gt;&lt;br /&gt;    &amp;lt;b:if cond='data:post.url'&amp;gt;&lt;br /&gt;      &amp;lt;a expr:href='data:post.url'&amp;gt;Read more...&amp;lt;/a&amp;gt;&lt;br /&gt;    &amp;lt;/b:if&amp;gt;&lt;br /&gt;  &amp;lt;/b:if&amp;gt;&lt;/span&gt;&lt;br /&gt;  &amp;lt;div style='clear: both;'/&amp;gt; &amp;lt;!-- clear for photos floats --&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now save your template.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Step 3: Modify your post template&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;In your Blog Settings you can modify the post template. Change it to:&lt;br /&gt;&lt;pre&gt;&amp;lt;div class="summary"&amp;gt;Type summary here&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div class="restofpost"&amp;gt;Type rest of post here&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt;And save your settings.&lt;br /&gt;This will take care of all new posts. Type the summary text in between the summary-div-tags. Type the rest of the post between the other div-tags, and publish!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Step 4: Modify old posts&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;If you want older posts to have summaries as well, change every post and add a summary-div and restofpost-div.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;And furthermore...&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;The summary-div is not really necessary, as the code only hides the restofpost-div if we are on the homepage. If you want some other styling for the summary, add CSS-tags to the skin-part of your blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/934829683866516411-4679523940858643724?l=beautifulbeta.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/beautifulbeta/~4/Xr4dXb629n0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://beautifulbeta.blogspot.com/feeds/4679523940858643724/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://beautifulbeta.blogspot.com/2009/02/post-summary-and-read-more.html#comment-form" title="31 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/934829683866516411/posts/default/4679523940858643724?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/934829683866516411/posts/default/4679523940858643724?v=2" /><link rel="alternate" type="text/html" href="http://beautifulbeta.blogspot.com/2009/02/post-summary-and-read-more.html" title="Post Summary And Read More" /><author><name>Hans</name><uri>http://www.blogger.com/profile/02078382171984328010</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/_JM8-yOL0YAY/SZkmEBkUvmI/AAAAAAAABG0/4_GnFZucG4Q/S220/hacker.gif" /></author><thr:total>31</thr:total></entry><entry gd:etag="W/&quot;AkEESXo4cCp7ImA9WxVXF04.&quot;"><id>tag:blogger.com,1999:blog-934829683866516411.post-8050581588310882610</id><published>2009-02-15T18:37:00.004+01:00</published><updated>2009-02-15T23:56:48.438+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-15T23:56:48.438+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hacks" /><title>More If Then Ideas</title><content type="html">Now that my train of thought has started on how to use the &amp;lt;b:if&amp;gt; - &amp;lt;b:else/&amp;gt; constructions to enhance the Bloggger experience, I got some new ideas that really need some investigation.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Idea 1: Table of Contents&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;We can tweak the Blogpost Widget, so that it displays only posttitles when we are on the Blog Homepage, and full posts when we are on an Item Page. In the Blog Settings we can set that our Blog should display 365 days on 1 page, allowing for a maximum of 500 posts to be displayed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Idea 2: Post Summaries on front page&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;By default, we have 1 Blogpost Widget on our Blog. But we can easily add a second Blogpost Widget to our Blog. We can modify Blogpost Widget #1 to be displayed only on the Homepage, and #2 to be displayed on Itempages.&lt;br /&gt;In our posts we could use 2 span-tags, one for a summary and one for a full post text. In Blogpost Widget #1 we only display the summary-span, in Blogpost Widget #2 we only display the full text span. It can be done with javascript. The challenge is to see if it can be done without!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Idea 3: Featured Posts on front page&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;If we can have 2 Blogpost Widgets, we can have 3 as well.&lt;br /&gt;Widget #1 shows on item pages, just as we are used to. Widget #2 and #3 are shown only on the Homepage, where #2 filters for 'Tutorial' and #3 filters for 'Template'. And #2 and #3 are side by side. &lt;br /&gt;&lt;br /&gt;Well, I have to do some experimenting to get this to work. Please feel free to create your own solutions, and throw in your own ideas as well!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/934829683866516411-8050581588310882610?l=beautifulbeta.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/beautifulbeta/~4/zn-C85_-bM0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://beautifulbeta.blogspot.com/feeds/8050581588310882610/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://beautifulbeta.blogspot.com/2009/02/more-if-then-ideas.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/934829683866516411/posts/default/8050581588310882610?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/934829683866516411/posts/default/8050581588310882610?v=2" /><link rel="alternate" type="text/html" href="http://beautifulbeta.blogspot.com/2009/02/more-if-then-ideas.html" title="More If Then Ideas" /><author><name>Hans</name><uri>http://www.blogger.com/profile/02078382171984328010</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/_JM8-yOL0YAY/SZkmEBkUvmI/AAAAAAAABG0/4_GnFZucG4Q/S220/hacker.gif" /></author><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;DkYHQX0-fyp7ImA9WxVXFkQ.&quot;"><id>tag:blogger.com,1999:blog-934829683866516411.post-7384573514428369030</id><published>2009-02-15T11:12:00.006+01:00</published><updated>2009-02-15T11:35:30.357+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-15T11:35:30.357+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tutorials" /><title>Admin Widget</title><content type="html">In my &lt;a href="http://beautifulbeta.blogspot.com/2009/02/removing-blogger-navbar.html" title="Go read this post"&gt;last post&lt;/a&gt; I taught you how to remove the ugly Blogger navbar from the screen. One minor setback is that now you don't have access to your dashboard, settings, layout and posts, because the navbar is gone.&lt;br /&gt;&lt;br /&gt;In this post you will learn how to add an &lt;b&gt;Admin Widget&lt;/b&gt; to your sidebar.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Step 1: Backup your template&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;Although this is not a very risky modification, it is always good practice to backup your template before modifying it.&lt;br /&gt;Go to the Layout|Edit HTML-tab, and download your template as an XML-file and save it to your harddisk.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Step 2: Create an new Link Widget in your sidebar&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;From the Layout|Page Elements tab Add a Widget to your sidebar. Select the link-widget from th list. Set the title for example to &lt;b&gt;Admin&lt;/b&gt;, and add 4 links to the list.&lt;br /&gt;&lt;pre&gt;Dashboard       : http://www.blogger.com/home&lt;br /&gt;Change Settings : http://www.blogger.com/blog-options-basic.g?blogID=####&lt;br /&gt;Change Layout   : http://www.blogger.com/rearrange?blogID=####&lt;br /&gt;Edit Posts      : http://www.blogger.com/post.g?blogID=####&lt;br /&gt;New Post        : http://www.blogger.com/post-create.g?blogID=####&lt;br /&gt;&lt;/pre&gt;In this links you have to change the ####### to the ID of your Blog. The easiest way to do this is to go to your dashboard, and view the list of your blogs. Hover your mouse over the links (Layout, Settings, etc) and watch the status-bar of your browser. You will see the link there. The easiest way is to right-click each link, copy the hyperlink, and paste it into the link widget.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Step 3: Save&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;Save the Widget and display your Blog. If you are viewing your Blog, clicking one of the Admin links will bring you to the appropriate screen. Visitors of your Blog will not be able to modify it, because they are not logged in to your blog. If you are not logged in, clicking an admin-link will bring up the Blogger login screen.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/934829683866516411-7384573514428369030?l=beautifulbeta.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/beautifulbeta/~4/wvadRIAJoVE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://beautifulbeta.blogspot.com/feeds/7384573514428369030/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://beautifulbeta.blogspot.com/2009/02/admin-widget.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/934829683866516411/posts/default/7384573514428369030?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/934829683866516411/posts/default/7384573514428369030?v=2" /><link rel="alternate" type="text/html" href="http://beautifulbeta.blogspot.com/2009/02/admin-widget.html" title="Admin Widget" /><author><name>Hans</name><uri>http://www.blogger.com/profile/02078382171984328010</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/_JM8-yOL0YAY/SZkmEBkUvmI/AAAAAAAABG0/4_GnFZucG4Q/S220/hacker.gif" /></author><thr:total>3</thr:total></entry></feed>

