Using variable in Yahoo Calendar url link

Anybody has experience using the following link to add an event to the
Yahoo Calendar?

http://calendar.yahoo.com/?v=60&ST=20080105T1400&ET=20080105T1500&title=Event%20Name&desc=note%20field&RPAT=1mh

This works. But when I try to replace value of a field such as title
with <%= title %> it either log me into my.yahoo.com or complains of url
format issue. I believe this is a Yahoo issue but I have not gotten a
response from the Yahoo board yet. Just wonder if anybody on this forum
knows the solution. Thanks!

Have a look at the source of the page in your browser and see what url
you are generating (View, Page Source in FF for example). The browser
does not know that you are generating the url using <%= ... %> so if
you end up with the same text it must work. If it complaining of a url
format issue then you have probably got it wrong.

Colin