Performing a Substring Calculation

C

compupix

I hope I'm in the right group for this.
I'm using Google's Picasa program to create formatted webpages of
my images. Picasa acts on html and tpl files as it creates the final
html pages.

I have found one variable that I would like to chop. The variable is
referred to as <%itemName%>.

I think the operation that I would like to perform is
"substring(<%itemName%>, 1, 8)."

Is it okay to include an operation like this in one of the html files
that gets "included?"
How do I get the substring operation to be executed by the program that
is assemblying the final product instead of just passing it on to the
final html coded page?

Thank you very much,
Drew Faber
 
P

Peter Flynn

I hope I'm in the right group for this.
I'm using Google's Picasa program to create formatted webpages of
my images. Picasa acts on html and tpl files as it creates the final
html pages.

I have found one variable that I would like to chop. The variable is
referred to as <%itemName%>.

I think the operation that I would like to perform is
"substring(<%itemName%>, 1, 8)."

Is it okay to include an operation like this in one of the html files
that gets "included?"
How do I get the substring operation to be executed by the program that
is assemblying the final product instead of just passing it on to the
final html coded page?

What has this got to do with XML?

///Peter
 
D

Drew

One of Picasa's folders was labeled XML. I presumed it used XML. I
don't know what Picasa uses as it compiles HTML pages.
My question remains, how do I tell PIcasa to use just part of the
itemName instead of the whole thing... at least when displaying it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,001
Messages
2,570,254
Members
46,849
Latest member
Fira

Latest Threads

Top