Найдено по ссылке от Everything About Labels in Blogger
вторник, 9 декабря 2008 г.
Скрипты для расширяющегося контента
Найдено по ссылке от Everything About Labels in Blogger
Группировка меток по категориям Blogger
http://betabloggerfordummies.blogspot.com/2008/03/how-to-classify-blo...
http://betabloggerfordummies.blogspot.com
http://seoblogadsense.blogspot.com
http://widgetry.blogspot.com
http://tipsforbloggers.blogspot.com
Облако тегов для Блоггера
понедельник, 8 декабря 2008 г.
Еще шаблоны для блоггера
воскресенье, 23 ноября 2008 г.
Рекомендации по скорости загрузки для Blogger
2. Явускрипт - на дно страницы (на дно сайдбара).
3. Стили - наверх
4. Картинки - из Picasa, размеры превьюшек уменьшить.
5. Проверять скорость загрузки разных частей сервисом Stopwatch
6. Важный контент грузится первым.
суббота, 22 ноября 2008 г.
2. Как устроен Widget
Тут есть:
<*b:includable id='main' var='thiswidget'>
[insert whatever content you want here]
*b:includable>
Each widget must have one includable with id='main'. This will usually contain most or all of the content that will display for this widget, and in many cases it will be all you need. If you make more includables with different IDs, they will not be displayed automatically. However, if you make an includable with id='new', then you can reference it in your main includable with <*b:include name='new' /> and it will display that way.<*b:includable id='main'>
<*b:loop var='i' values='posts'>
*b:loop>
*b:includable>
<*b:includable id='post' var='p'>
Title:
*b:includable>
The attributes for the b:include tag are as follows:
- name: (Required) An identifier made up of letters and numbers. It must match the ID of an existing
b:includablein the same widget. - data: (Optional) An expression or peice of data to pass on to the includable section. This will become the value of the
varattribute in the includable.
<*b:loop var='i' values='data:posts'>
<*h2> *h2>
<*/b:loop><*b:if cond='data:post.showBacklinks'>True if the current post is set to show backlinks.<*b:if cond='data:blog.pageType == "item"'>True if the current page is an item page (post page).<*b:if cond='data:displayname != "Fred"'>True if this is not Fred's display name.<*b:if cond='data:post.numComments > 1'>True if the current post has more than one comment.
1. Как устроен (шаблон) Template Blogger
Что делать?
1. Прочитать весь хелпер "для чайников".
2. Найти (уже нашел) примеры разработки и описания шаблонов у других блогеров.
А что делать? ...Поехали (пишу конспект).
Нашел (ссылки ниже):
Пространство имен b: описывает разделы (секции) страницы
*b*:section id='header' class='header' maxwidgets="1" showaddelement="no">
Blogger name space
1. Ищем в Help Centre
2. По запросу namespace нашел blogdoctor.me Вещь, думаю, очень полезная, но мне нужно описание пространства имен...
3.Другие ссылки на хорошие (отличные) блоги:
★Vin - Official Blog*Star 2007-2008★
http://betabloggerfordummies.blogspot.com
http://seoblogadsense.blogspot.com
http://widgetry.blogspot.com
http://tipsforbloggers.blogspot.com
Однако, все это-блоги, полезная писанина продвинутых маньяков. Но я хочу основы...
Может быть - это просто Atom? Нет, и в описании формата нет гугловских пространств... Караул, я настолько глуп, что не могу найти описания? Пока почитаем блоги и хелпер по гаджетам, а вот ссылки из хелперп блоггера:
Сторонние приложения
С помощью одного из интегрированных в Blogger сторонних приложений ведение блога можно сделать еще проще. Не забудьте ознакомиться с code.blogger.com, если вы разработчик и хотите создать собственное приложение.Еще больше функций...
Мы постоянно разрабатываем новые функции для Blogger. Обо всех последних добавлениях и изменениях сообщается в Blogger Buzz. Если вы хотите использовать экспериментальную функцию, обратитесь к Черновику Blogger. Дополнительную информацию обо всех функциях Blogger можно найти на сайте справки по Blogger или в группе обсуждения. Чтобы увидеть сообщения других пользователей, зайдите в популярные блоги и Blogger Play. Надеемся, что вам понравятся результаты нашей работы.среда, 19 ноября 2008 г.
Португальские темы
вторник, 18 ноября 2008 г.
Склад тем Blogger
понедельник, 17 ноября 2008 г.
Про футер из трех колонок и похожие посты в конце
И сразу прямо над строкой в которой он расположен вставляете это:
clear:both;
}
.footer-column {
padding: 10px;
}
Можете предварительно нажать "просмотр", на всякий случай, если вы где-то ошиблись.
Скорее всего ошибка, если вы её допустили, будет заметна.
Сохраняете шаблон, идёте в элементы страницы и видете места для новых трёх виджетов в вашем футере.
Затем можно заменить на более удобоваримый цвет (то что выделено красным), если этот вам не подойдёт. Код можно посмотреть в таблице цветов.
Мне, кстати, не понравилось в данном коде то, что он расставляет виджеты почти по всей ширине страницы (ведь не все блоги растянуты по всей ширине страницы, некоторые расположены по её центру).
Чтобы убрать этот разброс поменяйте "90%" (то что выше выделено синим) на 80 или 70.
Всё, наслаждайтесь, придумывайте что вам запихнуть в новые футеры.
В CSS я особо не разбираюсь, и если что-то и понимаю, то только благодаря моему примитивному знанию английского языка. Поэтому этот код я придумал не сам, а взял отсюда. Не знаю, законно ли это, но никакого слова вроде "copyright" я там не нашёл, так что будем считать что автор поста разрешил себя копировать, тем более что я ссылаюсь на неё.
Предлагаю ознакомиться с аналогичными статьями:
- Ссылки на схожие сообщения в конце поста (related posts) - способ первый.
- Ссылки на похожие сообщения в конце постов. Как это реализовать? (Recent posts for blogger).
- Изменить отображение названия поста на странице.
- Stand-alone и RSS против ЖЖ, Ли.ру и других ограниченных самих собою сервисов.
- Домен для blogger без www и вместе с ним. Как заставить всё работать.
Add Widget API (ссылки на widget tag guidelines)
Here's the general concept: First, design your widget. Then, on your website, create a form that sends its results to Blogger. In that form you include the content of the widget you've created, and maybe some other optional information. When someone clicks the "submit" button on your form, they'll be taken to Blogger where they can add your widget into their blog's layout (like this).
Let's look at a simple example to start with. The following code provides the user with a single button, labeled "Add Blogger Buzz Widget." Clicking that will let them add a widget to their layout that links to the official Blogger Buzz blog.
You'll notice we used hidden input fields here, because we don't want the user to change any of the information; we want everyone to get the same widget. You could have easily used other kinds of form fields if, for instance, you wanted the user to enter a title for the widget themselves. It's the name attributes of the form fields that are important, rather than the type attributes.The important parts of the form are the following:
- form action="http://www.blogger.com/add-widget" - (Required) Your form must submit its information to this URL in order for it to be handled properly by Blogger. We recommend using the POST method to submit, but GET also works, if you don't have too much data in your widget.
- widget.title - (Optional) The title you specify will display in the user's Page Elements tab when they edit their layout. It will also be shown as part of the default widget template. The title can be up to 100 characters long, and may contain well-formed HTML.
- widget.content - (Required) This is the actual content of your widget, which will be displayed on the user's blog. It can include almost any well-formed code that you want, except for
<html>and<body>tags. Note, however, that you will need to escape the code, as in the example above (e.g."<""a"">"becomes<a>). - widget.template - (Optional) This should follow the widget tag guidelines. You can also use any of the globally available data tags. If no template is specified, it uses
as a default. - infoURL - (Optional) You can use this to specify a page on your site that describes your widget or gives other information about it. It will be used as a "more info" link on the setup page people see when adding your widget.
- logoURL - (Optional) You can add an image URL here, and the image will be displayed next to the "more info" link. It should be thumbnail sized (i.e. less than 100x100 pixels).
In this case, we went to Flickr.com to browse photos tagged with "puppy." Then we made a Flickr Badge out of it so we could display a stream of recent photos in the collection on our blog. Ordinarily, we would just take the badge code and put it in an HTML/Javascript widget on our own blog and we'd be done. However, here we decided to help out other people who might want to do the same thing. So we put the badge code into the widget.content section of this form, and added the Flickr logo and link. Now, anyone else can use this form to easily add puppy photos to their blog with the click of a button.And that's just the tip of the iceberg. From here, you can design anything else you like. Just be creative, have fun, and see what you can come up with!
P.S. If you want a nice little button to use on your form, try one of these:

http://www.blogger.com/img/add/add2blogger_sm_w.gif
http://www.blogger.com/img/add/add2blogger_sm_b.gif
http://www.blogger.com/img/add/add2blogger_lg.gif Blogger API for developers
If you are having other problems with Blogger or your blog, please see the Blogger’s help site or discussion group
Data API
Widget for menu bar in blogger
Step1: Locate these sections:
For the Header:b:section class='header' id='header' maxwidgets='0' showaddelement='no'>
For the Crosscol:
Step2: Change the codes above into these:
For the Header:
For the Crosscol:
Step3: Save the template and go back to the Page Elements tab. You will notice that new element boxes now appear. Now, you can add new widgets in these areas.
Step1: Create a new header page element. To do this, please refer to this post: New Header and Crosscol Elements.
Step2: Find the HTML section that is shown below and add the red-higlighted codes.
<div id='header-wrapper'>
<b:section class='menubar' id='menubar' maxwidgets='1' showaddelement='yes'>
<b:widget id='LinkList2' locked='true' title='Menubar' type='LinkList'/>
</b:section>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<
Step3: In the style sheet section of your template, add these CSS codes:
#menubar h2 {display:none;}
#menubar ul {
list-style: none;
}
#menubar li {
float: left;
}
#menubar a:link, #menubar a:visited, #menubar a:hover {
padding: 5px;
display: block;
color: $headerTextColor;
}
#menubar a:hover {
background-color: $headerCornersColor;
}
Step4: Save your template and go to the Page Elements tab. You will notice that a new page element box has been added above the header title. Click the Add a Page Element link and choose Link List as the new page element. You can now start linking pages from your blogsite posts or from other sites.
воскресенье, 16 ноября 2008 г.
Горизонтальное меню для Blogger
A blog reader asked for a menu bar, pointing to a website that gave instruction on how to do it. Unfortunately, the instruction wasn't clear and I have to experiment a bit on my own. You can see the result at New Zealand Guide. This blog uses the Hackosphere 3 column New Blogger template/div>
Шаблон (4 колонки) для Blogger
Подсказка: Чтобы поменять разрешение экрана, можно набрать в строке адреса javascript:top.resizeTo(800,600) и нажать на Enter...
пятница, 14 ноября 2008 г.
Blogger Tips and Tricks
- Our wise Blog*Stars have put together some other great resources that cover much more ground. Check them out!
Беспалтные сервисы статистики посещений (от Blogger)
5.) How can I tell how many people have visited my blog?
There are a number of sites that offer free services to help you track visits to your blog:
вторник, 11 ноября 2008 г.
Google Data APIs Samples
- Blogged Upon
- This sample demonstrates using Google's AJAX Search API to retrieve blog entries of interest and allows you to comment about them on your own Blogger blog. This sample uses the Blogger data API and the JavaScript client library.
- "Blog This" embedded blog editor
- Wouldn't it be great if people who read your webpage could post about it on their Blogger blogs without leaving your page? This sample shows how to write code using the JavaScript client library which does just that. It also includes a snippet of code which you can use in your website to enable this functionality.
- CalendBlogger Google Calendar to Blogger publisher
- Want to let all your blog readers know what you're up to in the next couple days? This sample allows you to publish events from your Google Calendar to your Blogger blog, using only client-side code and the JavaScript client library.
- blog.gears offline client for Blogger using Google Gears
- One of the major features of Google Gears is the ability to write dynamic webpages which work offline using JavaScript and a local database. This sample uses Gears to allow creating, editing and deleting posts while offline. See this YouTube video/screencast and this presentation about how the JavaScript client library and Google Gears enable this sample.
- blog.press JavaScript Blogger client
- This sample enables creating, editing and deleting blog posts while online, using only client-side code and the JavaScript client library. The interface for blog.press is very similar to blog.gears above, but works without Google Gears being installed.
Blogger Data API
Движок сделан на XML, что само по себе уже интересно. В движке используются, помимо default HTML еще несколько пространтсв имен xmlns: [b, data, expr] Описание b: и частично data: Widget Tags for Layouts (Expand Widget Templates)
- Can I edit the HTML of my blog's layout?
- Page Elements Tags for Layouts
- Layouts Data Tags
- Fonts and Colors Tags for Layouts
- How can I use the Blogger Layouts features?
If you're new to the Blogger Data API, here's how we recommend you get started:
- Get familiar with the Google Data APIs.
- Read the Blogger Data API Developer's Guide.
- Refer to the Reference Guide as needed.
суббота, 1 ноября 2008 г.
Дополнения для Blogger
The following is a list of cool third-party apps that integrate with Blogger in some way. Since these are third-party applications, standard disclaimers apply: your mileage may vary, you could experience data loss, we're not responsible if things go haywire, etc. If you come across any not on the list, please let us know.
Windows
- BlogJet
- BlogWizard
- Chrysanth WebStory
- Ecto
- NBlog
- PerfectJournal
- Photolightning
- PowerBlog
- RocketPost
- Semagic
- w.bloggar
- Zoundry
Mac OS X
Web Apps
- Audioblog
- batBack
- BlogAmp
- BloggerBox and WikyBloggerBox
- Blogger to FOAF
- Buzznet
- FeedBlitz
- FeedBurner
- Flickr
- FotoFlix
- Gabcast
- Lovento
- Photobucket
- Wikispaces
Linux
Mobile/PDA
Misc
- JS-Kit
- Chronicle Lite
- MozBlog
- RadioAtomBridge, for Radio Userland (Mac/Windows) ,
Related Links:
If you are a developer:
To use the Blogger API, third-party clients should point to the following location:
http://www.blogger.com/api