How to change a few things


Author Message
BGI

Posted: 12/22/2009
Quote message 

Hi: it is there a way to toggle that ugly arrow icon in the "archive" block?
And: how to add a "continue" link under a chunked article?
 
Sylvain

Posted: 12/22/2009
Quote message 

For the "continue" link, add <!-- more --><!--more--> in the file in source mode. One with a blank space on each side of the word more and the other without any space.

One if these is for Windows Live Writer and the other is for Blogger.

 
BGI

Posted: 12/22/2009
Quote message 

Not sure what you mean as for "source mode". And: how can I place the "more" snippet in the same row of the "text, link, comment" links?
 
Sylvain

Posted: 12/22/2009
Quote message 

Hum, you know the old saying: -- easy question, difficult answer.

If you don't know what is the "source mode", I might have some trouble explaining it to you.

The answer depends on the method that you are using to edit your posts. If you are using Windows Live Writer, click on tab "Source" at the bottom of the editing window.

If you are using the Compose feature of Blogger, first, you should stop doing that and switch to something else better like Windows Live Writer (free, my recommandation), Blogdesk (free), Blogjet (small price) or anything else. Second, if you want to keep using Compose, click on the "Edit HTML" tab to enter the <!-- more --> (with a blank space on each side of the word "more").

Note: if you switch away from Compose, you might have to change the setting "Convert Line Break to </br>" to False if it is set to True in the settings of your blogue; otherwise you will get a lot of blank lines when displaying your posts.

 
BGI

Posted: 12/22/2009
Quote message 

Oh well... I'm applying for Blogger; do you think perhaps it is better to post the xml?
(and, when artisteer will add also the "more" feature?)
 
Sylvain

Posted: 12/22/2009
Quote message 

Artisteer or the template (the xml) have nothing to do with the "more" feature as this is something relating to the chunked article itself. (Both for its presence and its exact location).

This is something that you put inside your article and you might chose to not put it with some of your articles.

Also, I'm not sure if you have understood what I've said about Windows Live Writer, Blogdesk and Blogjet. These are not blogging platform like Blogger but they are used to write/compose your posts/articles before publishing them to your blog.

Finally, for your question about moving the "more" snippet, this would be a more or less difficult task involving some advanced modification to the XML template (if it's doable).
 
Sylvain

Posted: 12/22/2009
Quote message 

Good new!

I've just took a look at the Edit Posts (or Compose) feature of Blogger and there is a button "Insert Jump Break" at the far right of the toolbar; the one that looks like a piece of paper split in two parts. This is the function that you are searching on BLogger.
 
Merliy

Posted: 12/23/2009
Quote message 

The button "Insert Jump Break" just is available if you use the "New editor". You can select it in the settings.
 
BGI

Posted: 12/23/2009
Quote message 

Quote Sylvain:
This is something that you put inside your article and you might chose to not put it with some of your articles.

Many CMS work this way; insert a command to chunk a given article in direct input. Anyway, in the blogroll, in order to avoid incledibly long pages, I was aware that it was possible to instruct the index template in order to do so that all articles run in sequence one after another on the blogroll, will be featured chunked at a given line's lenght, sporting the "continue" link leading to the full article. I'm aware that this can be done, 'cause I've seen some templates made by others enabling this feature (e. g. http://btemplates.com/2009/12/06/outubro/demo/), but I wasn't able to scope the code which does this.

Merliy: excuse me, which "settings" are you referring to?
 
Merliny

Posted: 12/23/2009
Quote message 

I'm working with the german version, I don't know how is the name in the english version. Therefore I've linked a screenshot, where you can see what I mean.

http://www.abload.de/img/new_editor30mw.jpg
 
Merliny

Posted: 12/23/2009
Quote message 

Maybe the following article can solve your problem:

http://buzz.blogger.com/2009/09/you-might-as-well-jump.html
 
BGI

Posted: 12/23/2009
Quote message 

Ah, you meant the settings in the Blogger's online editor? I've mistaken it for a setting in Artisteer!

Yes, I know what meant the article

http://buzz.blogger.com/2009/09/you-might-as-well-jump.html

Did you seen the outubro template, anyway? It seems that its inventor has hardcoded some stuff in it, in order to get the articles already cunked; perhaps a peek at the xml code may solve the curiosity? (I don't know where to look for that)
 
Sylvain

Posted: 12/23/2009
Quote message 

There is no need to use the method of buz.blogger anymore because this feature is now builtin in the Blogger's online editor.

Look at the last button at the far right on the toolbar or if you are using the latest beta version of the editor - the Draft mode -, look at the second button from the right.

In all case, you're losing your time if you keep using the Blogger's online editor instead of an offline desktop blogging editor such as Windows Live Writer (free, my recommendation), Blogdesk (also free) or Blogjet (not free).

I'll try to quickly cook an article on how to use the MORE feature of Blogger with or without Windows Live Writer today or tomorrow on my blog.
 
BGI

Posted: 12/23/2009
Quote message 

Sylvain.... thanks for the hints, but... I wouldn't seem bothering or unpolite, but I would like to ask if someone could take a look at the template of the link which I posted: perhaps therein there's an answer to a much more general question about how to put the chunking command directly inside the template without chunking each article every time.
 
Sylvain

Posted: 12/23/2009
Quote message 

@BGI: I've just took a look at the Outubro Blogger Template and probably that they ask the poster to either enclose the summary inside a separate <div> - like the old method of create a MORE button on Blogger using Conditional CSS - or they are using some sort of script to grab the first image and the first characters of the port when this is the frontpage.

A third method that you'll see sometime is an AJAX script that will ask for the feed - preferably in JSON format - using the standard Google API and extract the required information. I really don't like this third method because when you start to use it on more than one or two widget, you blog usually slown down to a crawl.

You can easily add programmation to the Blogger template if you know how to but this is heavy stuff; even for me but if you want to, here are some reference:

1- The classical of using Conditional CSS for creating post summaries; using the new XML templates of Blogger:

http://beautifulbeta.blogspot.com/2009_02_01_archive.html

2- The previous site BeautifulBeta has a lot of information on programming Blogger and you should take a deep look at it but here also another very good one:

http://www.blogdoctor.me/

In all cases, programming Blogger is not an easy task. Myself, I don't lose much of my time with that.


 
BGI

Posted: 12/25/2009
Quote message 

So you didn't found any snippet inside the template, instructing the feeds to be chunked?
 
Sylvain

Posted: 12/26/2009
Quote message 

No, I didn't see anything inside the page in the browser side.

However, I cannot tell you anything about the template itself as this would require to buy it and take a look at its code.

At this moment, it's impossible to tell you if this operation is done manually or automatically.
 
BGI

Posted: 12/27/2009
Quote message 

To buy it? But... why? I downloaded it! It is free!
 
Sylvain

Posted: 12/27/2009
Quote message 

Oh, duh, there are so many web sites selling templates that I forgot to check.

I've just took a look at the template and there is a javascript function that got called when the frontpage is displayed:

Case for the frontpage:

<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><p><data:post.body/></p></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script></b:if>


Case for an item (or full article):

<b:if cond='data:blog.pageType == &quot;item&quot;'><p><data:post.body/></p></b:if><div style='clear: both;'/></div>


The function createSummaryAndThumb is the one that is making the chop: it check if there is an image or not, insert it and then call the function removeHtmlTag(). The second parameter to this function is the length that the text will be chopped to and is indicated by the value of either summary_noimg or symmary_img; defined earlier in the code.

summary_noimg = 200;
summary_img = 250;

Even when they are chopped, the full text of the article is transmitted; excerpt for the case when the <!-- more --> option is used.

You can Copy&Paste this code but personnally, I would remove the superfluous <p> that have been added around the <data:post.body/> :

<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script></b:if>

<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if><div style='clear: both;'/></div>

The <div expr:id='&quot;summary&quot; + data:post.id'> might also possible conflict with the Artisteer template; you will have to check.



 
BGI

Posted: 12/27/2009
Quote message 

I've smelled that there could be the snippet for this... hope that the coders of Artisteer will take in account this. For istance I'll try both solutions. Thank you very much Sylvain! :-)
 
fake geek

Posted: 2/13/2010
Quote message 

I love Microsoft Live Writer! Been using it for months. If I bought Artisteer, will Microsoft Live Writer recognize it as my new template?
Quote Sylvain:

Hum, you know the old saying: -- easy question, difficult answer.

If you don't know what is the "source mode", I might have some trouble explaining it to you.

The answer depends on the method that you are using to edit your posts. If you are using Windows Live Writer, click on tab "Source" at the bottom of the editing window.

If you are using the Compose feature of Blogger, first, you should stop doing that and switch to something else better like Windows Live Writer (free, my recommandation), Blogdesk (free), Blogjet (small price) or anything else. Second, if you want to keep using Compose, click on the "Edit HTML" tab to enter the <!-- more --> (with a blank space on each side of the word "more").

Note: if you switch away from Compose, you might have to change the setting "Convert Line Break to </br>" to False if it is set to True in the settings of your blogue; otherwise you will get a lot of blank lines when displaying your posts.


:-{}