Tuesday, August 10, 2010

Dirt Bike Pary Favors

Blog Seminar # 9 - metadata and Blogroll

In ninth part of the seminar blog is about Metaangaben to articles and the Blog Roll.

metadata
Unfortunately, the options for Blogspot not as flexible as Wordpress. So lacking in Blogspot for example, the entry for the author of an article. It is on Blogspot simply not envisaged that there are multiple authors for a blog. As far as I
are there to look the other Metaangaben in all Blogspot designs included. This can also edit in HTML editor for design. However, you should know what you're doing there. It is also not pure HTML, but an XML code is translated by the Blogspot server to HTML.

The date of an article is displayed on Blogspot by JavaScript. Sounds strange, but Sun First, the date from a timestamp is generated and then displayed. The code at issue is as follows:

\u0026lt;div class='date'>
\u0026lt;script type='text/javascript'>
var timestamp = " " \u0026lt;data:post.timestamp/>;
if (timestamp! = ' ') {
hours were split = timestamp.split (", ");
; was date_yyyy hour = split [2];
was time-split time = split [1]. split (" ");
; was date_dd time = split [2];
was date_mmm time = split [1 ];

} \u0026lt;/ script>
\u0026lt;span> \u0026lt;script type='text/javascript'> document.write (date_dd + & # 39 ;. ' + + date_mmm date_yyyy) \u0026lt;/ script> \u0026lt;/ span>
\u0026lt;/ div>



categories and tags are united on Blogspot in the so-called labels. Here it also appears to XML code.

\u0026lt;div class='postdata'>
\u0026lt;span class='category'>
\u0026lt;b:if cond='data:post.labels'>
\u0026lt;b:loop style='color:red' values='data:post.labels' var='label'>
; \u0026lt;a expr:href='data:label.url' expr:title='"View all posts in " data:label.name' rel='tag'> + \u0026lt;data: label . / name> \u0026lt;/ a> \u0026lt;b:if cond='data:label.isLast != "true"'>, \u0026lt;/ b: if>
; \u0026lt;/ b: loop>
; \u0026lt;/ B: if>
\u0026lt;/ span>
\u0026lt;/ div>


Both codes can be positioned at the point where you want to view them. As mentioned above, one should know what you are doing. The XML templates of the blogspot one should first design study and understand.

Blogroll
Blogspot is a widget sidebar for links available. To link to create categories, you have to use the widget several times and each have a different title awarded. Comfortable is not, unfortunately. If you want to display the blogroll on a separate page, this page must be manually create and maintain the links there by hand. Then, however, has the same configuration options as in Konnas Blogroll or my linked page .

These were the tasks of episode # 9 of the video seminar. I must confess that I have made this episode the most work. The possibilities of XML templates even go very far, but in my opinion for HTML beginners or lay quite complicated. I also had only then plow through until I found all the bodies. My advantage was that I already knew how to Blogspot in Prinizp work.
I find it a pity that no simple Blogspot provides tags for metadata, which would be possible by XML. Then everything would be easier than Wordpress, and for lay people to understand quickly and feasible. At the moment you feel the template editing but rather as if someone is walking on thin ice. Man to be very careful what you change where and always feel a latent insecurity in the processing. I therefore recommend that a port is to practice a second blog, which can be a "sandbox" use. I hope I could make many a heart, just to dare to even jump into the deep end. With the XML code you can do a lot and maybe even designing The reader even a completely custom template.

I wish you every success in exploring the Blogspot codes.

(ix)