Create HTML file from rev app

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Aug 25 04:19:25 EDT 2010


Hi William,

You got it almost right:

"<a href="& quote & "http://"  & fld "link" & quote & " target=" & quote & "_blank" & quote & " >" & fld "link" &"</a><br/><br/>" after tData


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

From 15th August, we'll have time for new projects! Be the first in line and contact me now!

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 25 aug 2010, at 10:03, William de Smet wrote:

> Hi there all,
> 
> It's been a while since my last question but working hard on some apps.
> For my daily job I needed a quick app to create a HTML file. In the
> app I have some fields and in one of them I put a URL (just
> www.domainname.com).
> In some hidden fields I put the needed HTML and the all come together
> when I save the file.
> All works fine but when I look at the sourcecode in IE8 or Safari the
> HTML isn't completely correct.
> In a link it misses the quotes (") at the beginning or the end of the URL.
> 
> What I do is this:
> put  "<a href="& "http://"  & fld "link" & "  & target="& _blank &" >"
> & fld "link" &"</a>" &  "<"&"br/"&">"  &  "<"&"br/"&">" after tData
> 
> I also tried this but that doesn't works either:
> put  "<a href="& """ &"http://"  & fld "link" & """ &"  &
> target="& """ & blank & """ &" >" & fld "titel" &"</a>"
> after tData
> (the " isn't translated then into a quote)
> 
> I start the HTML file with:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> 
> 
> Anyone knows why I don't get the qoute?
> And is there a way to get them?
> 
> 
> Greetings,
> 
> William




More information about the use-livecode mailing list