Setting HTML text with applescript
I am trying to set this text in apple script but I keep getting the error message "Expected expression ) but found <". Here is the code:
set theText to (<title>ArticleTitle</title> & return & <dc:creator>admin</dc:creator> & return & <content:encoded><![CDATA[ArticleSource & return & return & ArticleDescription & <a href="ArticleURL">More</a> & </content:encoded> & return <excerpt:encoded><![CDATA[]]></excerpt:encoded> & return <wp:post_date>ArticleDate</wp:post_date>)
OS X Mountain Lion (10.8.2)