Re: how can i get links (link list widget) in widget blog

44 views
Skip to first unread message
Message has been deleted

Soraya Lambrechts [fr-BE]

unread,
Jun 11, 2019, 3:27:21 AM6/11/19
to Forum Blogger Ambassade Francophone
Hi,

data:links is not a data from the Blog gadget.
A common code does not have the power to move values from gadget to another gadget.

<b:defaultmarkups>
      <b:defaultmarkup type='Common'>
        <b:includable id='myLinks'>
          <ul>
            <b:loop values='data:posts ?: data:links' var='foo'>
              <li>
                <a expr:href='data:foo.url ?: data:foo.href'>
                  <b:eval expr='data:foo.title ?: data:foo.name'/>
                </a>
              </li>
            </b:loop>
          </ul>
        </b:includable>

      </b:defaultmarkup>
    </b:defaultmarkups>


;)

Abdo

unread,
Jun 11, 2019, 3:35:08 AM6/11/19
to Forum Blogger Ambassade Francophone
why A common code does not have the power to move values from gadget to another gadget?

I want to know if there is a way to pass values from one tool to another؟

Soraya Lambrechts [fr-BE]

unread,
Jun 11, 2019, 3:54:56 AM6/11/19
to Forum Blogger Ambassade Francophone
Because the code is an empty container and the gadget is the tap.

When the tap is open, the good containers fill up.


;)
Message has been deleted

Soraya Lambrechts [fr-BE]

unread,
Jun 11, 2019, 4:52:16 AM6/11/19
to Forum Blogger Ambassade Francophone
b:js is an experimental feature. Users are not supposed to use it.
This blog is a laboratory for the Blogger team. I'm not allowed to talk about projects... ;)

Abdo

unread,
Jun 11, 2019, 4:57:50 AM6/11/19
to Forum Blogger Ambassade Francophone


بتاريخ الثلاثاء، 11 يونيو، 2019 10:52:16 ص UTC+2، كتب Soraya Lambrechts [fr-BE]:
b:js is an experimental feature. Users are not supposed to use it.
This blog is a laboratory for the Blogger team. I'm not allowed to talk about projects... ;)


Ok.. Ms Soraya

There is another question.

How can I split string or delete a character from string? pure xml

Soraya Lambrechts [fr-BE]

unread,
Jun 11, 2019, 5:14:18 AM6/11/19
to Forum Blogger Ambassade Francophone
If the length of the string is greater than 50, you can remove the last character.

<b:eval expr='data:foo snippet { length: (data:foo.size - 1), ellipsis: false }'/>


To remove the 2nd half (minimum 100 characters / 2 = 50) :


<b:eval expr='data:foo snippet { length: (data:foo.size / 2), ellipsis: false }'/>

Abdo

unread,
Jun 11, 2019, 5:41:32 AM6/11/19
to Forum Blogger Ambassade Francophone


بتاريخ الثلاثاء، 11 يونيو، 2019 11:14:18 ص UTC+2، كتب Soraya Lambrechts [fr-BE]:

 
thank you so much
Reply all
Reply to author
Forward
0 new messages