just the path/name of the logo

Hi all!!!

With the balise #LOGO_RUBRIQUE I get the code:
<img src="IMG/rubon1.jpg" alt="" width="1036" height="36" class="spip_logos" />

How can I get just the code:
IMG/rubon1.jpg

?

Thank you!
tereza

[(#LOGO_RUBRIQUE|fichier)]

(SPIP’s Filters - SPIP)

.G
---
On Fri, Feb 15, 2008 at 4:22 AM, Tereza Loparic <telopa@gmail.com> wrote:

Hi all!!!

With the balise #LOGO_RUBRIQUE I get the code:
<img src="IMG/rubon1.jpg" alt="" width="1036" height="36" class="spip_logos" />

How can I get just the code:
IMG/rubon1.jpg

?

Thank you!
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Hi,

I think there is now a #FICHIER tag that will give you that. You can also try:
[(#LOGO_RUBRIQUE||extraire_attribut{src})]

(the filter extraire_attribut will extract the particular html attribut from the html tag generated by SPIP)

Pierre

Tereza Loparic wrote:

Hi all!!!

With the balise #LOGO_RUBRIQUE I get the code:
<img src="IMG/rubon1.jpg" alt="" width="1036" height="36" class="spip_logos" />

How can I get just the code:
IMG/rubon1.jpg

?

Thank you!
tereza