[ubuntu-it-www] Re: Problema sulle news

Fabio Marzocca thesaltydog at gmail.com
Fri May 21 18:01:18 BST 2010


Riporto un "brano" del template che genera il feed. Come vedete,
l'hmtl-entity NON viene applicato sulla stringa del link, ma solo
sulle altre:

  {news assign='junk' number='20' category='Newsletter'}
    {foreach from=$items item='entry'}
    <item>
      <title>{$entry->title|html_entity_decode}</title>
      <link>{$entry->moreurl}</link>
      <description>{if
isset($entry->summary)}{$entry->summary|htmlentities|strip_tags|summarize:40}{else}{$entry->content|htmlentities|strip_tags|summarize:40}{/if}</description>
      <pubDate>{$entry->postdate|rfc_date}</pubDate>
      <guid>{$entry->moreurl}</guid>
    </item>
    {/foreach}
  </channel>
</rss>



2010/5/21 Fabio Marzocca <thesaltydog at gmail.com>:
> L'html-entity sul feed delle news del web viene effettuato anche per
> visualizzare correttamente i caratteri latini, sostituendo ad esempio
> "è" con "&egrave". Non capisco cosa succeda dopo.
>
> 2010/5/21 Fabio Marzocca <thesaltydog at gmail.com>:
>> No, il planet di gnome usa planet-web:
>> http://git.gnome.org/browse/planet-web/
>>
>>
>> 2010/5/21 luca <luca at innurindi.net>:
>>> Excerpts from Fabio Marzocca's message of ven mag 21 13:03:07 +0200 2010:
>>>> 2010/5/21 Leo Iannacone <leo.iannacone at gmail.com>:
>>>> > Forse è il caso di passare su un altra piattaforma (avevo proposto
>>>> > quello che usano in gnome, che per lo meno è attivo nello
>>>> > sviluppo...).
>>>>
>>>>
>>>> +1
>>>
>>> Se non è più mantenuto son d'accordo anch'io.
>>> Solo una curiosità: ma Gnome internazionale non usa ancora planetplanet?
>>> O ti stai riferendo a Gnome Italia?
>>>
>>> --
>>> luca, (ᴉ) innurindi
>>> Luca Padrin
>>> sistemi software
>>> email/jabber: luca at innurindi.net
>>> impronta gpg: 43D7 D917 B86A C6F2 B4B6 3B68 85FE 2372 3F0B B7DB
>>>
>>>
>>
>



More information about the Gruppo-web mailing list