Показаны сообщения с ярлыком справочник. Показать все сообщения
Показаны сообщения с ярлыком справочник. Показать все сообщения

суббота, 30 апреля 2011 г.

Школа CSS, js, jQuery, PHP, HTML, XML...


Здесь не только учебники, справочники... но и "живые" примеры, которые можно использовать для отладки кода. Слов нет, как удобно. Клик по картинке - и попадешь на jQuery.

понедельник, 18 апреля 2011 г.

Делаем подкасты - формат iTunes

Это не пошаговая инструкция "на какие кнопки нажимать". Это подробное описание тегов XML- файла от ITunes. В руководстве написано, что для создания подкастов можно использовать большое количество программ. Однако, на полях стоят ссылки на описание программы
GarageBand — это полноценная виртуальная музыкальная студия, позволяющая создавать собственную музыку и делиться своими творениями со всем миром. В GarageBand можно создавать песни, рингтоны, подкасты и другие типы проектов. Справка GarageBand

среда, 13 апреля 2011 г.

Как добавить регулировку цветов (фона, границы, шрифта) в дизайнер шаблонов Blogger

При вставке js меню Sooperfish в "родной" шаблон Блоггера ("Простой", если не путаю) захотелось настроит автоматический подбор цветов (такой же, как и для виджетов). Заодно дошли, наконец, руки до того, чтобы разобраться с тем, как использовать   переменные Blogger для CSS-стилей. Внизу результаты работы. В видео ролике подробности.
<Group description="SfTitle" selector="ul#nav li a ">
<Variable name="SF.text.font" description="Font" type="font"
default="normal bold 16px Arial, Tahoma, Helvetica, FreeSans, sans-serif" value="normal normal 16px Georgia, Utopia, 'Palatino Linotype', Palatino, serif"/>
<Variable name="SF.text.color" description="Text Color" type="color" default="$(body.text.color)" value="$(link.color)"/>
</Group>
<Group description="SFishMain" selector="ul#nav li">
<Variable name="SFishM.background.color" description="Background Color" type="color" default="$(widget.background.color)" value="$(widget.background.color)"/>
<Variable name="SFishM.border.color" description="Border Color" type="color" default="$(widget.border.color)" value="$(widget.border.color)"/>
<Variable name="SFishM.border.bevel.color" description="Bevel Color" type="color" default="$(widget.border.bevel.color)" value="$(widget.border.bevel.color)"/>
</Group>

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

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

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

суббота, 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, разбираться некогда..., так что запомним этот сайт...

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

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

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

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

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

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