how to combine strings to get more info into an rss feed
When creating an rss feed, we only have 4 fields to use, date, title, content and link. How can i combine two fields creating one field out of two?
When creating an rss feed, we only have 4 fields to use, date, title, content and link. How can i combine two fields creating one field out of two?
You could just modify the query accordingly. Do something like
<!--- I am on MySQL, hence concat()--->
<cfquery name="TestQuery" datasource="#application.dsn#">
SELECT dev_ID, display_date, title, body, scripture, concat(title,'<br />',scripture) as extendedTitle
FROM devotional
where display_date = <cfqueryparam value ="#dateformat(now(), "YYYY-MM-DD")#" cfsqltype="cf_sql_date">
</cfquery>
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.