|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: |
<cffeed source="http://rss.news.yahoo.com/rss/world" query="feeditems">
<cfoutput query="feeditems"><br />
<cfquery name="qStory" datasource="daily-news">
select pubdate
from story
where title = '#trim(feeditems.title)#'
and catid = #catid#
</cfquery>
<!--- Example image path and src values below --->
<!--- Note the < preceding the img. -->
<img src="http://d.yimg.com/a/p/ap/20090830/capt.c6dc2bf1604347cc94d5258779fd5c65.china_myanmar_xhg106.jpg?x=130&y=86&q=85&sig=jWbG4FEQuphsL_zAvjm.uw--" align="left" height="86" width="130" alt="Chinese paramilitary police patrol the grounds of a temporary refugee camp set up by the Chinese government to house Myanmar refugees in Nansan in southwestern China's Yunnan province, Saturday, Aug. 29, 2009. Thousands of refugees have fled across the Chinese border to escape fighting between government troops and ethnic militia in Myanmar's Kokang region. (AP Photo/Ng Han Guan)" border="0" />
<cfset pubdate = '#dateformat(qStory.pubdate,"m/dd/yyyy")# #timeformat(qStory.pubdate,"hh:mm:ss tt")#'>
<cfif NOT qStory.RecordCount>
<cfif FindNoCase("<img", feeditems.content)>
<cfset images = 1>
<cfelse>
<cfset images = 0>
</cfif>
<cfquery name="qStoryinsert" datasource="daily-news">
insert into story
(catid,title,posted,pubdate,content,rsslink,images)
VALUES
(#CatInfo.catid#,'#trim(feeditems.title)#', #NOW()#, '#gmtDate#', '#feeditems.content#','#feeditems.rsslink#', #images#)
</cfquery>
</cfif>
<!--- Get the saved stories based on the category id (pk) --->
<cfquery name="ShowStory" datasource="daily-news">
select *
from story
where catid = #catid#
order by id desc
</cfquery>
<!--- Simplified output --->
<cfoutput query="ShowStory">
#title#<br>
#content#<br>
</cfoutput>
|
Advertisement
| Hall of Fame |