вторник, 9 декабря 2008 г.

Скрипты для расширяющегося контента

Есть еще Also check out: Floating Menu | Toggler minigame | Peeptin minigame | More
Найдено по ссылке от Everything About Labels in Blogger

Группировка меток по категориям Blogger

В перовой же ссылке есть снипеты Category buton in Label List Have a look at :

http://betabloggerfordummies.blogspot.com/2008/03/how-to-classify-blo...

★Vin - Official Blog*Star 2007-2008★
http://betabloggerfordummies.blogspot.com
http://seoblogadsense.blogspot.com
http://widgetry.blogspot.com
http://tipsforbloggers.blogspot.com

Платный "темогенератор" для Blogger

Платный конструктор тем, можно использовать идеи

Облако тегов для Блоггера

Информация из блога коллеги-блоггера: "Здесь я расскажу, как установить в блоггере "облако тегов" вместо списка категорий, предлагаемого по умолчанию. Информация стырена отсюда." В комментариях говорят о подмножестве XML - GML http://google.com/2005/gml

понедельник, 8 декабря 2008 г.

Еще шаблоны для блоггера

Сайт очень хорошо оформлен, шаблоны смотрятся очень хорошо. Есть с нейронами. Кроме того, я нашел его по запросу editUrl, искал, как вставить быстрое редактирование в шаблон.

воскресенье, 23 ноября 2008 г.

Рекомендации по скорости загрузки для Blogger

1. Уменьшить количество постов на странице.
2. Явускрипт - на дно страницы (на дно сайдбара).
3. Стили - наверх
4. Картинки - из Picasa, размеры превьюшек уменьшить.
5. Проверять скорость загрузки разных частей сервисом Stopwatch
6. Важный контент грузится первым.

суббота, 22 ноября 2008 г.

2. Как устроен Widget

Описание дано в Widget Tags for Layouts 1
Тут есть:
<*b:includable id='main' var='thiswidget'>
[insert whatever content you want here]

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'>
name='post' data='i'/>



<*b:includable id='post' var='p'>
Title:

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:includable in 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 var attribute in the includable.
<*b:loop var='i' values='data:posts'>
<*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

Итак, XML, для web-мастера, я знаю довольно прилично, а потому хотел просто найти описания пространств имен, используемый в шаблонах Блоггера. Странно, стыдно, не удалось...
Что делать?
1. Прочитать весь хелпер "для чайников".
2. Найти (уже нашел) примеры разработки и описания шаблонов у других блогеров.
А что делать? ...Поехали (пишу конспект).
Нашел (ссылки ниже):
Пространство имен b: описывает разделы (секции) страницы

*b*:section id='header' class='header' maxwidgets="1" showaddelement="no">

Blogger name space

Решаю, наконец, дурацкий вопрос: где найти описание пространства имен (схемы) Blogger b: data: exp..r:
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 г.

Португальские темы

Помимо тем есть еще интересные ссылки на CSS ресурсы и сервисы. Время 21-00, разбираться некогда..., так что запомним этот сайт...

вторник, 18 ноября 2008 г.

понедельник, 17 ноября 2008 г.

Хорошее оформление блога Blogger

Хорошее оформление блога Blogger

Про футер из трех колонок и похожие посты в конце

....Затем в своём коде вы находите вот такой вот маленький фрагмент:
</b:skin>

И сразу прямо над строкой в которой он расположен вставляете это:


#footer-column-container {
clear:both;
}

.footer-column {
padding: 10px;
}

Можете предварительно нажать "просмотр", на всякий случай, если вы где-то ошиблись.
Скорее всего ошибка, если вы её допустили, будет заметна.
Сохраняете шаблон, идёте в элементы страницы и видете места для новых трёх виджетов в вашем футере.
Затем можно заменить на более удобоваримый цвет (то что выделено красным), если этот вам не подойдёт. Код можно посмотреть в таблице цветов.

Мне, кстати, не понравилось в данном коде то, что он расставляет виджеты почти по всей ширине страницы (ведь не все блоги растянуты по всей ширине страницы, некоторые расположены по её центру).
Чтобы убрать этот разброс поменяйте "90%" (то что выше выделено синим) на 80 или 70.
Всё, наслаждайтесь, придумывайте что вам запихнуть в новые футеры.

В CSS я особо не разбираюсь, и если что-то и понимаю, то только благодаря моему примитивному знанию английского языка. Поэтому этот код я придумал не сам, а взял отсюда. Не знаю, законно ли это, но никакого слова вроде "copyright" я там не нашёл, так что будем считать что автор поста разрешил себя копировать, тем более что я ссылаюсь на неё.

Предлагаю ознакомиться с аналогичными статьями:

Add Widget API (ссылки на widget tag guidelines)

he Layouts feature of Blogger opens up all sorts of new possibilities for people to customize their blogs in interesting ways. And even better, you can design new widgets or modules for others to add to their own blogs.
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).
Now that we've got the basic idea, let's take a look at a more interesting example.
<input type="hidden" name="widget.template" value="<data:content/> />
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

Widget for menu bar in blogger

Очень полезный пост, поскольку объясняет еще и XML, надеюсь найти в персой ссылке описание пространства имен Bloger
Step1: Locate these sections:
For the Header:b:section class='header' id='header' maxwidgets='0' showaddelement='no'>
For the Crosscol: b:section class='crosscol' id='crosscol' showaddelement='no'>

Step2: Change the codes above into these:

For the Header: maxwidgets='5' showaddelement='yes'>

For the Crosscol: showaddelement='yes'>
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.
(For an example of Blogger menu bar with CSS definitions, visit this site: Much Ado About Nothing.)

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

Автор подробно описывает свои мытарства по осовению XML шаблона. Однако, меню отформатировано паршиво (но правильно).
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

Вот 4-х колоночный шаблон для блоггера (два варианта ширины колонок)4 column New Blogger xml template with sidebar widths = 163, 163 and 164 pixels, main column 450 pixels.
Подсказка: Чтобы поменять разрешение экрана, можно набрать в строке адреса javascript:top.resizeTo(800,600) и нажать на Enter...

вторник, 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)


  1. Can I edit the HTML of my blog's layout?
  2. Page Elements Tags for Layouts
  3. Layouts Data Tags
  4. Fonts and Colors Tags for Layouts
  5. 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:

  1. Get familiar with the Google Data APIs.
  2. Read the Blogger Data API Developer's Guide.
  3. 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

Mac OS X

Web Apps

Linux

Mobile/PDA

Misc

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